From db5ea5503d56c3b66ea8fca8857b4abbcb3dfc1f Mon Sep 17 00:00:00 2001 From: John Reilly Date: Sun, 20 Sep 2020 19:15:04 +0100 Subject: [PATCH 01/26] Feature/upgrade testpack to ts4 (#1189) * update badges * 3.9.3 -> 4.0.3 * create stub output * fix linting * update snapshots * always save outputs * regenerate * mark tsconfigNotReadable as flaky * delete old / unused test output * Run execution tests on multiple windows versions * Lint Ubuntu --- .github/workflows/push.yml | 20 +- .github/workflows/release.yml | 2 +- .travis.yml | 3 +- README.md | 4 +- package.json | 6 +- .../expectedOutput-1.6/bundle.js | 59 -- .../expectedOutput-1.6/output.transpiled.txt | 5 - .../expectedOutput-1.6/output.txt | 8 - .../expectedOutput-1.6/patch0/bundle.js | 59 -- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-1.6/patch0/output.txt | 8 - .../expectedOutput-1.7/bundle.js | 59 -- .../expectedOutput-1.7/output.transpiled.txt | 5 - .../expectedOutput-1.7/output.txt | 8 - .../expectedOutput-1.7/patch0/bundle.js | 59 -- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-1.7/patch0/output.txt | 8 - .../expectedOutput-1.8/bundle.js | 61 -- .../expectedOutput-1.8/output.transpiled.txt | 5 - .../expectedOutput-1.8/output.txt | 8 - .../expectedOutput-1.8/patch0/bundle.js | 61 -- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-1.8/patch0/output.txt | 8 - .../expectedOutput-2.0/bundle.js | 61 -- .../expectedOutput-2.0/output.transpiled.txt | 5 - .../expectedOutput-2.0/output.txt | 8 - .../expectedOutput-2.0/patch0/bundle.js | 61 -- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.0/patch0/output.txt | 8 - .../expectedOutput-2.1/bundle.js | 89 --- .../expectedOutput-2.1/output.transpiled.txt | 5 - .../expectedOutput-2.1/output.txt | 8 - .../expectedOutput-2.1/patch0/bundle.js | 89 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.1/patch0/output.txt | 8 - .../expectedOutput-2.2/bundle.js | 90 --- .../expectedOutput-2.2/output.transpiled.txt | 5 - .../expectedOutput-2.2/output.txt | 8 - .../expectedOutput-2.2/patch0/bundle.js | 90 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.2/patch0/output.txt | 8 - .../expectedOutput-2.3/bundle.js | 90 --- .../expectedOutput-2.3/output.transpiled.txt | 5 - .../expectedOutput-2.3/output.txt | 8 - .../expectedOutput-2.3/patch0/bundle.js | 90 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.3/patch0/output.txt | 8 - .../expectedOutput-2.4/bundle.js | 90 --- .../expectedOutput-2.4/output.transpiled.txt | 5 - .../expectedOutput-2.4/output.txt | 8 - .../expectedOutput-2.4/patch0/bundle.js | 90 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.4/patch0/output.txt | 8 - .../expectedOutput-2.5/bundle.js | 87 --- .../expectedOutput-2.5/output.transpiled.txt | 4 - .../expectedOutput-2.5/output.txt | 8 - .../expectedOutput-2.5/patch0/bundle.js | 87 --- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-2.5/patch0/output.txt | 8 - .../expectedOutput-2.6/bundle.js | 87 --- .../expectedOutput-2.6/output.transpiled.txt | 4 - .../expectedOutput-2.6/output.txt | 8 - .../expectedOutput-2.6/patch0/bundle.js | 87 --- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-2.6/patch0/output.txt | 8 - .../expectedOutput-2.7/bundle.js | 98 --- .../expectedOutput-2.7/output.transpiled.txt | 6 - .../expectedOutput-2.7/output.txt | 11 - .../expectedOutput-2.7/patch0/bundle.js | 98 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.7/patch0/output.txt | 11 - .../expectedOutput-2.8/bundle.js | 98 --- .../expectedOutput-2.8/output.transpiled.txt | 5 - .../expectedOutput-2.8/output.txt | 10 - .../expectedOutput-2.8/patch0/bundle.js | 98 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.8/patch0/output.txt | 10 - .../expectedOutput-2.9/output.transpiled.txt | 5 - .../expectedOutput-2.9/output.txt | 10 - .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.9/patch0/output.txt | 10 - .../expectedOutput-3.0/output.transpiled.txt | 5 - .../expectedOutput-3.0/output.txt | 10 - .../expectedOutput-3.0/patch0/bundle.js | 113 ---- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.0/patch0/output.txt | 10 - .../expectedOutput-3.1/bundle.js | 113 ---- .../expectedOutput-3.1/output.transpiled.txt | 5 - .../expectedOutput-3.1/output.txt | 10 - .../expectedOutput-3.1/patch0/bundle.js | 113 ---- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.1/patch0/output.txt | 10 - .../expectedOutput-3.2/bundle.js | 113 ---- .../expectedOutput-3.2/output.transpiled.txt | 5 - .../expectedOutput-3.2/output.txt | 10 - .../expectedOutput-3.2/patch0/bundle.js | 113 ---- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.2/patch0/output.txt | 10 - .../expectedOutput-3.3/bundle.js | 113 ---- .../expectedOutput-3.3/output.transpiled.txt | 5 - .../expectedOutput-3.3/output.txt | 10 - .../expectedOutput-3.3/patch0/bundle.js | 113 ---- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.3/patch0/output.txt | 10 - .../expectedOutput-3.4/bundle.js | 113 ---- .../expectedOutput-3.4/output.transpiled.txt | 5 - .../expectedOutput-3.4/output.txt | 10 - .../expectedOutput-3.4/patch0/bundle.js | 113 ---- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.4/patch0/output.txt | 10 - .../expectedOutput-3.5/bundle.js | 113 ---- .../expectedOutput-3.5/output.transpiled.txt | 5 - .../expectedOutput-3.5/output.txt | 10 - .../expectedOutput-3.5/patch0/bundle.js | 113 ---- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.5/patch0/output.txt | 10 - .../bundle.js | 0 .../expectedOutput-4.0/output.txt | 10 + .../patch0/bundle.js | 0 .../expectedOutput-4.0/patch0/output.txt | 10 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../expectedOutput-transpile-4.0/output.txt | 5 + .../patch0/bundle.js | 113 ++++ .../patch0/output.txt | 5 + .../expectedOutput-2.0/bundle.js | 51 -- .../expectedOutput-2.0/bundle.transpiled.js | 52 -- .../expectedOutput-2.0/output.transpiled.txt | 4 - .../expectedOutput-2.0/output.txt | 4 - .../expectedOutput-2.1/bundle.js | 77 --- .../expectedOutput-2.1/bundle.transpiled.js | 79 --- .../expectedOutput-2.1/output.transpiled.txt | 4 - .../expectedOutput-2.1/output.txt | 4 - .../expectedOutput-2.2/bundle.js | 77 --- .../expectedOutput-2.2/bundle.transpiled.js | 80 --- .../expectedOutput-2.2/output.transpiled.txt | 4 - .../expectedOutput-2.2/output.txt | 4 - .../expectedOutput-2.3/bundle.js | 77 --- .../expectedOutput-2.3/output.txt | 4 - .../expectedOutput-2.4/bundle.js | 77 --- .../expectedOutput-2.4/output.txt | 4 - .../expectedOutput-2.5/bundle.js | 74 --- .../expectedOutput-2.5/output.txt | 3 - .../expectedOutput-2.6/bundle.js | 74 --- .../expectedOutput-2.6/output.txt | 3 - .../expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../expectedOutput-2.7/output.txt | 5 - .../expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 5 - .../expectedOutput-2.8/output.txt | 4 - .../expectedOutput-2.9/output.transpiled.txt | 5 - .../expectedOutput-3.0/output.transpiled.txt | 5 - .../expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/output.transpiled.txt | 5 - .../expectedOutput-3.1/output.txt | 4 - .../expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/output.transpiled.txt | 5 - .../expectedOutput-3.2/output.txt | 4 - .../expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/output.transpiled.txt | 5 - .../expectedOutput-3.3/output.txt | 4 - .../expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/output.transpiled.txt | 5 - .../expectedOutput-3.4/output.txt | 4 - .../expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/output.transpiled.txt | 5 - .../expectedOutput-3.5/output.txt | 4 - .../bundle.js | 0 .../output.txt | 0 .../bundle.js | 0 .../output.txt | 0 .../expectedOutput-4.0/bundle.js | 125 ++++ .../expectedOutput-4.0/output.txt | 11 + .../expectedOutput-transpile-4.0/bundle.js | 125 ++++ .../expectedOutput-transpile-4.0/output.txt | 6 + .../expectedOutput-2.1/bundle.js | 120 ---- .../expectedOutput-2.1/output.txt | 6 - .../expectedOutput-2.2/bundle.js | 121 ---- .../expectedOutput-2.2/output.txt | 6 - .../expectedOutput-2.3/bundle.js | 121 ---- .../expectedOutput-2.3/output.txt | 6 - .../expectedOutput-2.4/bundle.js | 121 ---- .../expectedOutput-2.4/output.txt | 6 - .../expectedOutput-2.5/bundle.js | 118 ---- .../expectedOutput-2.5/output.txt | 5 - .../expectedOutput-2.6/bundle.js | 118 ---- .../expectedOutput-2.6/output.txt | 5 - .../expectedOutput-2.7/bundle.js | 110 ---- .../expectedOutput-2.7/output.transpiled.txt | 7 - .../expectedOutput-2.7/output.txt | 7 - .../expectedOutput-2.8/bundle.js | 110 ---- .../expectedOutput-2.8/output.transpiled.txt | 7 - .../expectedOutput-2.8/output.txt | 6 - .../expectedOutput-2.9/bundle.js | 125 ---- .../expectedOutput-2.9/output.transpiled.txt | 7 - .../expectedOutput-3.0/bundle.js | 125 ---- .../expectedOutput-3.0/output.transpiled.txt | 7 - .../expectedOutput-3.0/output.txt | 6 - .../expectedOutput-3.1/bundle.js | 125 ---- .../expectedOutput-3.1/output.transpiled.txt | 7 - .../expectedOutput-3.1/output.txt | 6 - .../expectedOutput-3.2/bundle.js | 125 ---- .../expectedOutput-3.2/output.transpiled.txt | 7 - .../expectedOutput-3.2/output.txt | 6 - .../expectedOutput-3.3/bundle.js | 125 ---- .../expectedOutput-3.3/output.transpiled.txt | 7 - .../expectedOutput-3.3/output.txt | 6 - .../expectedOutput-3.4/bundle.js | 125 ---- .../expectedOutput-3.4/output.transpiled.txt | 7 - .../expectedOutput-3.4/output.txt | 6 - .../expectedOutput-3.5/bundle.js | 125 ---- .../expectedOutput-3.5/output.transpiled.txt | 7 - .../expectedOutput-3.5/output.txt | 6 - .../expectedOutput-4.0/bundle.js | 125 ++++ .../output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 125 ++++ .../expectedOutput-transpile-4.0/output.txt | 6 + .../expectedOutput-2.2/bundle.entry1.js | 78 --- .../expectedOutput-2.2/bundle.entry2.js | 92 --- .../expectedOutput-2.2/output.txt | 8 - .../patch0/bundle.entry1.js | 78 --- .../expectedOutput-2.2/patch0/output.txt | 8 - .../expectedOutput-2.3/bundle.entry1.js | 78 --- .../expectedOutput-2.3/bundle.entry2.js | 92 --- .../expectedOutput-2.3/output.txt | 8 - .../patch0/bundle.entry1.js | 78 --- .../expectedOutput-2.3/patch0/output.txt | 8 - .../expectedOutput-2.4/bundle.entry1.js | 78 --- .../expectedOutput-2.4/bundle.entry2.js | 92 --- .../expectedOutput-2.4/output.txt | 8 - .../patch0/bundle.entry1.js | 78 --- .../expectedOutput-2.4/patch0/output.txt | 8 - .../expectedOutput-2.5/bundle.entry1.js | 74 --- .../expectedOutput-2.5/bundle.entry2.js | 89 --- .../expectedOutput-2.5/output.txt | 6 - .../patch0/bundle.entry1.js | 74 --- .../expectedOutput-2.5/patch0/output.txt | 6 - .../expectedOutput-2.6/bundle.entry1.js | 74 --- .../expectedOutput-2.6/bundle.entry2.js | 89 --- .../expectedOutput-2.6/output.txt | 6 - .../patch0/bundle.entry1.js | 74 --- .../expectedOutput-2.6/patch0/output.txt | 6 - .../expectedOutput-2.7/bundle.entry1.js | 85 --- .../expectedOutput-2.7/bundle.entry2.js | 98 --- .../expectedOutput-2.7/output.txt | 9 - .../patch0/bundle.entry1.js | 85 --- .../expectedOutput-2.7/patch0/output.txt | 9 - .../expectedOutput-2.8/bundle.entry1.js | 85 --- .../expectedOutput-2.8/bundle.entry2.js | 98 --- .../expectedOutput-2.8/output.txt | 8 - .../patch0/bundle.entry1.js | 85 --- .../expectedOutput-2.8/patch0/output.txt | 8 - .../expectedOutput-3.0/bundle.entry1.js | 100 --- .../expectedOutput-3.0/bundle.entry2.js | 113 ---- .../expectedOutput-3.0/output.txt | 8 - .../patch0/bundle.entry1.js | 100 --- .../expectedOutput-3.0/patch0/output.txt | 8 - .../expectedOutput-3.1/bundle.entry1.js | 100 --- .../expectedOutput-3.1/bundle.entry2.js | 113 ---- .../expectedOutput-3.1/output.txt | 8 - .../patch0/bundle.entry1.js | 100 --- .../expectedOutput-3.1/patch0/output.txt | 8 - .../expectedOutput-3.2/bundle.entry1.js | 100 --- .../expectedOutput-3.2/bundle.entry2.js | 113 ---- .../expectedOutput-3.2/output.txt | 8 - .../patch0/bundle.entry1.js | 100 --- .../expectedOutput-3.2/patch0/output.txt | 8 - .../expectedOutput-3.3/bundle.entry1.js | 100 --- .../expectedOutput-3.3/bundle.entry2.js | 113 ---- .../expectedOutput-3.3/output.txt | 8 - .../patch0/bundle.entry1.js | 100 --- .../expectedOutput-3.3/patch0/output.txt | 8 - .../expectedOutput-3.4/bundle.entry1.js | 100 --- .../expectedOutput-3.4/bundle.entry2.js | 113 ---- .../expectedOutput-3.4/output.txt | 8 - .../patch0/bundle.entry1.js | 100 --- .../expectedOutput-3.4/patch0/output.txt | 8 - .../expectedOutput-3.5/bundle.entry1.js | 100 --- .../expectedOutput-3.5/bundle.entry2.js | 113 ---- .../expectedOutput-3.5/output.txt | 8 - .../patch0/bundle.entry1.js | 100 --- .../expectedOutput-3.5/patch0/output.txt | 8 - .../bundle.entry1.js | 0 .../bundle.entry2.js | 0 .../output.txt | 0 .../patch0/bundle.entry1.js | 0 .../patch0/output.txt | 0 .../expectedOutput-1.6/bundle.js | 62 -- .../expectedOutput-1.6/output.txt | 4 - .../expectedOutput-1.7/bundle.js | 62 -- .../expectedOutput-1.7/output.txt | 4 - .../expectedOutput-1.8/bundle.js | 62 -- .../expectedOutput-1.8/output.txt | 4 - .../expectedOutput-2.0/bundle.js | 60 -- .../expectedOutput-2.0/output.txt | 4 - .../expectedOutput-2.1/bundle.js | 83 --- .../expectedOutput-2.1/output.txt | 4 - .../expectedOutput-2.2/bundle.js | 83 --- .../expectedOutput-2.2/output.txt | 4 - .../expectedOutput-2.3/bundle.js | 83 --- .../expectedOutput-2.3/output.txt | 4 - .../expectedOutput-2.4/bundle.js | 83 --- .../expectedOutput-2.4/output.txt | 4 - .../expectedOutput-2.5/bundle.js | 80 --- .../expectedOutput-2.5/output.txt | 3 - .../expectedOutput-2.6/bundle.js | 80 --- .../expectedOutput-2.6/output.txt | 3 - .../expectedOutput-2.7/bundle.js | 86 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../expectedOutput-2.7/output.txt | 5 - .../expectedOutput-2.8/bundle.js | 86 --- .../expectedOutput-2.8/output.transpiled.txt | 5 - .../expectedOutput-2.8/output.txt | 4 - .../expectedOutput-2.9/output.transpiled.txt | 5 - .../expectedOutput-3.0/output.transpiled.txt | 5 - .../expectedOutput-3.1/bundle.js | 101 --- .../expectedOutput-3.1/output.transpiled.txt | 5 - .../expectedOutput-3.1/output.txt | 4 - .../expectedOutput-3.2/bundle.js | 101 --- .../expectedOutput-3.2/output.transpiled.txt | 5 - .../expectedOutput-3.2/output.txt | 4 - .../expectedOutput-3.3/bundle.js | 101 --- .../expectedOutput-3.3/output.transpiled.txt | 5 - .../expectedOutput-3.3/output.txt | 4 - .../expectedOutput-3.4/bundle.js | 101 --- .../expectedOutput-3.4/output.transpiled.txt | 5 - .../expectedOutput-3.4/output.txt | 4 - .../expectedOutput-3.5/bundle.js | 101 --- .../expectedOutput-3.5/output.transpiled.txt | 5 - .../expectedOutput-3.5/output.txt | 4 - .../bundle.js | 0 .../output.txt | 0 .../bundle.js | 0 .../output.txt | 0 .../expectedOutput-1.7/bundle.js | 68 -- .../expectedOutput-1.7/bundle.js.map | 1 - .../expectedOutput-1.7/output.txt | 5 - .../expectedOutput-1.8/bundle.js | 68 -- .../expectedOutput-1.8/bundle.js.map | 1 - .../expectedOutput-1.8/output.txt | 5 - .../expectedOutput-2.0/bundle.js | 71 --- .../expectedOutput-2.0/bundle.js.map | 1 - .../expectedOutput-2.0/output.txt | 5 - .../expectedOutput-2.1/bundle.js | 95 --- .../expectedOutput-2.1/bundle.js.map | 1 - .../expectedOutput-2.1/output.txt | 5 - .../expectedOutput-2.2/bundle.js | 95 --- .../expectedOutput-2.2/bundle.js.map | 1 - .../expectedOutput-2.2/output.txt | 5 - .../expectedOutput-2.3/bundle.js | 95 --- .../expectedOutput-2.3/bundle.js.map | 1 - .../expectedOutput-2.3/output.txt | 5 - .../expectedOutput-2.4/bundle.js | 95 --- .../expectedOutput-2.4/bundle.js.map | 1 - .../expectedOutput-2.4/output.txt | 5 - .../expectedOutput-2.5/bundle.js | 92 --- .../expectedOutput-2.5/bundle.js.map | 1 - .../expectedOutput-2.5/output.txt | 4 - .../expectedOutput-2.6/bundle.js | 92 --- .../expectedOutput-2.6/bundle.js.map | 1 - .../expectedOutput-2.6/output.txt | 4 - .../expectedOutput-2.7/bundle.js | 104 --- .../expectedOutput-2.7/bundle.js.map | 1 - .../expectedOutput-2.7/output.transpiled.txt | 6 - .../expectedOutput-2.7/output.txt | 6 - .../expectedOutput-2.8/bundle.js | 104 --- .../expectedOutput-2.8/bundle.js.map | 1 - .../expectedOutput-2.8/output.transpiled.txt | 6 - .../expectedOutput-2.8/output.txt | 5 - .../expectedOutput-2.9/bundle.js.map | 1 - .../expectedOutput-2.9/output.txt | 5 - .../expectedOutput-3.0/bundle.js.map | 1 - .../expectedOutput-3.0/output.txt | 5 - .../expectedOutput-3.1/bundle.js | 119 ---- .../expectedOutput-3.1/bundle.js.map | 1 - .../expectedOutput-3.1/output.txt | 5 - .../expectedOutput-3.2/bundle.js | 119 ---- .../expectedOutput-3.2/bundle.js.map | 1 - .../expectedOutput-3.2/output.txt | 5 - .../expectedOutput-3.3/bundle.js | 119 ---- .../expectedOutput-3.3/bundle.js.map | 1 - .../expectedOutput-3.3/output.txt | 5 - .../expectedOutput-3.4/bundle.js | 119 ---- .../expectedOutput-3.4/bundle.js.map | 1 - .../expectedOutput-3.4/output.txt | 5 - .../expectedOutput-3.5/bundle.js | 119 ---- .../expectedOutput-3.5/bundle.js.map | 1 - .../expectedOutput-3.5/output.txt | 5 - .../bundle.js | 0 .../expectedOutput-4.0/bundle.js.map | 1 + .../expectedOutput-4.0/output.txt | 5 + .../bundle.js | 0 .../bundle.js.map | 1 + .../expectedOutput-transpile-4.0/output.txt | 5 + .../expectedOutput-1.6/bundle.js | 75 --- .../expectedOutput-1.6/output.txt | 5 - .../expectedOutput-1.7/bundle.js | 75 --- .../expectedOutput-1.7/output.txt | 5 - .../expectedOutput-1.8/bundle.js | 75 --- .../expectedOutput-1.8/output.txt | 5 - .../expectedOutput-2.0/bundle.js | 73 --- .../expectedOutput-2.0/output.txt | 5 - .../expectedOutput-2.1/bundle.js | 87 --- .../expectedOutput-2.1/output.txt | 5 - .../expectedOutput-2.2/bundle.js | 87 --- .../expectedOutput-2.2/output.txt | 5 - .../expectedOutput-2.3/bundle.js | 87 --- .../expectedOutput-2.3/output.txt | 5 - .../expectedOutput-2.4/bundle.js | 87 --- .../expectedOutput-2.4/output.txt | 5 - .../expectedOutput-2.5/bundle.js | 84 --- .../expectedOutput-2.5/output.txt | 4 - .../expectedOutput-2.6/bundle.js | 84 --- .../expectedOutput-2.6/output.txt | 4 - .../expectedOutput-2.7/bundle.js | 98 --- .../expectedOutput-2.7/output.transpiled.txt | 6 - .../expectedOutput-2.7/output.txt | 6 - .../expectedOutput-2.8/bundle.js | 98 --- .../expectedOutput-2.8/output.transpiled.txt | 6 - .../expectedOutput-2.8/output.txt | 5 - .../expectedOutput-2.9/output.transpiled.txt | 6 - .../expectedOutput-3.0/output.transpiled.txt | 6 - .../expectedOutput-3.1/bundle.js | 113 ---- .../expectedOutput-3.1/output.transpiled.txt | 6 - .../expectedOutput-3.1/output.txt | 5 - .../expectedOutput-3.2/bundle.js | 113 ---- .../expectedOutput-3.2/output.transpiled.txt | 6 - .../expectedOutput-3.2/output.txt | 5 - .../expectedOutput-3.3/bundle.js | 113 ---- .../expectedOutput-3.3/output.transpiled.txt | 6 - .../expectedOutput-3.3/output.txt | 5 - .../expectedOutput-3.4/bundle.js | 113 ---- .../expectedOutput-3.4/output.transpiled.txt | 6 - .../expectedOutput-3.4/output.txt | 5 - .../expectedOutput-3.5/bundle.js | 113 ---- .../expectedOutput-3.5/output.transpiled.txt | 6 - .../expectedOutput-3.5/output.txt | 5 - .../bundle.js | 0 .../output.txt | 0 .../bundle.js | 0 .../output.txt | 0 .../basic/expectedOutput-1.6/bundle.js | 71 --- .../basic/expectedOutput-1.6/output.txt | 6 - .../basic/expectedOutput-1.6/patch0/bundle.js | 71 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-1.6/patch0/output.txt | 9 - .../basic/expectedOutput-1.6/patch1/bundle.js | 71 --- .../expectedOutput-1.6/patch1/output.txt | 6 - .../basic/expectedOutput-1.7/bundle.js | 71 --- .../basic/expectedOutput-1.7/output.txt | 6 - .../basic/expectedOutput-1.7/patch0/bundle.js | 71 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-1.7/patch0/output.txt | 9 - .../basic/expectedOutput-1.7/patch1/bundle.js | 71 --- .../expectedOutput-1.7/patch1/output.txt | 6 - .../basic/expectedOutput-1.8/bundle.js | 73 --- .../basic/expectedOutput-1.8/output.txt | 6 - .../basic/expectedOutput-1.8/patch0/bundle.js | 73 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-1.8/patch0/output.txt | 9 - .../basic/expectedOutput-1.8/patch1/bundle.js | 73 --- .../expectedOutput-1.8/patch1/output.txt | 6 - .../basic/expectedOutput-2.0/bundle.js | 73 --- .../basic/expectedOutput-2.0/output.txt | 6 - .../basic/expectedOutput-2.0/patch0/bundle.js | 73 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.0/patch0/output.txt | 9 - .../basic/expectedOutput-2.0/patch1/bundle.js | 73 --- .../expectedOutput-2.0/patch1/output.txt | 6 - .../basic/expectedOutput-2.1/bundle.js | 101 --- .../basic/expectedOutput-2.1/output.txt | 6 - .../basic/expectedOutput-2.1/patch0/bundle.js | 101 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.1/patch0/output.txt | 9 - .../basic/expectedOutput-2.1/patch1/bundle.js | 101 --- .../expectedOutput-2.1/patch1/output.txt | 6 - .../basic/expectedOutput-2.2/bundle.js | 102 --- .../basic/expectedOutput-2.2/output.txt | 6 - .../basic/expectedOutput-2.2/patch0/bundle.js | 102 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.2/patch0/output.txt | 9 - .../basic/expectedOutput-2.2/patch1/bundle.js | 102 --- .../expectedOutput-2.2/patch1/output.txt | 6 - .../basic/expectedOutput-2.3/bundle.js | 102 --- .../basic/expectedOutput-2.3/output.txt | 6 - .../basic/expectedOutput-2.3/patch0/bundle.js | 102 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.3/patch0/output.txt | 9 - .../basic/expectedOutput-2.3/patch1/bundle.js | 102 --- .../expectedOutput-2.3/patch1/output.txt | 6 - .../basic/expectedOutput-2.4/bundle.js | 102 --- .../basic/expectedOutput-2.4/output.txt | 6 - .../basic/expectedOutput-2.4/patch0/bundle.js | 102 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.4/patch0/output.txt | 9 - .../basic/expectedOutput-2.4/patch1/bundle.js | 102 --- .../expectedOutput-2.4/patch1/output.txt | 6 - .../basic/expectedOutput-2.5/bundle.js | 99 --- .../basic/expectedOutput-2.5/output.txt | 5 - .../basic/expectedOutput-2.5/patch0/bundle.js | 99 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.5/patch0/output.txt | 9 - .../basic/expectedOutput-2.5/patch1/bundle.js | 99 --- .../expectedOutput-2.5/patch1/output.txt | 5 - .../basic/expectedOutput-2.6/bundle.js | 99 --- .../basic/expectedOutput-2.6/output.txt | 5 - .../basic/expectedOutput-2.6/patch0/bundle.js | 99 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.6/patch0/output.txt | 9 - .../basic/expectedOutput-2.6/patch1/bundle.js | 99 --- .../expectedOutput-2.6/patch1/output.txt | 5 - .../basic/expectedOutput-2.7/bundle.js | 109 ---- .../expectedOutput-2.7/output.transpiled.txt | 7 - .../basic/expectedOutput-2.7/output.txt | 7 - .../basic/expectedOutput-2.7/patch0/bundle.js | 109 ---- .../patch0/output.transpiled.txt | 7 - .../expectedOutput-2.7/patch0/output.txt | 12 - .../basic/expectedOutput-2.7/patch1/bundle.js | 109 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-2.7/patch1/output.txt | 7 - .../basic/expectedOutput-2.8/bundle.js | 109 ---- .../expectedOutput-2.8/output.transpiled.txt | 7 - .../basic/expectedOutput-2.8/output.txt | 6 - .../basic/expectedOutput-2.8/patch0/bundle.js | 109 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.8/patch0/output.txt | 11 - .../basic/expectedOutput-2.8/patch1/bundle.js | 109 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-2.8/patch1/output.txt | 6 - .../expectedOutput-2.9/output.transpiled.txt | 7 - .../patch0/output.transpiled.txt | 6 - .../patch1/output.transpiled.txt | 7 - .../expectedOutput-3.0/output.transpiled.txt | 7 - .../patch0/output.transpiled.txt | 6 - .../patch1/output.transpiled.txt | 7 - .../basic/expectedOutput-3.1/bundle.js | 124 ---- .../expectedOutput-3.1/output.transpiled.txt | 7 - .../basic/expectedOutput-3.1/output.txt | 6 - .../basic/expectedOutput-3.1/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.1/patch0/output.txt | 11 - .../basic/expectedOutput-3.1/patch1/bundle.js | 124 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-3.1/patch1/output.txt | 6 - .../basic/expectedOutput-3.2/bundle.js | 124 ---- .../expectedOutput-3.2/output.transpiled.txt | 7 - .../basic/expectedOutput-3.2/output.txt | 6 - .../basic/expectedOutput-3.2/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.2/patch0/output.txt | 11 - .../basic/expectedOutput-3.2/patch1/bundle.js | 124 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-3.2/patch1/output.txt | 6 - .../basic/expectedOutput-3.3/bundle.js | 124 ---- .../expectedOutput-3.3/output.transpiled.txt | 7 - .../basic/expectedOutput-3.3/output.txt | 6 - .../basic/expectedOutput-3.3/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.3/patch0/output.txt | 11 - .../basic/expectedOutput-3.3/patch1/bundle.js | 124 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-3.3/patch1/output.txt | 6 - .../basic/expectedOutput-3.4/bundle.js | 124 ---- .../expectedOutput-3.4/output.transpiled.txt | 7 - .../basic/expectedOutput-3.4/output.txt | 6 - .../basic/expectedOutput-3.4/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.4/patch0/output.txt | 11 - .../basic/expectedOutput-3.4/patch1/bundle.js | 124 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-3.4/patch1/output.txt | 6 - .../basic/expectedOutput-3.5/bundle.js | 124 ---- .../expectedOutput-3.5/output.transpiled.txt | 7 - .../basic/expectedOutput-3.5/output.txt | 6 - .../basic/expectedOutput-3.5/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.5/patch0/output.txt | 11 - .../basic/expectedOutput-3.5/patch1/bundle.js | 124 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-3.5/patch1/output.txt | 6 - .../bundle.js | 0 .../output.txt | 0 .../patch0/bundle.js | 0 .../patch0/output.txt | 0 .../patch1/bundle.js | 0 .../patch1/output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 124 ++++ .../expectedOutput-transpile-4.0/output.txt | 6 + .../patch0/bundle.js | 124 ++++ .../patch0/output.txt | 6 + .../patch1/bundle.js | 124 ++++ .../patch1/output.txt | 6 + .../expectedOutput-1.6/1.bundle.js | 19 - .../expectedOutput-1.6/bundle.js | 130 ---- .../expectedOutput-1.6/output.txt | 10 - .../expectedOutput-1.7/1.bundle.js | 19 - .../expectedOutput-1.7/bundle.js | 130 ---- .../expectedOutput-1.7/output.txt | 10 - .../expectedOutput-1.8/1.bundle.js | 21 - .../expectedOutput-1.8/bundle.js | 133 ---- .../expectedOutput-1.8/output.txt | 10 - .../expectedOutput-2.0/1.bundle.js | 21 - .../expectedOutput-2.0/bundle.js | 133 ---- .../expectedOutput-2.0/output.txt | 10 - .../expectedOutput-2.1/0.bundle.js | 20 - .../expectedOutput-2.1/bundle.js | 187 ------ .../expectedOutput-2.1/output.txt | 10 - .../expectedOutput-2.2/0.bundle.js | 20 - .../expectedOutput-2.2/bundle.js | 195 ------ .../expectedOutput-2.2/output.txt | 10 - .../expectedOutput-2.3/0.bundle.js | 20 - .../expectedOutput-2.3/bundle.js | 196 ------ .../expectedOutput-2.3/output.txt | 10 - .../expectedOutput-2.4/0.bundle.js | 20 - .../expectedOutput-2.4/bundle.js | 196 ------ .../expectedOutput-2.4/output.txt | 10 - .../expectedOutput-2.5/0.bundle.js | 20 - .../expectedOutput-2.5/bundle.js | 193 ------ .../expectedOutput-2.5/output.txt | 8 - .../expectedOutput-2.6/0.bundle.js | 20 - .../expectedOutput-2.6/bundle.js | 193 ------ .../expectedOutput-2.6/output.txt | 8 - .../expectedOutput-2.7/bundle.js | 213 ------- .../expectedOutput-2.7/output.txt | 10 - .../expectedOutput-2.8/bundle.js | 213 ------- .../expectedOutput-2.8/output.transpiled.txt | 10 - .../expectedOutput-2.8/output.txt | 9 - .../expectedOutput-2.9/0.bundle.js | 27 - .../expectedOutput-2.9/bundle.js | 236 ------- .../expectedOutput-2.9/output.transpiled.txt | 10 - .../expectedOutput-2.9/output.txt | 9 - .../expectedOutput-3.0/0.bundle.js | 27 - .../expectedOutput-3.0/bundle.js | 238 ------- .../expectedOutput-3.0/output.transpiled.txt | 10 - .../expectedOutput-3.0/output.txt | 9 - .../expectedOutput-3.1/0.bundle.js | 27 - .../expectedOutput-3.1/bundle.js | 238 ------- .../expectedOutput-3.1/output.transpiled.txt | 10 - .../expectedOutput-3.1/output.txt | 9 - .../expectedOutput-3.2/0.bundle.js | 27 - .../expectedOutput-3.2/bundle.js | 238 ------- .../expectedOutput-3.2/output.transpiled.txt | 10 - .../expectedOutput-3.2/output.txt | 9 - .../expectedOutput-3.3/0.bundle.js | 27 - .../expectedOutput-3.3/bundle.js | 238 ------- .../expectedOutput-3.3/output.transpiled.txt | 10 - .../expectedOutput-3.3/output.txt | 9 - .../expectedOutput-3.4/0.bundle.js | 27 - .../expectedOutput-3.4/bundle.js | 238 ------- .../expectedOutput-3.4/output.transpiled.txt | 10 - .../expectedOutput-3.4/output.txt | 9 - .../expectedOutput-3.5/0.bundle.js | 27 - .../expectedOutput-3.5/bundle.js | 238 ------- .../expectedOutput-3.5/output.transpiled.txt | 10 - .../expectedOutput-3.5/output.txt | 9 - .../0.bundle.js | 0 .../expectedOutput-4.0/bundle.js | 240 +++++++ .../expectedOutput-4.0/output.txt | 9 + .../0.bundle.js | 0 .../expectedOutput-transpile-4.0/bundle.js | 240 +++++++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../colors/expectedOutput-2.5/bundle.js | 73 --- .../expectedOutput-2.5/output.transpiled.txt | 13 - .../colors/expectedOutput-2.5/output.txt | 13 - .../colors/expectedOutput-2.6/bundle.js | 73 --- .../expectedOutput-2.6/output.transpiled.txt | 13 - .../colors/expectedOutput-2.6/output.txt | 13 - .../colors/expectedOutput-2.7/bundle.js | 85 --- .../colors/expectedOutput-2.7/output.txt | 17 - .../colors/expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 17 - .../colors/expectedOutput-2.8/output.txt | 16 - .../colors/expectedOutput-2.9/bundle.js | 100 --- .../expectedOutput-2.9/output.transpiled.txt | 17 - .../colors/expectedOutput-2.9/output.txt | 16 - .../colors/expectedOutput-3.0/bundle.js | 100 --- .../colors/expectedOutput-3.0/output.txt | 16 - .../colors/expectedOutput-3.1/bundle.js | 100 --- .../colors/expectedOutput-3.1/output.txt | 16 - .../colors/expectedOutput-3.2/bundle.js | 100 --- .../colors/expectedOutput-3.2/output.txt | 16 - .../colors/expectedOutput-3.3/bundle.js | 100 --- .../colors/expectedOutput-3.3/output.txt | 16 - .../colors/expectedOutput-3.4/bundle.js | 100 --- .../colors/expectedOutput-3.4/output.txt | 16 - .../colors/expectedOutput-3.5/bundle.js | 100 --- .../colors/expectedOutput-3.5/output.txt | 16 - .../colors/expectedOutput-4.0/bundle.js | 100 +++ .../colors/expectedOutput-4.0/output.txt | 18 + .../expectedOutput-transpile-4.0/bundle.js | 100 +++ .../expectedOutput-transpile-4.0/output.txt | 18 + .../expectedOutput-1.6/bundle.js | 18 - .../expectedOutput-1.6/output.txt | 10 - .../expectedOutput-1.7/bundle.js | 18 - .../expectedOutput-1.7/output.txt | 10 - .../expectedOutput-1.8/bundle.js | 19 - .../expectedOutput-1.8/output.txt | 10 - .../expectedOutput-2.0/bundle.js | 19 - .../expectedOutput-2.0/output.transpiled.txt | 10 - .../expectedOutput-2.0/output.txt | 10 - .../expectedOutput-2.1/bundle.js | 36 -- .../expectedOutput-2.1/output.txt | 10 - .../expectedOutput-2.2/bundle.js | 35 - .../expectedOutput-2.2/output.txt | 9 - .../expectedOutput-2.3/bundle.js | 35 - .../expectedOutput-2.3/output.txt | 9 - .../expectedOutput-2.4/bundle.js | 35 - .../expectedOutput-2.4/output.txt | 9 - .../expectedOutput-2.5/bundle.js | 33 - .../expectedOutput-2.5/output.txt | 8 - .../expectedOutput-2.6/bundle.js | 33 - .../expectedOutput-2.6/output.txt | 8 - .../expectedOutput-2.7/bundle.js | 86 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../expectedOutput-2.7/output.txt | 5 - .../expectedOutput-2.8/bundle.js | 86 --- .../expectedOutput-2.8/output.transpiled.txt | 5 - .../expectedOutput-2.8/output.txt | 4 - .../expectedOutput-2.9/output.transpiled.txt | 5 - .../expectedOutput-3.0/bundle.js | 101 --- .../expectedOutput-3.0/output.transpiled.txt | 5 - .../expectedOutput-3.0/output.txt | 4 - .../expectedOutput-3.1/bundle.js | 101 --- .../expectedOutput-3.1/output.transpiled.txt | 5 - .../expectedOutput-3.1/output.txt | 4 - .../expectedOutput-3.2/bundle.js | 101 --- .../expectedOutput-3.2/output.transpiled.txt | 5 - .../expectedOutput-3.2/output.txt | 4 - .../expectedOutput-3.3/bundle.js | 101 --- .../expectedOutput-3.3/output.transpiled.txt | 5 - .../expectedOutput-3.3/output.txt | 4 - .../expectedOutput-3.4/bundle.js | 101 --- .../expectedOutput-3.4/output.transpiled.txt | 5 - .../expectedOutput-3.4/output.txt | 4 - .../expectedOutput-3.5/bundle.js | 101 --- .../expectedOutput-3.5/output.transpiled.txt | 5 - .../expectedOutput-3.5/output.txt | 4 - .../bundle.js | 0 .../output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 101 +++ .../expectedOutput-transpile-4.0/output.txt | 4 + .../expectedOutput-2.0/bundle.js | 52 -- .../expectedOutput-2.0/bundle.transpiled.js | 74 --- .../expectedOutput-2.0/output.transpiled.txt | 6 - .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.0/patch0/output.txt | 4 - .../expectedOutput-2.1/bundle.transpiled.js | 74 --- .../expectedOutput-2.1/output.transpiled.txt | 6 - .../expectedOutput-2.1/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.1/patch0/output.txt | 4 - .../expectedOutput-2.2/bundle.js | 79 --- .../expectedOutput-2.2/bundle.transpiled.js | 74 --- .../expectedOutput-2.2/output.transpiled.txt | 6 - .../expectedOutput-2.2/output.txt | 4 - .../expectedOutput-2.2/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.2/patch0/output.txt | 4 - .../expectedOutput-2.3/bundle.js | 79 --- .../expectedOutput-2.3/bundle.transpiled.js | 74 --- .../expectedOutput-2.3/output.transpiled.txt | 6 - .../expectedOutput-2.3/output.txt | 4 - .../expectedOutput-2.3/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.3/patch0/output.txt | 4 - .../expectedOutput-2.4/bundle.js | 79 --- .../expectedOutput-2.4/bundle.transpiled.js | 74 --- .../expectedOutput-2.4/output.transpiled.txt | 6 - .../expectedOutput-2.4/output.txt | 4 - .../expectedOutput-2.4/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.4/patch0/output.txt | 4 - .../expectedOutput-2.5/bundle.js | 79 --- .../expectedOutput-2.5/bundle.transpiled.js | 74 --- .../expectedOutput-2.5/output.transpiled.txt | 6 - .../expectedOutput-2.5/output.txt | 4 - .../expectedOutput-2.5/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.5/patch0/output.txt | 4 - .../expectedOutput-2.6/bundle.js | 79 --- .../expectedOutput-2.6/bundle.transpiled.js | 74 --- .../expectedOutput-2.6/output.transpiled.txt | 6 - .../expectedOutput-2.6/output.txt | 4 - .../expectedOutput-2.6/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.6/patch0/output.txt | 4 - .../expectedOutput-2.7/bundle.js | 79 --- .../expectedOutput-2.7/bundle.transpiled.js | 74 --- .../expectedOutput-2.7/output.transpiled.txt | 6 - .../expectedOutput-2.7/output.txt | 4 - .../expectedOutput-2.7/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.7/patch0/output.txt | 4 - .../expectedOutput-2.8/bundle.js | 79 --- .../expectedOutput-2.8/bundle.transpiled.js | 74 --- .../expectedOutput-2.8/output.transpiled.txt | 6 - .../expectedOutput-2.8/output.txt | 4 - .../expectedOutput-2.8/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.8/patch0/output.txt | 4 - .../expectedOutput-2.9/bundle.js | 79 --- .../expectedOutput-2.9/bundle.transpiled.js | 74 --- .../expectedOutput-2.9/output.transpiled.txt | 6 - .../expectedOutput-2.9/output.txt | 4 - .../expectedOutput-2.9/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.9/patch0/output.txt | 4 - .../expectedOutput-3.0/bundle.js | 79 --- .../expectedOutput-3.0/bundle.transpiled.js | 74 --- .../expectedOutput-3.0/output.transpiled.txt | 6 - .../expectedOutput-3.0/output.txt | 4 - .../expectedOutput-3.0/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.0/patch0/output.txt | 4 - .../expectedOutput-3.1/bundle.js | 79 --- .../expectedOutput-3.1/bundle.transpiled.js | 74 --- .../expectedOutput-3.1/output.transpiled.txt | 6 - .../expectedOutput-3.1/output.txt | 4 - .../expectedOutput-3.1/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.1/patch0/output.txt | 4 - .../expectedOutput-3.2/bundle.js | 79 --- .../expectedOutput-3.2/bundle.transpiled.js | 74 --- .../expectedOutput-3.2/output.transpiled.txt | 6 - .../expectedOutput-3.2/output.txt | 4 - .../expectedOutput-3.2/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.2/patch0/output.txt | 4 - .../expectedOutput-3.3/bundle.js | 79 --- .../expectedOutput-3.3/bundle.transpiled.js | 74 --- .../expectedOutput-3.3/output.transpiled.txt | 6 - .../expectedOutput-3.3/output.txt | 4 - .../expectedOutput-3.3/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.3/patch0/output.txt | 4 - .../expectedOutput-3.4/bundle.js | 79 --- .../expectedOutput-3.4/bundle.transpiled.js | 74 --- .../expectedOutput-3.4/output.transpiled.txt | 6 - .../expectedOutput-3.4/output.txt | 4 - .../expectedOutput-3.4/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.4/patch0/output.txt | 4 - .../expectedOutput-3.5/bundle.js | 79 --- .../expectedOutput-3.5/bundle.transpiled.js | 74 --- .../expectedOutput-3.5/output.transpiled.txt | 6 - .../expectedOutput-3.5/output.txt | 4 - .../expectedOutput-3.5/patch0/bundle.js | 52 -- .../patch0/bundle.transpiled.js | 74 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.5/patch0/output.txt | 4 - .../bundle.js | 0 .../output.txt | 0 .../patch0/bundle.js | 0 .../patch0}/output.txt | 0 .../create-and-execute-test.js | 14 +- .../expectedOutput-2.3/bundle.js | 78 --- .../expectedOutput-2.3/bundle.transpiled.js | 78 --- .../expectedOutput-2.3/output.txt | 4 - .../expectedOutput-2.3/patch0/bundle.js | 78 --- .../patch0/bundle.transpiled.js | 78 --- .../expectedOutput-2.3/patch0/output.txt | 4 - .../expectedOutput-2.3/patch1/bundle.js | 78 --- .../patch1/bundle.transpiled.js | 78 --- .../expectedOutput-2.3/patch1/output.txt | 4 - .../expectedOutput-2.4/bundle.js | 78 --- .../expectedOutput-2.4/output.txt | 4 - .../expectedOutput-2.4/patch0/bundle.js | 78 --- .../expectedOutput-2.4/patch0/output.txt | 4 - .../expectedOutput-2.4/patch1/bundle.js | 78 --- .../expectedOutput-2.4/patch1/output.txt | 4 - .../expectedOutput-2.5/bundle.js | 75 --- .../expectedOutput-2.5/output.txt | 3 - .../expectedOutput-2.5/patch0/bundle.js | 75 --- .../expectedOutput-2.5/patch0/output.txt | 3 - .../expectedOutput-2.5/patch1/bundle.js | 75 --- .../expectedOutput-2.5/patch1/output.txt | 3 - .../expectedOutput-2.6/bundle.js | 75 --- .../expectedOutput-2.6/output.txt | 3 - .../expectedOutput-2.6/patch0/bundle.js | 75 --- .../expectedOutput-2.6/patch0/output.txt | 3 - .../expectedOutput-2.6/patch1/bundle.js | 75 --- .../expectedOutput-2.6/patch1/output.txt | 3 - .../expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../expectedOutput-2.7/output.txt | 5 - .../expectedOutput-2.7/patch0/bundle.js | 85 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.7/patch0/output.txt | 5 - .../expectedOutput-2.7/patch1/bundle.js | 85 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-2.7/patch1/output.txt | 5 - .../expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 5 - .../expectedOutput-2.8/output.txt | 4 - .../expectedOutput-2.8/patch0/bundle.js | 85 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.8/patch0/output.txt | 4 - .../expectedOutput-2.8/patch1/bundle.js | 85 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-2.8/patch1/output.txt | 4 - .../expectedOutput-2.9/output.transpiled.txt | 5 - .../patch0/output.transpiled.txt | 5 - .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.0/output.transpiled.txt | 5 - .../patch0/output.transpiled.txt | 5 - .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.1/output.transpiled.txt | 5 - .../patch0/output.transpiled.txt | 5 - .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.2/output.transpiled.txt | 5 - .../patch0/output.transpiled.txt | 5 - .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/output.transpiled.txt | 5 - .../expectedOutput-3.3/output.txt | 4 - .../expectedOutput-3.3/patch0/bundle.js | 100 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.3/patch0/output.txt | 4 - .../expectedOutput-3.3/patch1/bundle.js | 100 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.3/patch1/output.txt | 4 - .../expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/output.transpiled.txt | 5 - .../expectedOutput-3.4/output.txt | 4 - .../expectedOutput-3.4/patch0/bundle.js | 100 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.4/patch0/output.txt | 4 - .../expectedOutput-3.4/patch1/bundle.js | 100 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.4/patch1/output.txt | 4 - .../expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/output.transpiled.txt | 5 - .../expectedOutput-3.5/output.txt | 4 - .../expectedOutput-3.5/patch0/bundle.js | 100 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.5/patch0/output.txt | 4 - .../expectedOutput-3.5/patch1/bundle.js | 100 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.5/patch1/output.txt | 4 - .../bundle.js | 0 .../output.txt | 0 .../patch0/bundle.js | 0 .../patch0/output.txt | 0 .../patch1/bundle.js | 0 .../patch1/output.txt | 0 .../bundle.js | 0 .../output.txt | 0 .../patch0/bundle.js | 0 .../patch0/output.txt | 0 .../patch1/bundle.js | 0 .../patch1/output.txt | 0 .../expectedOutput-2.3/bundle.js | 78 --- .../expectedOutput-2.3/bundle.transpiled.js | 78 --- .../expectedOutput-2.3/output.txt | 4 - .../expectedOutput-2.3/patch0/bundle.js | 78 --- .../patch0/bundle.transpiled.js | 78 --- .../expectedOutput-2.3/patch0/output.txt | 4 - .../expectedOutput-2.3/patch1/bundle.js | 78 --- .../patch1/bundle.transpiled.js | 78 --- .../expectedOutput-2.3/patch1/output.txt | 4 - .../expectedOutput-2.4/bundle.js | 78 --- .../expectedOutput-2.4/output.txt | 4 - .../expectedOutput-2.4/patch0/bundle.js | 78 --- .../expectedOutput-2.4/patch0/output.txt | 4 - .../expectedOutput-2.4/patch1/bundle.js | 78 --- .../expectedOutput-2.4/patch1/output.txt | 4 - .../expectedOutput-2.5/bundle.js | 75 --- .../expectedOutput-2.5/output.txt | 3 - .../expectedOutput-2.5/patch0/bundle.js | 75 --- .../expectedOutput-2.5/patch0/output.txt | 3 - .../expectedOutput-2.5/patch1/bundle.js | 75 --- .../expectedOutput-2.5/patch1/output.txt | 3 - .../expectedOutput-2.6/bundle.js | 75 --- .../expectedOutput-2.6/output.txt | 3 - .../expectedOutput-2.6/patch0/bundle.js | 75 --- .../expectedOutput-2.6/patch0/output.txt | 3 - .../expectedOutput-2.6/patch1/bundle.js | 75 --- .../expectedOutput-2.6/patch1/output.txt | 3 - .../expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../expectedOutput-2.7/output.txt | 5 - .../expectedOutput-2.7/patch0/bundle.js | 85 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.7/patch0/output.txt | 5 - .../expectedOutput-2.7/patch1/bundle.js | 85 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-2.7/patch1/output.txt | 5 - .../expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 5 - .../expectedOutput-2.8/output.txt | 4 - .../expectedOutput-2.8/patch0/bundle.js | 85 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.8/patch0/output.txt | 4 - .../expectedOutput-2.8/patch1/bundle.js | 85 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-2.8/patch1/output.txt | 4 - .../expectedOutput-2.9/bundle.js | 100 --- .../expectedOutput-2.9/output.transpiled.txt | 5 - .../expectedOutput-2.9/output.txt | 4 - .../expectedOutput-2.9/patch0/bundle.js | 100 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.9/patch0/output.txt | 4 - .../expectedOutput-2.9/patch1/bundle.js | 100 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-2.9/patch1/output.txt | 4 - .../expectedOutput-3.0/bundle.js | 100 --- .../expectedOutput-3.0/output.transpiled.txt | 5 - .../expectedOutput-3.0/output.txt | 4 - .../expectedOutput-3.0/patch0/bundle.js | 100 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.0/patch0/output.txt | 4 - .../expectedOutput-3.0/patch1/bundle.js | 100 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.0/patch1/output.txt | 4 - .../expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/output.transpiled.txt | 5 - .../expectedOutput-3.1/output.txt | 4 - .../expectedOutput-3.1/patch0/bundle.js | 100 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.1/patch0/output.txt | 4 - .../expectedOutput-3.1/patch1/bundle.js | 100 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.1/patch1/output.txt | 4 - .../expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/output.transpiled.txt | 5 - .../expectedOutput-3.2/output.txt | 4 - .../expectedOutput-3.2/patch0/bundle.js | 100 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.2/patch0/output.txt | 4 - .../expectedOutput-3.2/patch1/bundle.js | 100 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.2/patch1/output.txt | 4 - .../expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/output.transpiled.txt | 5 - .../expectedOutput-3.3/output.txt | 4 - .../expectedOutput-3.3/patch0/bundle.js | 100 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.3/patch0/output.txt | 4 - .../expectedOutput-3.3/patch1/bundle.js | 100 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.3/patch1/output.txt | 4 - .../expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/output.transpiled.txt | 5 - .../expectedOutput-3.4/output.txt | 4 - .../expectedOutput-3.4/patch0/bundle.js | 100 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.4/patch0/output.txt | 4 - .../expectedOutput-3.4/patch1/bundle.js | 100 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.4/patch1/output.txt | 4 - .../expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/output.transpiled.txt | 5 - .../expectedOutput-3.5/output.txt | 4 - .../expectedOutput-3.5/patch0/bundle.js | 100 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.5/patch0/output.txt | 4 - .../expectedOutput-3.5/patch1/bundle.js | 100 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.5/patch1/output.txt | 4 - .../expectedOutput-4.0}/bundle.js | 0 .../expectedOutput-4.0}/output.txt | 0 .../expectedOutput-4.0}/patch0/bundle.js | 0 .../expectedOutput-4.0}/patch0/output.txt | 0 .../expectedOutput-4.0}/patch1/bundle.js | 0 .../expectedOutput-4.0}/patch1/output.txt | 0 .../expectedOutput-transpile-4.0}/bundle.js | 0 .../expectedOutput-transpile-4.0}/output.txt | 0 .../patch0/bundle.js | 0 .../patch0/output.txt | 0 .../patch1/bundle.js | 0 .../patch1/output.txt | 0 .../expectedOutput-1.6/bundle.js | 52 -- .../expectedOutput-1.6/output.transpiled.txt | 4 - .../expectedOutput-1.6/output.txt | 7 - .../expectedOutput-1.7/bundle.js | 52 -- .../expectedOutput-1.7/output.transpiled.txt | 4 - .../expectedOutput-1.7/output.txt | 7 - .../expectedOutput-1.8/bundle.js | 52 -- .../expectedOutput-1.8/bundle.transpiled.js | 53 -- .../expectedOutput-1.8/output.transpiled.txt | 4 - .../expectedOutput-1.8/output.txt | 7 - .../expectedOutput-2.0/bundle.js | 52 -- .../expectedOutput-2.0/bundle.transpiled.js | 53 -- .../expectedOutput-2.0/output.transpiled.txt | 4 - .../expectedOutput-2.0/output.txt | 7 - .../expectedOutput-2.1/bundle.js | 78 --- .../expectedOutput-2.1/bundle.transpiled.js | 80 --- .../expectedOutput-2.1/output.transpiled.txt | 4 - .../expectedOutput-2.1/output.txt | 7 - .../expectedOutput-2.2/bundle.js | 78 --- .../expectedOutput-2.2/bundle.transpiled.js | 81 --- .../expectedOutput-2.2/output.transpiled.txt | 4 - .../expectedOutput-2.2/output.txt | 7 - .../expectedOutput-2.3/bundle.js | 78 --- .../expectedOutput-2.3/output.transpiled.txt | 4 - .../expectedOutput-2.3/output.txt | 7 - .../expectedOutput-2.4/bundle.js | 78 --- .../expectedOutput-2.4/output.transpiled.txt | 4 - .../expectedOutput-2.4/output.txt | 7 - .../expectedOutput-2.5/bundle.js | 75 --- .../expectedOutput-2.5/output.transpiled.txt | 3 - .../expectedOutput-2.5/output.txt | 7 - .../expectedOutput-2.6/bundle.js | 75 --- .../expectedOutput-2.6/output.transpiled.txt | 3 - .../expectedOutput-2.6/output.txt | 7 - .../expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../expectedOutput-2.7/output.txt | 10 - .../expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 4 - .../expectedOutput-2.8/output.txt | 9 - .../expectedOutput-3.0/output.transpiled.txt | 4 - .../expectedOutput-3.0/output.txt | 9 - .../expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/output.transpiled.txt | 4 - .../expectedOutput-3.1/output.txt | 9 - .../expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/output.transpiled.txt | 4 - .../expectedOutput-3.2/output.txt | 9 - .../expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/output.transpiled.txt | 4 - .../expectedOutput-3.3/output.txt | 9 - .../expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/output.transpiled.txt | 4 - .../expectedOutput-3.4/output.txt | 9 - .../expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/output.transpiled.txt | 4 - .../expectedOutput-3.5/output.txt | 9 - .../bundle.js | 0 .../output.txt | 0 .../bundle.js | 0 .../output.txt} | 0 .../expectedOutput-1.6/bundle.js | 80 --- .../expectedOutput-1.6/output.txt | 7 - .../expectedOutput-1.7/app.d.ts | 5 - .../expectedOutput-1.7/bundle.js | 80 --- .../expectedOutput-1.7/output.txt | 7 - .../expectedOutput-1.7/sub/dep.d.ts | 4 - .../expectedOutput-1.8/app.d.ts | 5 - .../expectedOutput-1.8/bundle.js | 82 --- .../expectedOutput-1.8/output.txt | 7 - .../expectedOutput-1.8/sub/dep.d.ts | 4 - .../expectedOutput-2.0/app.d.ts | 5 - .../expectedOutput-2.0/bundle.js | 82 --- .../expectedOutput-2.0/output.txt | 7 - .../expectedOutput-2.0/sub/dep.d.ts | 4 - .../expectedOutput-2.1/app.d.ts | 5 - .../expectedOutput-2.1/bundle.js | 110 ---- .../expectedOutput-2.1/output.txt | 7 - .../expectedOutput-2.1/sub/dep.d.ts | 4 - .../expectedOutput-2.2/app.d.ts | 5 - .../expectedOutput-2.2/bundle.js | 115 ---- .../expectedOutput-2.2/output.txt | 7 - .../expectedOutput-2.2/sub/dep.d.ts | 4 - .../expectedOutput-2.3/app.d.ts | 5 - .../expectedOutput-2.3/bundle.js | 115 ---- .../expectedOutput-2.3/output.txt | 7 - .../expectedOutput-2.3/sub/dep.d.ts | 4 - .../expectedOutput-2.4/app.d.ts | 5 - .../expectedOutput-2.4/bundle.js | 115 ---- .../expectedOutput-2.4/output.txt | 7 - .../expectedOutput-2.4/sub/dep.d.ts | 4 - .../expectedOutput-2.5/app.d.ts | 5 - .../expectedOutput-2.5/bundle.js | 112 ---- .../expectedOutput-2.5/output.txt | 6 - .../expectedOutput-2.5/sub/dep.d.ts | 4 - .../expectedOutput-2.6/app.d.ts | 5 - .../expectedOutput-2.6/bundle.js | 112 ---- .../expectedOutput-2.6/output.txt | 6 - .../expectedOutput-2.6/sub/dep.d.ts | 4 - .../expectedOutput-2.7/app.d.ts | 5 - .../expectedOutput-2.7/bundle.js | 98 --- .../expectedOutput-2.7/output.txt | 8 - .../expectedOutput-2.7/sub/dep.d.ts | 4 - .../expectedOutput-2.8/app.d.ts | 5 - .../expectedOutput-2.8/bundle.js | 98 --- .../expectedOutput-2.8/output.txt | 7 - .../expectedOutput-2.8/sub/dep.d.ts | 4 - .../expectedOutput-2.9/app.d.ts | 5 - .../expectedOutput-2.9/bundle.js | 113 ---- .../expectedOutput-2.9/output.txt | 7 - .../expectedOutput-2.9/sub/dep.d.ts | 4 - .../expectedOutput-3.0/app.d.ts | 5 - .../expectedOutput-3.0/bundle.js | 113 ---- .../expectedOutput-3.0/output.txt | 7 - .../expectedOutput-3.0/sub/dep.d.ts | 4 - .../expectedOutput-3.1/app.d.ts | 5 - .../expectedOutput-3.1/bundle.js | 113 ---- .../expectedOutput-3.1/output.txt | 7 - .../expectedOutput-3.1/sub/dep.d.ts | 4 - .../expectedOutput-3.2/app.d.ts | 5 - .../expectedOutput-3.2/bundle.js | 113 ---- .../expectedOutput-3.2/output.txt | 7 - .../expectedOutput-3.2/sub/dep.d.ts | 4 - .../expectedOutput-3.3/app.d.ts | 5 - .../expectedOutput-3.3/bundle.js | 113 ---- .../expectedOutput-3.3/output.txt | 7 - .../expectedOutput-3.3/sub/dep.d.ts | 4 - .../expectedOutput-3.4/app.d.ts | 5 - .../expectedOutput-3.4/bundle.js | 113 ---- .../expectedOutput-3.4/output.txt | 7 - .../expectedOutput-3.4/sub/dep.d.ts | 4 - .../expectedOutput-3.5/app.d.ts | 5 - .../expectedOutput-3.5/bundle.js | 113 ---- .../expectedOutput-3.5/output.txt | 7 - .../expectedOutput-3.5/sub/dep.d.ts | 4 - .../.output}/app.d.ts | 0 .../.output}/sub/dep.d.ts | 0 .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/output.txt | 7 + .../expectedOutput-3.0/bundle.js | 113 ---- .../expectedOutput-3.0/output.txt | 9 - .../expectedOutput-3.1/app.d.ts | 6 - .../expectedOutput-3.1/app.d.ts.map | 1 - .../expectedOutput-3.1/bundle.js | 113 ---- .../expectedOutput-3.1/output.txt | 9 - .../expectedOutput-3.1/sub/dep.d.ts | 5 - .../expectedOutput-3.1/sub/dep.d.ts.map | 1 - .../expectedOutput-3.2/app.d.ts | 6 - .../expectedOutput-3.2/app.d.ts.map | 1 - .../expectedOutput-3.2/bundle.js | 113 ---- .../expectedOutput-3.2/output.txt | 9 - .../expectedOutput-3.2/sub/dep.d.ts | 5 - .../expectedOutput-3.2/sub/dep.d.ts.map | 1 - .../expectedOutput-3.3/app.d.ts | 6 - .../expectedOutput-3.3/app.d.ts.map | 1 - .../expectedOutput-3.3/bundle.js | 113 ---- .../expectedOutput-3.3/output.txt | 9 - .../expectedOutput-3.3/sub/dep.d.ts | 5 - .../expectedOutput-3.3/sub/dep.d.ts.map | 1 - .../expectedOutput-3.4/app.d.ts | 6 - .../expectedOutput-3.4/app.d.ts.map | 1 - .../expectedOutput-3.4/bundle.js | 113 ---- .../expectedOutput-3.4/output.txt | 9 - .../expectedOutput-3.4/sub/dep.d.ts | 5 - .../expectedOutput-3.4/sub/dep.d.ts.map | 1 - .../expectedOutput-3.5/app.d.ts | 6 - .../expectedOutput-3.5/app.d.ts.map | 1 - .../expectedOutput-3.5/bundle.js | 113 ---- .../expectedOutput-3.5/output.txt | 9 - .../expectedOutput-3.5/sub/dep.d.ts | 5 - .../expectedOutput-3.5/sub/dep.d.ts.map | 1 - .../.output}/app.d.ts | 0 .../.output}/app.d.ts.map | 0 .../.output}/sub/dep.d.ts | 0 .../.output}/sub/dep.d.ts.map | 0 .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/output.txt | 9 + .../expectedOutput-1.6/bundle.js | 61 -- .../expectedOutput-1.6/output.txt | 5 - .../expectedOutput-1.6/patch0/bundle.js | 61 -- .../expectedOutput-1.6/patch0/output.txt | 11 - .../expectedOutput-1.6/patch1/bundle.js | 61 -- .../expectedOutput-1.6/patch1/output.txt | 5 - .../expectedOutput-1.7/bundle.js | 61 -- .../expectedOutput-1.7/output.txt | 5 - .../expectedOutput-1.7/patch0/bundle.js | 61 -- .../expectedOutput-1.7/patch0/output.txt | 11 - .../expectedOutput-1.7/patch1/bundle.js | 61 -- .../expectedOutput-1.7/patch1/output.txt | 5 - .../expectedOutput-1.8/bundle.js | 63 -- .../expectedOutput-1.8/output.txt | 5 - .../expectedOutput-1.8/patch0/bundle.js | 63 -- .../expectedOutput-1.8/patch0/output.txt | 11 - .../expectedOutput-1.8/patch1/bundle.js | 63 -- .../expectedOutput-1.8/patch1/output.txt | 5 - .../expectedOutput-2.0/bundle.js | 63 -- .../expectedOutput-2.0/output.txt | 5 - .../expectedOutput-2.0/patch0/bundle.js | 63 -- .../expectedOutput-2.0/patch0/output.txt | 11 - .../expectedOutput-2.0/patch1/bundle.js | 63 -- .../expectedOutput-2.0/patch1/output.txt | 5 - .../expectedOutput-2.1/bundle.js | 91 --- .../expectedOutput-2.1/output.txt | 5 - .../expectedOutput-2.1/patch0/bundle.js | 91 --- .../expectedOutput-2.1/patch0/output.txt | 11 - .../expectedOutput-2.1/patch1/bundle.js | 91 --- .../expectedOutput-2.1/patch1/output.txt | 5 - .../expectedOutput-2.2/bundle.js | 92 --- .../expectedOutput-2.2/output.txt | 5 - .../expectedOutput-2.2/patch0/bundle.js | 92 --- .../expectedOutput-2.2/patch0/output.txt | 11 - .../expectedOutput-2.2/patch1/bundle.js | 92 --- .../expectedOutput-2.2/patch1/output.txt | 5 - .../expectedOutput-2.3/bundle.js | 92 --- .../expectedOutput-2.3/output.txt | 5 - .../expectedOutput-2.3/patch0/bundle.js | 92 --- .../expectedOutput-2.3/patch0/output.txt | 11 - .../expectedOutput-2.3/patch1/bundle.js | 92 --- .../expectedOutput-2.3/patch1/output.txt | 5 - .../expectedOutput-2.4/bundle.js | 92 --- .../expectedOutput-2.4/output.txt | 5 - .../expectedOutput-2.4/patch0/bundle.js | 92 --- .../expectedOutput-2.4/patch0/output.txt | 11 - .../expectedOutput-2.4/patch1/bundle.js | 92 --- .../expectedOutput-2.4/patch1/output.txt | 5 - .../expectedOutput-2.5/bundle.js | 89 --- .../expectedOutput-2.5/output.txt | 4 - .../expectedOutput-2.5/patch1/bundle.js | 89 --- .../expectedOutput-2.5/patch1/output.txt | 4 - .../expectedOutput-2.6/bundle.js | 89 --- .../expectedOutput-2.6/output.txt | 4 - .../expectedOutput-2.6/patch1/bundle.js | 89 --- .../expectedOutput-2.6/patch1/output.txt | 4 - .../expectedOutput-2.7/bundle.js | 98 --- .../expectedOutput-2.7/output.txt | 6 - .../expectedOutput-2.7/patch0/bundle.js | 98 --- .../expectedOutput-2.7/patch0/output.txt | 16 - .../expectedOutput-2.7/patch1/bundle.js | 98 --- .../expectedOutput-2.7/patch1/output.txt | 6 - .../expectedOutput-2.8/bundle.js | 98 --- .../expectedOutput-2.8/output.txt | 5 - .../expectedOutput-2.8/patch0/bundle.js | 98 --- .../expectedOutput-2.8/patch0/output.txt | 15 - .../expectedOutput-2.8/patch1/bundle.js | 98 --- .../expectedOutput-2.8/patch1/output.txt | 5 - .../expectedOutput-3.0/bundle.js | 113 ---- .../expectedOutput-3.0/output.txt | 5 - .../expectedOutput-3.0/patch0/bundle.js | 113 ---- .../expectedOutput-3.0/patch0/output.txt | 15 - .../expectedOutput-3.0/patch1/bundle.js | 113 ---- .../expectedOutput-3.0/patch1/output.txt | 5 - .../expectedOutput-3.1/bundle.js | 113 ---- .../expectedOutput-3.1/output.txt | 5 - .../expectedOutput-3.1/patch0/bundle.js | 113 ---- .../expectedOutput-3.1/patch0/output.txt | 15 - .../expectedOutput-3.1/patch1/bundle.js | 113 ---- .../expectedOutput-3.1/patch1/output.txt | 5 - .../expectedOutput-3.2/bundle.js | 113 ---- .../expectedOutput-3.2/output.txt | 5 - .../expectedOutput-3.2/patch0/bundle.js | 113 ---- .../expectedOutput-3.2/patch0/output.txt | 15 - .../expectedOutput-3.2/patch1/bundle.js | 113 ---- .../expectedOutput-3.2/patch1/output.txt | 5 - .../expectedOutput-3.3/bundle.js | 113 ---- .../expectedOutput-3.3/output.txt | 5 - .../expectedOutput-3.3/patch0/bundle.js | 113 ---- .../expectedOutput-3.3/patch0/output.txt | 15 - .../expectedOutput-3.3/patch1/bundle.js | 113 ---- .../expectedOutput-3.3/patch1/output.txt | 5 - .../expectedOutput-3.4/bundle.js | 113 ---- .../expectedOutput-3.4/output.txt | 5 - .../expectedOutput-3.4/patch0/bundle.js | 113 ---- .../expectedOutput-3.4/patch0/output.txt | 15 - .../expectedOutput-3.4/patch1/bundle.js | 113 ---- .../expectedOutput-3.4/patch1/output.txt | 5 - .../expectedOutput-3.5/bundle.js | 113 ---- .../expectedOutput-3.5/output.txt | 5 - .../expectedOutput-3.5/patch0/bundle.js | 113 ---- .../expectedOutput-3.5/patch0/output.txt | 15 - .../expectedOutput-3.5/patch1/bundle.js | 113 ---- .../expectedOutput-3.5/patch1/output.txt | 5 - .../bundle.js | 0 .../output.txt | 0 .../patch0/bundle.js | 0 .../patch0/output.txt | 0 .../patch1/bundle.js | 0 .../patch1/output.txt | 0 .../expectedOutput-1.6/bundle.js | 72 --- .../expectedOutput-1.6/output.transpiled.txt | 6 - .../expectedOutput-1.6/output.txt | 12 - .../expectedOutput-1.6/patch0/bundle.js | 72 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-1.6/patch0/output.txt | 9 - .../expectedOutput-1.7/bundle.js | 72 --- .../expectedOutput-1.7/output.transpiled.txt | 6 - .../expectedOutput-1.7/output.txt | 12 - .../expectedOutput-1.7/patch0/bundle.js | 72 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-1.7/patch0/output.txt | 9 - .../expectedOutput-1.8/bundle.js | 75 --- .../expectedOutput-1.8/output.transpiled.txt | 6 - .../expectedOutput-1.8/output.txt | 12 - .../expectedOutput-1.8/patch0/bundle.js | 75 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-1.8/patch0/output.txt | 9 - .../expectedOutput-2.0/bundle.js | 75 --- .../expectedOutput-2.0/output.transpiled.txt | 6 - .../expectedOutput-2.0/output.txt | 12 - .../expectedOutput-2.0/patch0/bundle.js | 75 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.0/patch0/output.txt | 9 - .../expectedOutput-2.1/bundle.js | 104 --- .../expectedOutput-2.1/output.transpiled.txt | 6 - .../expectedOutput-2.1/output.txt | 12 - .../expectedOutput-2.1/patch0/bundle.js | 104 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.1/patch0/output.txt | 9 - .../expectedOutput-2.2/bundle.js | 105 --- .../expectedOutput-2.2/output.transpiled.txt | 6 - .../expectedOutput-2.2/output.txt | 12 - .../expectedOutput-2.2/patch0/bundle.js | 105 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.2/patch0/output.txt | 9 - .../expectedOutput-2.3/bundle.js | 105 --- .../expectedOutput-2.3/output.transpiled.txt | 6 - .../expectedOutput-2.3/output.txt | 12 - .../expectedOutput-2.3/patch0/bundle.js | 105 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.3/patch0/output.txt | 9 - .../expectedOutput-2.4/bundle.js | 105 --- .../expectedOutput-2.4/output.transpiled.txt | 6 - .../expectedOutput-2.4/output.txt | 12 - .../expectedOutput-2.4/patch0/bundle.js | 105 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.4/patch0/output.txt | 9 - .../expectedOutput-2.5/bundle.js | 102 --- .../expectedOutput-2.5/output.transpiled.txt | 5 - .../expectedOutput-2.5/output.txt | 13 - .../expectedOutput-2.5/patch0/bundle.js | 102 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.5/patch0/output.txt | 9 - .../expectedOutput-2.6/bundle.js | 102 --- .../expectedOutput-2.6/output.transpiled.txt | 5 - .../expectedOutput-2.6/output.txt | 13 - .../expectedOutput-2.6/patch0/bundle.js | 102 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.6/patch0/output.txt | 9 - .../expectedOutput-2.7/bundle.js | 110 ---- .../expectedOutput-2.7/output.transpiled.txt | 7 - .../expectedOutput-2.7/output.txt | 17 - .../expectedOutput-2.7/patch0/bundle.js | 110 ---- .../patch0/output.transpiled.txt | 7 - .../expectedOutput-2.7/patch0/output.txt | 12 - .../expectedOutput-2.8/bundle.js | 110 ---- .../expectedOutput-2.8/output.transpiled.txt | 6 - .../expectedOutput-2.8/output.txt | 16 - .../expectedOutput-2.8/patch0/bundle.js | 110 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.8/patch0/output.txt | 11 - .../expectedOutput-2.9/output.transpiled.txt | 6 - .../expectedOutput-2.9/output.txt | 16 - .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.9/patch0/output.txt | 11 - .../expectedOutput-3.0/bundle.js | 125 ---- .../expectedOutput-3.0/output.transpiled.txt | 6 - .../expectedOutput-3.0/output.txt | 16 - .../expectedOutput-3.0/patch0/bundle.js | 125 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.0/patch0/output.txt | 11 - .../expectedOutput-3.1/bundle.js | 125 ---- .../expectedOutput-3.1/output.transpiled.txt | 6 - .../expectedOutput-3.1/output.txt | 16 - .../expectedOutput-3.1/patch0/bundle.js | 125 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.1/patch0/output.txt | 11 - .../expectedOutput-3.2/bundle.js | 125 ---- .../expectedOutput-3.2/output.transpiled.txt | 6 - .../expectedOutput-3.2/output.txt | 16 - .../expectedOutput-3.2/patch0/bundle.js | 125 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.2/patch0/output.txt | 11 - .../expectedOutput-3.3/bundle.js | 125 ---- .../expectedOutput-3.3/output.transpiled.txt | 6 - .../expectedOutput-3.3/output.txt | 16 - .../expectedOutput-3.3/patch0/bundle.js | 125 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.3/patch0/output.txt | 11 - .../expectedOutput-3.4/bundle.js | 125 ---- .../expectedOutput-3.4/output.transpiled.txt | 6 - .../expectedOutput-3.4/output.txt | 16 - .../expectedOutput-3.4/patch0/bundle.js | 125 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.4/patch0/output.txt | 11 - .../expectedOutput-3.5/bundle.js | 125 ---- .../expectedOutput-3.5/output.transpiled.txt | 6 - .../expectedOutput-3.5/output.txt | 16 - .../expectedOutput-3.5/patch0/bundle.js | 125 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.5/patch0/output.txt | 11 - .../bundle.js | 0 .../expectedOutput-4.0/output.txt | 16 + .../patch0/bundle.js | 0 .../expectedOutput-4.0/patch0/output.txt | 11 + .../expectedOutput-transpile-4.0/bundle.js | 125 ++++ .../expectedOutput-transpile-4.0/output.txt | 6 + .../patch0/bundle.js | 125 ++++ .../patch0/output.txt | 6 + .../expectedOutput-2.5/bundle.js | 87 --- .../expectedOutput-2.5/output.transpiled.txt | 4 - .../expectedOutput-2.5/output.txt | 7 - .../expectedOutput-2.6/bundle.js | 87 --- .../expectedOutput-2.6/output.transpiled.txt | 4 - .../expectedOutput-2.6/output.txt | 7 - .../expectedOutput-2.7/bundle.js | 98 --- .../expectedOutput-2.7/output.transpiled.txt | 6 - .../expectedOutput-2.7/output.txt | 10 - .../expectedOutput-2.8/bundle.js | 98 --- .../expectedOutput-2.8/output.transpiled.txt | 5 - .../expectedOutput-2.8/output.txt | 9 - .../expectedOutput-2.9/bundle.js | 113 ---- .../expectedOutput-2.9/output.transpiled.txt | 5 - .../expectedOutput-2.9/output.txt | 9 - .../expectedOutput-3.0/bundle.js | 113 ---- .../expectedOutput-3.0/output.transpiled.txt | 5 - .../expectedOutput-3.0/output.txt | 9 - .../expectedOutput-3.1/bundle.js | 113 ---- .../expectedOutput-3.1/output.transpiled.txt | 5 - .../expectedOutput-3.1/output.txt | 9 - .../expectedOutput-3.2/bundle.js | 113 ---- .../expectedOutput-3.2/output.transpiled.txt | 5 - .../expectedOutput-3.2/output.txt | 9 - .../expectedOutput-3.3/bundle.js | 113 ---- .../expectedOutput-3.3/output.transpiled.txt | 5 - .../expectedOutput-3.3/output.txt | 9 - .../expectedOutput-3.4/bundle.js | 113 ---- .../expectedOutput-3.4/output.transpiled.txt | 5 - .../expectedOutput-3.4/output.txt | 9 - .../expectedOutput-3.5/bundle.js | 113 ---- .../expectedOutput-3.5/output.transpiled.txt | 5 - .../expectedOutput-3.5/output.txt | 9 - .../expectedOutput-4.0}/bundle.js | 0 .../expectedOutput-4.0/output.txt | 9 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../expectedOutput-transpile-4.0/output.txt | 5 + .../errors/expectedOutput-1.6/output.txt | 9 - .../errors/expectedOutput-1.7/output.txt | 9 - .../expectedOutput-1.8/output.transpiled.txt | 10 - .../errors/expectedOutput-1.8/output.txt | 9 - .../expectedOutput-2.0/output.transpiled.txt | 36 -- .../errors/expectedOutput-2.0/output.txt | 36 -- .../errors/expectedOutput-2.1/bundle.js | 76 --- .../expectedOutput-2.1/bundle.transpiled.js | 76 --- .../expectedOutput-2.1/output.transpiled.txt | 14 - .../errors/expectedOutput-2.1/output.txt | 13 - .../errors/expectedOutput-2.2/bundle.js | 76 --- .../expectedOutput-2.2/bundle.transpiled.js | 76 --- .../expectedOutput-2.2/output.transpiled.txt | 15 - .../errors/expectedOutput-2.2/output.txt | 13 - .../errors/expectedOutput-2.3/bundle.js | 76 --- .../expectedOutput-2.3/bundle.transpiled.js | 76 --- .../expectedOutput-2.3/output.transpiled.txt | 13 - .../errors/expectedOutput-2.3/output.txt | 13 - .../errors/expectedOutput-2.4/bundle.js | 76 --- .../expectedOutput-2.4/bundle.transpiled.js | 76 --- .../expectedOutput-2.4/output.transpiled.txt | 13 - .../errors/expectedOutput-2.4/output.txt | 13 - .../errors/expectedOutput-2.5/bundle.js | 73 --- .../errors/expectedOutput-2.5/output.txt | 13 - .../errors/expectedOutput-2.6/bundle.js | 73 --- .../errors/expectedOutput-2.6/output.txt | 13 - .../errors/expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/output.transpiled.txt | 17 - .../errors/expectedOutput-2.7/output.txt | 17 - .../errors/expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 16 - .../errors/expectedOutput-2.8/output.txt | 16 - .../errors/expectedOutput-2.9/bundle.js | 100 --- .../expectedOutput-2.9/output.transpiled.txt | 16 - .../errors/expectedOutput-2.9/output.txt | 16 - .../errors/expectedOutput-3.0/bundle.js | 100 --- .../expectedOutput-3.0/output.transpiled.txt | 16 - .../errors/expectedOutput-3.0/output.txt | 16 - .../errors/expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/output.transpiled.txt | 16 - .../errors/expectedOutput-3.1/output.txt | 16 - .../errors/expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/output.transpiled.txt | 16 - .../errors/expectedOutput-3.2/output.txt | 16 - .../errors/expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/output.transpiled.txt | 16 - .../errors/expectedOutput-3.3/output.txt | 16 - .../errors/expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/output.transpiled.txt | 16 - .../errors/expectedOutput-3.4/output.txt | 16 - .../errors/expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/output.transpiled.txt | 16 - .../errors/expectedOutput-3.5/output.txt | 16 - .../errors/expectedOutput-4.0/bundle.js | 100 +++ .../errors/expectedOutput-4.0/output.txt | 18 + .../expectedOutput-transpile-4.0/bundle.js | 100 +++ .../expectedOutput-transpile-4.0/output.txt | 18 + .../es3/expectedOutput-1.6/bundle.js | 51 -- .../expectedOutput-1.6/output.transpiled.txt | 4 - .../es3/expectedOutput-1.6/output.txt | 7 - .../es3/expectedOutput-1.7/bundle.js | 51 -- .../expectedOutput-1.7/output.transpiled.txt | 4 - .../es3/expectedOutput-1.7/output.txt | 7 - .../es3/expectedOutput-1.8/bundle.js | 51 -- .../expectedOutput-1.8/bundle.transpiled.js | 52 -- .../expectedOutput-1.8/output.transpiled.txt | 4 - .../es3/expectedOutput-1.8/output.txt | 7 - .../es3/expectedOutput-2.0/bundle.js | 51 -- .../expectedOutput-2.0/bundle.transpiled.js | 52 -- .../expectedOutput-2.0/output.transpiled.txt | 4 - .../es3/expectedOutput-2.0/output.txt | 7 - .../es3/expectedOutput-2.1/bundle.js | 77 --- .../expectedOutput-2.1/bundle.transpiled.js | 79 --- .../expectedOutput-2.1/output.transpiled.txt | 4 - .../es3/expectedOutput-2.1/output.txt | 7 - .../es3/expectedOutput-2.2/bundle.js | 77 --- .../expectedOutput-2.2/bundle.transpiled.js | 80 --- .../expectedOutput-2.2/output.transpiled.txt | 4 - .../es3/expectedOutput-2.2/output.txt | 7 - .../es3/expectedOutput-2.3/bundle.js | 77 --- .../expectedOutput-2.3/output.transpiled.txt | 4 - .../es3/expectedOutput-2.3/output.txt | 7 - .../es3/expectedOutput-2.4/bundle.js | 77 --- .../expectedOutput-2.4/output.transpiled.txt | 4 - .../es3/expectedOutput-2.4/output.txt | 7 - .../es3/expectedOutput-2.5/bundle.js | 74 --- .../expectedOutput-2.5/output.transpiled.txt | 3 - .../es3/expectedOutput-2.5/output.txt | 7 - .../es3/expectedOutput-2.6/bundle.js | 74 --- .../expectedOutput-2.6/output.transpiled.txt | 3 - .../es3/expectedOutput-2.6/output.txt | 7 - .../es3/expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../es3/expectedOutput-2.7/output.txt | 10 - .../es3/expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 4 - .../es3/expectedOutput-2.8/output.txt | 9 - .../expectedOutput-3.0/output.transpiled.txt | 4 - .../es3/expectedOutput-3.0/output.txt | 9 - .../es3/expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/output.transpiled.txt | 4 - .../es3/expectedOutput-3.1/output.txt | 9 - .../es3/expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/output.transpiled.txt | 4 - .../es3/expectedOutput-3.2/output.txt | 9 - .../es3/expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/output.transpiled.txt | 4 - .../es3/expectedOutput-3.3/output.txt | 9 - .../es3/expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/output.transpiled.txt | 4 - .../es3/expectedOutput-3.4/output.txt | 9 - .../es3/expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/output.transpiled.txt | 4 - .../es3/expectedOutput-3.5/output.txt | 9 - .../bundle.js | 0 .../output.txt | 0 .../bundle.js | 0 .../output.txt} | 0 .../es5/expectedOutput-1.6/bundle.js | 52 -- .../expectedOutput-1.6/output.transpiled.txt | 4 - .../es5/expectedOutput-1.6/output.txt | 7 - .../es5/expectedOutput-1.7/bundle.js | 52 -- .../expectedOutput-1.7/output.transpiled.txt | 4 - .../es5/expectedOutput-1.7/output.txt | 7 - .../es5/expectedOutput-1.8/bundle.js | 52 -- .../expectedOutput-1.8/bundle.transpiled.js | 53 -- .../expectedOutput-1.8/output.transpiled.txt | 4 - .../es5/expectedOutput-1.8/output.txt | 7 - .../es5/expectedOutput-2.0/bundle.js | 52 -- .../expectedOutput-2.0/bundle.transpiled.js | 53 -- .../expectedOutput-2.0/output.transpiled.txt | 4 - .../es5/expectedOutput-2.0/output.txt | 7 - .../es5/expectedOutput-2.1/bundle.js | 78 --- .../expectedOutput-2.1/bundle.transpiled.js | 80 --- .../expectedOutput-2.1/output.transpiled.txt | 4 - .../es5/expectedOutput-2.1/output.txt | 7 - .../es5/expectedOutput-2.2/bundle.js | 78 --- .../expectedOutput-2.2/bundle.transpiled.js | 81 --- .../expectedOutput-2.2/output.transpiled.txt | 4 - .../es5/expectedOutput-2.2/output.txt | 7 - .../es5/expectedOutput-2.3/bundle.js | 78 --- .../expectedOutput-2.3/output.transpiled.txt | 4 - .../es5/expectedOutput-2.3/output.txt | 7 - .../es5/expectedOutput-2.4/bundle.js | 78 --- .../expectedOutput-2.4/output.transpiled.txt | 4 - .../es5/expectedOutput-2.4/output.txt | 7 - .../es5/expectedOutput-2.5/bundle.js | 75 --- .../expectedOutput-2.5/output.transpiled.txt | 3 - .../es5/expectedOutput-2.5/output.txt | 7 - .../es5/expectedOutput-2.6/bundle.js | 75 --- .../expectedOutput-2.6/output.transpiled.txt | 3 - .../es5/expectedOutput-2.6/output.txt | 7 - .../es5/expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../es5/expectedOutput-2.7/output.txt | 10 - .../es5/expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 4 - .../es5/expectedOutput-2.8/output.txt | 9 - .../expectedOutput-2.9/output.transpiled.txt | 4 - .../es5/expectedOutput-2.9/output.txt | 9 - .../expectedOutput-3.0/output.transpiled.txt | 4 - .../es5/expectedOutput-3.0/output.txt | 9 - .../es5/expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/output.transpiled.txt | 4 - .../es5/expectedOutput-3.1/output.txt | 9 - .../es5/expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/output.transpiled.txt | 4 - .../es5/expectedOutput-3.2/output.txt | 9 - .../es5/expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/output.transpiled.txt | 4 - .../es5/expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/output.transpiled.txt | 4 - .../es5/expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/output.transpiled.txt | 4 - .../es5/expectedOutput-3.5/output.txt | 4 - .../bundle.js | 0 .../output.txt | 0 .../bundle.js | 0 .../output.txt | 0 .../es6/expectedOutput-1.6/bundle.js | 52 -- .../es6/expectedOutput-1.6/output.txt | 4 - .../es6/expectedOutput-1.7/bundle.js | 52 -- .../es6/expectedOutput-1.7/output.txt | 4 - .../es6/expectedOutput-1.8/bundle.js | 52 -- .../es6/expectedOutput-1.8/output.txt | 4 - .../es6/expectedOutput-2.0/bundle.js | 52 -- .../es6/expectedOutput-2.0/output.txt | 4 - .../es6/expectedOutput-2.1/bundle.js | 78 --- .../es6/expectedOutput-2.1/output.txt | 4 - .../es6/expectedOutput-2.2/bundle.js | 78 --- .../es6/expectedOutput-2.2/output.txt | 4 - .../es6/expectedOutput-2.3/bundle.js | 78 --- .../es6/expectedOutput-2.3/output.txt | 4 - .../es6/expectedOutput-2.4/bundle.js | 78 --- .../es6/expectedOutput-2.4/output.txt | 4 - .../es6/expectedOutput-2.5/bundle.js | 75 --- .../es6/expectedOutput-2.5/output.txt | 3 - .../es6/expectedOutput-2.6/bundle.js | 75 --- .../es6/expectedOutput-2.6/output.txt | 3 - .../es6/expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../es6/expectedOutput-2.7/output.txt | 5 - .../es6/expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 5 - .../es6/expectedOutput-2.8/output.txt | 4 - .../expectedOutput-2.9/output.transpiled.txt | 5 - .../expectedOutput-3.0/output.transpiled.txt | 5 - .../es6/expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/output.transpiled.txt | 5 - .../es6/expectedOutput-3.1/output.txt | 4 - .../es6/expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/output.transpiled.txt | 5 - .../es6/expectedOutput-3.2/output.txt | 4 - .../es6/expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/output.transpiled.txt | 5 - .../es6/expectedOutput-3.3/output.txt | 4 - .../es6/expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/output.transpiled.txt | 5 - .../es6/expectedOutput-3.4/output.txt | 4 - .../es6/expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/output.transpiled.txt | 5 - .../es6/expectedOutput-3.5/output.txt | 4 - .../bundle.js | 0 .../output.txt | 0 .../bundle.js | 0 .../output.txt | 0 .../expectedOutput-1.6/1.bundle.js | 21 - .../expectedOutput-1.6/bundle.js | 138 ---- .../expectedOutput-1.6/output.txt | 10 - .../expectedOutput-1.7/1.bundle.js | 21 - .../expectedOutput-1.7/bundle.js | 138 ---- .../expectedOutput-1.7/output.txt | 10 - .../expectedOutput-1.8/1.bundle.js | 23 - .../expectedOutput-1.8/bundle.js | 141 ---- .../expectedOutput-1.8/output.txt | 10 - .../expectedOutput-2.0/1.bundle.js | 23 - .../expectedOutput-2.0/bundle.js | 141 ---- .../expectedOutput-2.0/output.txt | 10 - .../expectedOutput-2.1/0.bundle.js | 22 - .../expectedOutput-2.1/bundle.js | 195 ------ .../expectedOutput-2.1/output.txt | 10 - .../expectedOutput-2.2/0.bundle.js | 22 - .../expectedOutput-2.2/bundle.js | 203 ------ .../expectedOutput-2.2/output.txt | 10 - .../expectedOutput-2.3/0.bundle.js | 22 - .../expectedOutput-2.3/bundle.js | 204 ------ .../expectedOutput-2.3/output.txt | 10 - .../expectedOutput-2.4/0.bundle.js | 22 - .../expectedOutput-2.4/bundle.js | 204 ------ .../expectedOutput-2.4/output.txt | 10 - .../expectedOutput-2.5/0.bundle.js | 22 - .../expectedOutput-2.5/bundle.js | 201 ------ .../expectedOutput-2.5/output.txt | 8 - .../expectedOutput-2.6/0.bundle.js | 22 - .../expectedOutput-2.6/bundle.js | 201 ------ .../expectedOutput-2.6/output.txt | 8 - .../expectedOutput-2.7/bundle.js | 213 ------- .../expectedOutput-2.7/output.transpiled.txt | 10 - .../expectedOutput-2.7/output.txt | 10 - .../expectedOutput-2.8/bundle.js | 213 ------- .../expectedOutput-2.8/output.transpiled.txt | 10 - .../expectedOutput-2.8/output.txt | 9 - .../expectedOutput-2.9/0.bundle.js | 27 - .../expectedOutput-2.9/bundle.js | 236 ------- .../expectedOutput-2.9/output.transpiled.txt | 10 - .../expectedOutput-2.9/output.txt | 9 - .../expectedOutput-3.0/0.bundle.js | 27 - .../expectedOutput-3.0/bundle.js | 238 ------- .../expectedOutput-3.0/output.transpiled.txt | 10 - .../expectedOutput-3.0/output.txt | 9 - .../expectedOutput-3.1/0.bundle.js | 27 - .../expectedOutput-3.1/bundle.js | 238 ------- .../expectedOutput-3.1/output.transpiled.txt | 10 - .../expectedOutput-3.1/output.txt | 9 - .../expectedOutput-3.2/0.bundle.js | 27 - .../expectedOutput-3.2/bundle.js | 238 ------- .../expectedOutput-3.2/output.transpiled.txt | 10 - .../expectedOutput-3.2/output.txt | 9 - .../expectedOutput-3.3/0.bundle.js | 27 - .../expectedOutput-3.3/bundle.js | 238 ------- .../expectedOutput-3.3/output.transpiled.txt | 10 - .../expectedOutput-3.3/output.txt | 9 - .../expectedOutput-3.4/0.bundle.js | 27 - .../expectedOutput-3.4/bundle.js | 238 ------- .../expectedOutput-3.4/output.transpiled.txt | 10 - .../expectedOutput-3.4/output.txt | 9 - .../expectedOutput-3.5/0.bundle.js | 27 - .../expectedOutput-3.5/bundle.js | 238 ------- .../expectedOutput-3.5/output.transpiled.txt | 10 - .../expectedOutput-3.5/output.txt | 9 - .../0.bundle.js | 0 .../expectedOutput-4.0/bundle.js | 240 +++++++ .../expectedOutput-4.0/output.txt | 9 + .../0.bundle.js | 0 .../expectedOutput-transpile-4.0/bundle.js | 240 +++++++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../es6withCJS/expectedOutput-1.6/output.txt | 6 - .../es6withCJS/expectedOutput-1.7/bundle.js | 51 -- .../es6withCJS/expectedOutput-1.7/output.txt | 4 - .../es6withCJS/expectedOutput-1.8/bundle.js | 53 -- .../es6withCJS/expectedOutput-1.8/output.txt | 4 - .../es6withCJS/expectedOutput-2.0/bundle.js | 53 -- .../es6withCJS/expectedOutput-2.0/output.txt | 4 - .../es6withCJS/expectedOutput-2.1/bundle.js | 80 --- .../es6withCJS/expectedOutput-2.1/output.txt | 4 - .../es6withCJS/expectedOutput-2.2/bundle.js | 80 --- .../es6withCJS/expectedOutput-2.2/output.txt | 4 - .../es6withCJS/expectedOutput-2.3/bundle.js | 80 --- .../es6withCJS/expectedOutput-2.3/output.txt | 4 - .../es6withCJS/expectedOutput-2.4/bundle.js | 80 --- .../es6withCJS/expectedOutput-2.4/output.txt | 4 - .../es6withCJS/expectedOutput-2.5/bundle.js | 77 --- .../es6withCJS/expectedOutput-2.5/output.txt | 3 - .../es6withCJS/expectedOutput-2.6/bundle.js | 77 --- .../es6withCJS/expectedOutput-2.6/output.txt | 3 - .../es6withCJS/expectedOutput-2.7/bundle.js | 86 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../es6withCJS/expectedOutput-2.7/output.txt | 5 - .../es6withCJS/expectedOutput-2.8/bundle.js | 86 --- .../expectedOutput-2.8/output.transpiled.txt | 5 - .../es6withCJS/expectedOutput-2.8/output.txt | 4 - .../expectedOutput-2.9/output.transpiled.txt | 5 - .../expectedOutput-3.0/output.transpiled.txt | 5 - .../es6withCJS/expectedOutput-3.1/bundle.js | 101 --- .../expectedOutput-3.1/output.transpiled.txt | 5 - .../es6withCJS/expectedOutput-3.1/output.txt | 4 - .../es6withCJS/expectedOutput-3.2/bundle.js | 101 --- .../expectedOutput-3.2/output.transpiled.txt | 5 - .../es6withCJS/expectedOutput-3.2/output.txt | 4 - .../es6withCJS/expectedOutput-3.3/bundle.js | 101 --- .../expectedOutput-3.3/output.transpiled.txt | 5 - .../es6withCJS/expectedOutput-3.3/output.txt | 4 - .../es6withCJS/expectedOutput-3.4/bundle.js | 101 --- .../expectedOutput-3.4/output.transpiled.txt | 5 - .../es6withCJS/expectedOutput-3.4/output.txt | 4 - .../es6withCJS/expectedOutput-3.5/bundle.js | 101 --- .../expectedOutput-3.5/output.transpiled.txt | 5 - .../es6withCJS/expectedOutput-3.5/output.txt | 4 - .../bundle.js | 0 .../output.txt | 0 .../bundle.js | 0 .../output.txt | 0 .../externals/expectedOutput-1.6/bundle.js | 58 -- .../externals/expectedOutput-1.6/output.txt | 5 - .../externals/expectedOutput-1.7/bundle.js | 58 -- .../externals/expectedOutput-1.7/output.txt | 5 - .../externals/expectedOutput-1.8/bundle.js | 59 -- .../externals/expectedOutput-1.8/output.txt | 5 - .../externals/expectedOutput-2.0/bundle.js | 59 -- .../externals/expectedOutput-2.0/output.txt | 5 - .../externals/expectedOutput-2.1/bundle.js | 86 --- .../externals/expectedOutput-2.1/output.txt | 5 - .../externals/expectedOutput-2.2/bundle.js | 87 --- .../externals/expectedOutput-2.2/output.txt | 5 - .../externals/expectedOutput-2.3/bundle.js | 87 --- .../externals/expectedOutput-2.3/output.txt | 5 - .../externals/expectedOutput-2.4/bundle.js | 87 --- .../externals/expectedOutput-2.4/output.txt | 5 - .../externals/expectedOutput-2.5/bundle.js | 84 --- .../externals/expectedOutput-2.5/output.txt | 4 - .../externals/expectedOutput-2.6/bundle.js | 84 --- .../externals/expectedOutput-2.6/output.txt | 4 - .../externals/expectedOutput-2.7/bundle.js | 97 --- .../expectedOutput-2.7/output.transpiled.txt | 6 - .../externals/expectedOutput-2.7/output.txt | 6 - .../externals/expectedOutput-2.8/bundle.js | 97 --- .../expectedOutput-2.8/output.transpiled.txt | 6 - .../externals/expectedOutput-2.8/output.txt | 5 - .../expectedOutput-2.9/output.transpiled.txt | 6 - .../externals/expectedOutput-3.0/bundle.js | 112 ---- .../expectedOutput-3.0/output.transpiled.txt | 6 - .../externals/expectedOutput-3.0/output.txt | 5 - .../externals/expectedOutput-3.1/bundle.js | 112 ---- .../expectedOutput-3.1/output.transpiled.txt | 6 - .../externals/expectedOutput-3.1/output.txt | 5 - .../externals/expectedOutput-3.2/bundle.js | 112 ---- .../expectedOutput-3.2/output.transpiled.txt | 6 - .../externals/expectedOutput-3.2/output.txt | 5 - .../externals/expectedOutput-3.3/bundle.js | 112 ---- .../expectedOutput-3.3/output.transpiled.txt | 6 - .../externals/expectedOutput-3.3/output.txt | 5 - .../externals/expectedOutput-3.4/bundle.js | 112 ---- .../expectedOutput-3.4/output.transpiled.txt | 6 - .../externals/expectedOutput-3.4/output.txt | 5 - .../externals/expectedOutput-3.5/bundle.js | 112 ---- .../expectedOutput-3.5/output.transpiled.txt | 6 - .../externals/expectedOutput-3.5/output.txt | 5 - .../bundle.js | 0 .../output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 112 ++++ .../expectedOutput-transpile-4.0/output.txt | 5 + .../expectedOutput-1.6/bundle.js | 51 -- .../expectedOutput-1.6/output.txt | 12 - .../expectedOutput-1.7/bundle.js | 51 -- .../expectedOutput-1.7/index.html | 9 - .../expectedOutput-1.7/output.txt | 12 - .../expectedOutput-1.8/bundle.js | 51 -- .../expectedOutput-1.8/bundle.transpiled.js | 52 -- .../expectedOutput-1.8/index.html | 9 - .../expectedOutput-1.8/output.transpiled.txt | 12 - .../expectedOutput-1.8/output.txt | 12 - .../expectedOutput-2.0/bundle.js | 51 -- .../expectedOutput-2.0/bundle.transpiled.js | 52 -- .../expectedOutput-2.0/index.html | 9 - .../expectedOutput-2.0/output.transpiled.txt | 12 - .../expectedOutput-2.0/output.txt | 12 - .../expectedOutput-2.1/bundle.js | 77 --- .../expectedOutput-2.1/bundle.transpiled.js | 79 --- .../expectedOutput-2.1/index.html | 9 - .../expectedOutput-2.1/output.transpiled.txt | 13 - .../expectedOutput-2.1/output.txt | 13 - .../expectedOutput-2.2/bundle.js | 77 --- .../expectedOutput-2.2/bundle.transpiled.js | 80 --- .../expectedOutput-2.2/index.html | 9 - .../expectedOutput-2.2/output.transpiled.txt | 13 - .../expectedOutput-2.2/output.txt | 13 - .../expectedOutput-2.3/bundle.js | 77 --- .../expectedOutput-2.3/bundle.transpiled.js | 80 --- .../expectedOutput-2.3/index.html | 9 - .../expectedOutput-2.3/output.transpiled.txt | 13 - .../expectedOutput-2.3/output.txt | 13 - .../expectedOutput-2.4/bundle.js | 77 --- .../expectedOutput-2.4/bundle.transpiled.js | 80 --- .../expectedOutput-2.4/index.html | 9 - .../expectedOutput-2.4/output.transpiled.txt | 13 - .../expectedOutput-2.4/output.txt | 13 - .../expectedOutput-2.5/bundle.js | 74 --- .../expectedOutput-2.5/index.html | 9 - .../expectedOutput-2.5/output.txt | 11 - .../expectedOutput-2.6/bundle.js | 74 --- .../expectedOutput-2.6/index.html | 9 - .../expectedOutput-2.6/output.txt | 11 - .../expectedOutput-2.7/index.html | 9 - .../expectedOutput-2.7/output.transpiled.txt | 14 - .../expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/index.html | 9 - .../expectedOutput-2.8/output.transpiled.txt | 14 - .../expectedOutput-2.8/output.txt | 14 - .../expectedOutput-2.9/bundle.js | 85 --- .../expectedOutput-2.9/index.html | 9 - .../expectedOutput-2.9/output.transpiled.txt | 14 - .../expectedOutput-2.9/output.txt | 14 - .../expectedOutput-3.0/bundle.js | 85 --- .../expectedOutput-3.0/index.html | 9 - .../expectedOutput-3.0/output.transpiled.txt | 14 - .../expectedOutput-3.0/output.txt | 14 - .../expectedOutput-3.1/bundle.js | 85 --- .../expectedOutput-3.1/index.html | 9 - .../expectedOutput-3.1/output.transpiled.txt | 14 - .../expectedOutput-3.1/output.txt | 14 - .../expectedOutput-3.2/bundle.js | 85 --- .../expectedOutput-3.2/index.html | 9 - .../expectedOutput-3.2/output.transpiled.txt | 14 - .../expectedOutput-3.2/output.txt | 14 - .../expectedOutput-3.3/bundle.js | 85 --- .../expectedOutput-3.3/index.html | 9 - .../expectedOutput-3.3/output.transpiled.txt | 14 - .../expectedOutput-3.3/output.txt | 14 - .../expectedOutput-3.4/bundle.js | 85 --- .../expectedOutput-3.4/index.html | 9 - .../expectedOutput-3.4/output.transpiled.txt | 14 - .../expectedOutput-3.4/output.txt | 14 - .../expectedOutput-3.5/bundle.js | 85 --- .../expectedOutput-3.5/index.html | 9 - .../expectedOutput-3.5/output.transpiled.txt | 14 - .../expectedOutput-3.5/output.txt | 14 - .../bundle.js | 0 .../index.html | 0 .../output.txt | 0 .../expectedOutput-1.6/bundle.js | 63 -- .../expectedOutput-1.6/output.transpiled.txt | 4 - .../expectedOutput-1.6/output.txt | 8 - .../expectedOutput-1.7/bundle.js | 63 -- .../expectedOutput-1.7/output.transpiled.txt | 4 - .../expectedOutput-1.7/output.txt | 8 - .../expectedOutput-1.8/bundle.js | 64 -- .../expectedOutput-1.8/output.transpiled.txt | 4 - .../expectedOutput-1.8/output.txt | 7 - .../expectedOutput-2.0/bundle.js | 64 -- .../expectedOutput-2.0/output.transpiled.txt | 4 - .../expectedOutput-2.0/output.txt | 7 - .../expectedOutput-2.1/bundle.js | 90 --- .../expectedOutput-2.1/output.transpiled.txt | 4 - .../expectedOutput-2.1/output.txt | 7 - .../expectedOutput-2.2/bundle.js | 90 --- .../expectedOutput-2.2/output.transpiled.txt | 4 - .../expectedOutput-2.2/output.txt | 7 - .../expectedOutput-2.3/bundle.js | 90 --- .../expectedOutput-2.3/output.transpiled.txt | 4 - .../expectedOutput-2.3/output.txt | 7 - .../expectedOutput-2.4/bundle.js | 90 --- .../expectedOutput-2.4/output.transpiled.txt | 4 - .../expectedOutput-2.4/output.txt | 7 - .../expectedOutput-2.5/bundle.js | 87 --- .../expectedOutput-2.5/output.transpiled.txt | 3 - .../expectedOutput-2.5/output.txt | 7 - .../expectedOutput-2.6/bundle.js | 87 --- .../expectedOutput-2.6/output.transpiled.txt | 3 - .../expectedOutput-2.6/output.txt | 7 - .../expectedOutput-2.7/bundle.js | 86 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../expectedOutput-2.7/output.txt | 10 - .../expectedOutput-2.8/bundle.js | 86 --- .../expectedOutput-2.8/output.transpiled.txt | 4 - .../expectedOutput-2.8/output.txt | 9 - .../expectedOutput-2.9/bundle.js | 101 --- .../expectedOutput-2.9/output.transpiled.txt | 4 - .../expectedOutput-2.9/output.txt | 9 - .../expectedOutput-3.0/bundle.js | 101 --- .../expectedOutput-3.0/output.transpiled.txt | 4 - .../expectedOutput-3.0/output.txt | 9 - .../expectedOutput-3.1/bundle.js | 101 --- .../expectedOutput-3.1/output.transpiled.txt | 4 - .../expectedOutput-3.1/output.txt | 9 - .../expectedOutput-3.2/bundle.js | 101 --- .../expectedOutput-3.2/output.transpiled.txt | 4 - .../expectedOutput-3.2/output.txt | 9 - .../expectedOutput-3.3/bundle.js | 101 --- .../expectedOutput-3.3/output.transpiled.txt | 4 - .../expectedOutput-3.3/output.txt | 9 - .../expectedOutput-3.4/bundle.js | 101 --- .../expectedOutput-3.4/output.transpiled.txt | 4 - .../expectedOutput-3.4/output.txt | 9 - .../expectedOutput-3.5/bundle.js | 101 --- .../expectedOutput-3.5/output.transpiled.txt | 4 - .../expectedOutput-3.5/output.txt | 9 - .../expectedOutput-4.0/bundle.js | 101 +++ .../expectedOutput-4.0/output.txt | 9 + .../expectedOutput-transpile-4.0/bundle.js | 101 +++ .../expectedOutput-transpile-4.0/output.txt | 4 + .../importsWatch/expectedOutput-2.0/bundle.js | 53 -- .../expectedOutput-2.0/output.txt | 4 - .../expectedOutput-2.0/patch0/bundle.js | 53 -- .../expectedOutput-2.0/patch0/output.txt | 4 - .../expectedOutput-2.0/patch1/bundle.js | 53 -- .../expectedOutput-2.0/patch1/output.txt | 7 - .../importsWatch/expectedOutput-2.1/bundle.js | 80 --- .../expectedOutput-2.1/output.txt | 4 - .../expectedOutput-2.1/patch0/bundle.js | 80 --- .../expectedOutput-2.1/patch0/output.txt | 4 - .../expectedOutput-2.1/patch1/bundle.js | 80 --- .../expectedOutput-2.1/patch1/output.txt | 7 - .../importsWatch/expectedOutput-2.2/bundle.js | 81 --- .../expectedOutput-2.2/output.txt | 4 - .../expectedOutput-2.2/patch1/bundle.js | 81 --- .../expectedOutput-2.2/patch1/output.txt | 7 - .../importsWatch/expectedOutput-2.3/bundle.js | 81 --- .../expectedOutput-2.3/output.txt | 4 - .../expectedOutput-2.3/patch1/bundle.js | 81 --- .../expectedOutput-2.3/patch1/output.txt | 7 - .../importsWatch/expectedOutput-2.4/bundle.js | 81 --- .../expectedOutput-2.4/output.txt | 4 - .../expectedOutput-2.4/patch1/bundle.js | 81 --- .../expectedOutput-2.4/patch1/output.txt | 7 - .../importsWatch/expectedOutput-2.5/bundle.js | 78 --- .../expectedOutput-2.5/output.txt | 3 - .../expectedOutput-2.5/patch1/bundle.js | 78 --- .../expectedOutput-2.5/patch1/output.txt | 7 - .../importsWatch/expectedOutput-2.6/bundle.js | 78 --- .../expectedOutput-2.6/output.txt | 3 - .../expectedOutput-2.6/patch1/bundle.js | 78 --- .../expectedOutput-2.6/patch1/output.txt | 7 - .../importsWatch/expectedOutput-2.7/bundle.js | 86 --- .../expectedOutput-2.7/output.txt | 5 - .../importsWatch/expectedOutput-2.8/bundle.js | 86 --- .../expectedOutput-2.8/output.txt | 4 - .../expectedOutput-3.3/output.txt | 4 - .../importsWatch/expectedOutput-3.4/bundle.js | 101 --- .../expectedOutput-3.4/output.txt | 4 - .../importsWatch/expectedOutput-3.5/bundle.js | 101 --- .../expectedOutput-3.5/output.txt | 4 - .../bundle.js | 0 .../output.txt | 0 .../patch1}/bundle.js | 0 .../expectedOutput-4.0/patch1/output.txt | 9 + .../instance/expectedOutput-1.6/bundle.js | 50 -- .../instance/expectedOutput-1.6/output.txt | 6 - .../instance/expectedOutput-1.7/bundle.js | 50 -- .../instance/expectedOutput-1.7/output.txt | 6 - .../instance/expectedOutput-1.8/bundle.js | 50 -- .../expectedOutput-1.8/bundle.transpiled.js | 51 -- .../expectedOutput-1.8/output.transpiled.txt | 6 - .../instance/expectedOutput-1.8/output.txt | 6 - .../instance/expectedOutput-2.0/bundle.js | 50 -- .../expectedOutput-2.0/bundle.transpiled.js | 51 -- .../expectedOutput-2.0/output.transpiled.txt | 6 - .../instance/expectedOutput-2.0/output.txt | 9 - .../instance/expectedOutput-2.1/bundle.js | 77 --- .../expectedOutput-2.1/bundle.transpiled.js | 77 --- .../expectedOutput-2.1/output.transpiled.txt | 16 - .../instance/expectedOutput-2.1/output.txt | 16 - .../instance/expectedOutput-2.2/bundle.js | 77 --- .../expectedOutput-2.2/bundle.transpiled.js | 77 --- .../expectedOutput-2.2/output.transpiled.txt | 16 - .../instance/expectedOutput-2.2/output.txt | 16 - .../instance/expectedOutput-2.3/bundle.js | 77 --- .../expectedOutput-2.3/bundle.transpiled.js | 77 --- .../expectedOutput-2.3/output.transpiled.txt | 16 - .../instance/expectedOutput-2.3/output.txt | 16 - .../instance/expectedOutput-2.4/bundle.js | 77 --- .../expectedOutput-2.4/bundle.transpiled.js | 77 --- .../expectedOutput-2.4/output.transpiled.txt | 16 - .../instance/expectedOutput-2.4/output.txt | 16 - .../instance/expectedOutput-2.5/bundle.js | 74 --- .../expectedOutput-2.5/bundle.transpiled.js | 74 --- .../expectedOutput-2.5/output.transpiled.txt | 14 - .../instance/expectedOutput-2.5/output.txt | 14 - .../instance/expectedOutput-2.6/bundle.js | 74 --- .../expectedOutput-2.6/bundle.transpiled.js | 74 --- .../expectedOutput-2.6/output.transpiled.txt | 14 - .../instance/expectedOutput-2.6/output.txt | 14 - .../instance/expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/bundle.transpiled.js | 85 --- .../expectedOutput-2.7/output.transpiled.txt | 17 - .../instance/expectedOutput-2.7/output.txt | 17 - .../instance/expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/bundle.transpiled.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 16 - .../instance/expectedOutput-2.8/output.txt | 16 - .../instance/expectedOutput-2.9/bundle.js | 100 --- .../expectedOutput-2.9/bundle.transpiled.js | 100 --- .../expectedOutput-2.9/output.transpiled.txt | 18 - .../instance/expectedOutput-2.9/output.txt | 18 - .../expectedOutput-3.0/bundle.transpiled.js | 100 --- .../expectedOutput-3.0/output.transpiled.txt | 20 - .../instance/expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/bundle.transpiled.js | 100 --- .../expectedOutput-3.1/output.transpiled.txt | 20 - .../instance/expectedOutput-3.1/output.txt | 20 - .../instance/expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/bundle.transpiled.js | 100 --- .../expectedOutput-3.2/output.transpiled.txt | 20 - .../instance/expectedOutput-3.2/output.txt | 20 - .../instance/expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/bundle.transpiled.js | 100 --- .../expectedOutput-3.3/output.transpiled.txt | 20 - .../instance/expectedOutput-3.3/output.txt | 20 - .../instance/expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/bundle.transpiled.js | 100 --- .../expectedOutput-3.4/output.transpiled.txt | 20 - .../instance/expectedOutput-3.4/output.txt | 20 - .../instance/expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/bundle.transpiled.js | 100 --- .../expectedOutput-3.5/output.transpiled.txt | 20 - .../instance/expectedOutput-3.5/output.txt | 20 - .../bundle.js | 0 .../output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 100 +++ .../expectedOutput-transpile-4.0/output.txt | 20 + .../issue372/expectedOutput-2.0/bundle.js | 69 -- .../issue372/expectedOutput-2.0/output.txt | 6 - .../expectedOutput-2.0/patch0/bundle.js | 69 -- .../expectedOutput-2.0/patch0/output.txt | 6 - .../issue372/expectedOutput-2.1/bundle.js | 97 --- .../issue372/expectedOutput-2.1/output.txt | 6 - .../expectedOutput-2.1/patch0/bundle.js | 97 --- .../expectedOutput-2.1/patch0/output.txt | 6 - .../issue372/expectedOutput-2.2/bundle.js | 99 --- .../issue372/expectedOutput-2.2/output.txt | 6 - .../expectedOutput-2.2/patch0/bundle.js | 99 --- .../expectedOutput-2.2/patch0/output.txt | 6 - .../issue372/expectedOutput-2.3/bundle.js | 99 --- .../issue372/expectedOutput-2.3/output.txt | 6 - .../expectedOutput-2.3/patch0/bundle.js | 99 --- .../expectedOutput-2.3/patch0/output.txt | 6 - .../issue372/expectedOutput-2.4/bundle.js | 99 --- .../issue372/expectedOutput-2.4/output.txt | 6 - .../expectedOutput-2.4/patch0/bundle.js | 99 --- .../expectedOutput-2.4/patch0/output.txt | 6 - .../issue372/expectedOutput-2.5/bundle.js | 96 --- .../issue372/expectedOutput-2.5/output.txt | 5 - .../expectedOutput-2.5/patch0/bundle.js | 96 --- .../expectedOutput-2.5/patch0/output.txt | 5 - .../issue372/expectedOutput-2.6/bundle.js | 96 --- .../issue372/expectedOutput-2.6/output.txt | 5 - .../expectedOutput-2.6/patch0/bundle.js | 96 --- .../expectedOutput-2.6/patch0/output.txt | 5 - .../issue372/expectedOutput-2.7/bundle.js | 109 ---- .../expectedOutput-2.7/output.transpiled.txt | 7 - .../issue372/expectedOutput-2.7/output.txt | 7 - .../expectedOutput-2.7/patch0/bundle.js | 109 ---- .../patch0/output.transpiled.txt | 7 - .../expectedOutput-2.7/patch0/output.txt | 7 - .../issue372/expectedOutput-2.8/bundle.js | 109 ---- .../expectedOutput-2.8/output.transpiled.txt | 7 - .../issue372/expectedOutput-2.8/output.txt | 6 - .../expectedOutput-2.8/patch0/bundle.js | 109 ---- .../patch0/output.transpiled.txt | 7 - .../expectedOutput-2.8/patch0/output.txt | 6 - .../issue372/expectedOutput-2.9/bundle.js | 124 ---- .../expectedOutput-2.9/output.transpiled.txt | 7 - .../expectedOutput-2.9/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 7 - .../issue372/expectedOutput-3.0/bundle.js | 124 ---- .../expectedOutput-3.0/output.transpiled.txt | 7 - .../issue372/expectedOutput-3.0/output.txt | 6 - .../expectedOutput-3.0/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 7 - .../expectedOutput-3.0/patch0/output.txt | 6 - .../issue372/expectedOutput-3.1/bundle.js | 124 ---- .../expectedOutput-3.1/output.transpiled.txt | 7 - .../issue372/expectedOutput-3.1/output.txt | 6 - .../expectedOutput-3.1/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 7 - .../expectedOutput-3.1/patch0/output.txt | 6 - .../issue372/expectedOutput-3.2/bundle.js | 124 ---- .../expectedOutput-3.2/output.transpiled.txt | 7 - .../issue372/expectedOutput-3.2/output.txt | 6 - .../expectedOutput-3.2/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 7 - .../expectedOutput-3.2/patch0/output.txt | 6 - .../issue372/expectedOutput-3.3/bundle.js | 124 ---- .../expectedOutput-3.3/output.transpiled.txt | 7 - .../issue372/expectedOutput-3.3/output.txt | 6 - .../expectedOutput-3.3/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 7 - .../expectedOutput-3.3/patch0/output.txt | 6 - .../issue372/expectedOutput-3.4/bundle.js | 124 ---- .../expectedOutput-3.4/output.transpiled.txt | 7 - .../issue372/expectedOutput-3.4/output.txt | 6 - .../expectedOutput-3.4/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 7 - .../expectedOutput-3.4/patch0/output.txt | 6 - .../issue372/expectedOutput-3.5/bundle.js | 124 ---- .../expectedOutput-3.5/output.transpiled.txt | 7 - .../issue372/expectedOutput-3.5/output.txt | 6 - .../expectedOutput-3.5/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 7 - .../expectedOutput-3.5/patch0/output.txt | 6 - .../issue372/expectedOutput-4.0/bundle.js | 124 ++++ .../output.txt | 0 .../expectedOutput-4.0/patch0/bundle.js | 124 ++++ .../patch0/output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 124 ++++ .../expectedOutput-transpile-4.0/output.txt | 6 + .../patch0/bundle.js | 124 ++++ .../patch0/output.txt | 6 + .../issue441/expectedOutput-2.0/bundle.js | 53 -- .../issue441/expectedOutput-2.0/output.txt | 4 - .../expectedOutput-2.0/patch0/bundle.js | 53 -- .../expectedOutput-2.0/patch0/output.txt | 4 - .../expectedOutput-2.0/patch1/bundle.js | 53 -- .../expectedOutput-2.0/patch1/output.txt | 4 - .../issue441/expectedOutput-2.1/bundle.js | 80 --- .../issue441/expectedOutput-2.1/output.txt | 4 - .../expectedOutput-2.1/patch0/bundle.js | 80 --- .../expectedOutput-2.1/patch0/output.txt | 4 - .../expectedOutput-2.1/patch1/bundle.js | 80 --- .../expectedOutput-2.1/patch1/output.txt | 4 - .../issue441/expectedOutput-2.2/bundle.js | 81 --- .../issue441/expectedOutput-2.2/output.txt | 4 - .../expectedOutput-2.2/patch1/bundle.js | 81 --- .../expectedOutput-2.2/patch1/output.txt | 4 - .../issue441/expectedOutput-2.3/bundle.js | 81 --- .../issue441/expectedOutput-2.3/output.txt | 4 - .../expectedOutput-2.3/patch1/bundle.js | 81 --- .../expectedOutput-2.3/patch1/output.txt | 4 - .../issue441/expectedOutput-2.4/bundle.js | 81 --- .../issue441/expectedOutput-2.4/output.txt | 4 - .../expectedOutput-2.4/patch1/bundle.js | 81 --- .../expectedOutput-2.4/patch1/output.txt | 4 - .../issue441/expectedOutput-2.5/bundle.js | 78 --- .../issue441/expectedOutput-2.5/output.txt | 3 - .../expectedOutput-2.5/patch1/bundle.js | 78 --- .../expectedOutput-2.5/patch1/output.txt | 3 - .../issue441/expectedOutput-2.6/bundle.js | 78 --- .../issue441/expectedOutput-2.6/output.txt | 3 - .../expectedOutput-2.6/patch1/bundle.js | 78 --- .../expectedOutput-2.6/patch1/output.txt | 3 - .../issue441/expectedOutput-2.7/bundle.js | 86 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../issue441/expectedOutput-2.7/output.txt | 5 - .../expectedOutput-2.7/patch0/bundle.js | 86 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.7/patch0/output.txt | 5 - .../expectedOutput-2.7/patch1/bundle.js | 86 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-2.7/patch1/output.txt | 5 - .../issue441/expectedOutput-2.8/bundle.js | 86 --- .../expectedOutput-2.8/output.transpiled.txt | 5 - .../issue441/expectedOutput-2.8/output.txt | 4 - .../expectedOutput-2.8/patch0/bundle.js | 86 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.8/patch0/output.txt | 4 - .../expectedOutput-2.8/patch1/bundle.js | 86 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-2.8/patch1/output.txt | 4 - .../expectedOutput-2.9/output.transpiled.txt | 5 - .../patch0/output.transpiled.txt | 5 - .../patch1/output.transpiled.txt | 5 - .../issue441/expectedOutput-3.0/bundle.js | 101 --- .../expectedOutput-3.0/output.transpiled.txt | 5 - .../issue441/expectedOutput-3.0/output.txt | 4 - .../expectedOutput-3.0/patch0/bundle.js | 101 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.0/patch0/output.txt | 4 - .../expectedOutput-3.0/patch1/bundle.js | 101 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.0/patch1/output.txt | 4 - .../issue441/expectedOutput-3.1/bundle.js | 101 --- .../expectedOutput-3.1/output.transpiled.txt | 5 - .../issue441/expectedOutput-3.1/output.txt | 4 - .../expectedOutput-3.1/patch0/bundle.js | 101 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.1/patch0/output.txt | 4 - .../expectedOutput-3.1/patch1/bundle.js | 101 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.1/patch1/output.txt | 4 - .../issue441/expectedOutput-3.2/bundle.js | 101 --- .../expectedOutput-3.2/output.transpiled.txt | 5 - .../issue441/expectedOutput-3.2/output.txt | 4 - .../expectedOutput-3.2/patch0/bundle.js | 101 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.2/patch0/output.txt | 4 - .../expectedOutput-3.2/patch1/bundle.js | 101 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.2/patch1/output.txt | 4 - .../issue441/expectedOutput-3.3/bundle.js | 101 --- .../expectedOutput-3.3/output.transpiled.txt | 5 - .../issue441/expectedOutput-3.3/output.txt | 4 - .../expectedOutput-3.3/patch0/bundle.js | 101 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.3/patch0/output.txt | 4 - .../expectedOutput-3.3/patch1/bundle.js | 101 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.3/patch1/output.txt | 4 - .../issue441/expectedOutput-3.4/bundle.js | 101 --- .../expectedOutput-3.4/output.transpiled.txt | 5 - .../issue441/expectedOutput-3.4/output.txt | 4 - .../expectedOutput-3.4/patch0/bundle.js | 101 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.4/patch0/output.txt | 4 - .../expectedOutput-3.4/patch1/bundle.js | 101 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.4/patch1/output.txt | 4 - .../issue441/expectedOutput-3.5/bundle.js | 101 --- .../expectedOutput-3.5/output.transpiled.txt | 5 - .../issue441/expectedOutput-3.5/output.txt | 4 - .../expectedOutput-3.5/patch0/bundle.js | 101 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-3.5/patch0/output.txt | 4 - .../expectedOutput-3.5/patch1/bundle.js | 101 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.5/patch1/output.txt | 4 - .../bundle.js | 0 .../output.txt | 0 .../patch0/bundle.js | 0 .../patch0/output.txt | 0 .../patch1/bundle.js | 0 .../patch1/output.txt | 0 .../expectedOutput-transpile-4.0}/bundle.js | 0 .../expectedOutput-transpile-4.0}/output.txt | 0 .../patch0}/bundle.js | 0 .../patch0}/output.txt | 0 .../patch1}/bundle.js | 0 .../patch1}/output.txt | 0 .../issue71/expectedOutput-1.6/bundle.js | 67 -- .../issue71/expectedOutput-1.6/output.txt | 6 - .../issue71/expectedOutput-1.7/bundle.js | 67 -- .../issue71/expectedOutput-1.7/output.txt | 6 - .../issue71/expectedOutput-1.8/bundle.js | 69 -- .../issue71/expectedOutput-1.8/output.txt | 6 - .../issue71/expectedOutput-2.0/bundle.js | 69 -- .../issue71/expectedOutput-2.0/output.txt | 6 - .../issue71/expectedOutput-2.1/bundle.js | 97 --- .../issue71/expectedOutput-2.1/output.txt | 6 - .../issue71/expectedOutput-2.2/bundle.js | 98 --- .../issue71/expectedOutput-2.2/output.txt | 6 - .../issue71/expectedOutput-2.3/bundle.js | 98 --- .../issue71/expectedOutput-2.3/output.txt | 6 - .../issue71/expectedOutput-2.4/bundle.js | 98 --- .../issue71/expectedOutput-2.4/output.txt | 6 - .../issue71/expectedOutput-2.5/bundle.js | 95 --- .../issue71/expectedOutput-2.5/output.txt | 5 - .../issue71/expectedOutput-2.6/bundle.js | 95 --- .../issue71/expectedOutput-2.6/output.txt | 5 - .../issue71/expectedOutput-2.7/bundle.js | 109 ---- .../issue71/expectedOutput-2.7/output.txt | 7 - .../issue71/expectedOutput-2.8/bundle.js | 109 ---- .../issue71/expectedOutput-2.8/output.txt | 6 - .../issue71/expectedOutput-3.0/bundle.js | 124 ---- .../issue71/expectedOutput-3.0/output.txt | 6 - .../issue71/expectedOutput-3.1/bundle.js | 124 ---- .../issue71/expectedOutput-3.1/output.txt | 6 - .../issue71/expectedOutput-3.2/bundle.js | 124 ---- .../issue71/expectedOutput-3.2/output.txt | 6 - .../issue71/expectedOutput-3.3/bundle.js | 124 ---- .../issue71/expectedOutput-3.3/output.txt | 6 - .../issue71/expectedOutput-3.4/bundle.js | 124 ---- .../issue71/expectedOutput-3.4/output.txt | 6 - .../issue71/expectedOutput-3.5/bundle.js | 124 ---- .../issue71/expectedOutput-3.5/output.txt | 6 - .../bundle.js | 0 .../output.txt | 0 .../expectedOutput-2.4/bundle.js | 94 --- .../expectedOutput-2.4/output.txt | 5 - .../expectedOutput-2.5/bundle.js | 91 --- .../expectedOutput-2.5/output.txt | 4 - .../expectedOutput-2.6/bundle.js | 91 --- .../expectedOutput-2.6/output.txt | 4 - .../expectedOutput-2.7/bundle.js | 98 --- .../expectedOutput-2.7/output.transpiled.txt | 6 - .../expectedOutput-2.7/output.txt | 6 - .../expectedOutput-2.8/bundle.js | 98 --- .../expectedOutput-2.8/output.transpiled.txt | 6 - .../expectedOutput-2.8/output.txt | 5 - .../expectedOutput-2.9/bundle.js | 113 ---- .../expectedOutput-2.9/output.transpiled.txt | 6 - .../expectedOutput-3.0/bundle.js | 113 ---- .../expectedOutput-3.0/output.transpiled.txt | 6 - .../expectedOutput-3.0/output.txt | 5 - .../expectedOutput-3.1/bundle.js | 113 ---- .../expectedOutput-3.1/output.transpiled.txt | 6 - .../expectedOutput-3.1/output.txt | 5 - .../expectedOutput-3.2/bundle.js | 113 ---- .../expectedOutput-3.2/output.transpiled.txt | 6 - .../expectedOutput-3.2/output.txt | 5 - .../expectedOutput-3.3/bundle.js | 113 ---- .../expectedOutput-3.3/output.transpiled.txt | 6 - .../expectedOutput-3.3/output.txt | 5 - .../expectedOutput-3.4/bundle.js | 113 ---- .../expectedOutput-3.4/output.transpiled.txt | 6 - .../expectedOutput-3.4/output.txt | 5 - .../expectedOutput-3.5/bundle.js | 113 ---- .../expectedOutput-3.5/output.transpiled.txt | 6 - .../expectedOutput-3.5/output.txt | 5 - .../expectedOutput-4.0/bundle.js | 113 ++++ .../output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../expectedOutput-transpile-4.0/output.txt | 5 + .../node/expectedOutput-1.6/bundle.js | 51 -- .../node/expectedOutput-1.6/output.txt | 4 - .../node/expectedOutput-1.7/bundle.js | 51 -- .../node/expectedOutput-1.7/output.txt | 4 - .../node/expectedOutput-1.8/bundle.js | 51 -- .../expectedOutput-1.8/bundle.transpiled.js | 51 -- .../expectedOutput-1.8/output.transpiled.txt | 4 - .../node/expectedOutput-1.8/output.txt | 4 - .../node/expectedOutput-2.0/bundle.js | 51 -- .../expectedOutput-2.0/bundle.transpiled.js | 51 -- .../expectedOutput-2.0/output.transpiled.txt | 4 - .../node/expectedOutput-2.0/output.txt | 4 - .../node/expectedOutput-2.1/bundle.js | 77 --- .../expectedOutput-2.1/bundle.transpiled.js | 79 --- .../expectedOutput-2.1/output.transpiled.txt | 4 - .../node/expectedOutput-2.1/output.txt | 4 - .../node/expectedOutput-2.2/bundle.js | 77 --- .../expectedOutput-2.2/bundle.transpiled.js | 80 --- .../expectedOutput-2.2/output.transpiled.txt | 4 - .../node/expectedOutput-2.2/output.txt | 4 - .../node/expectedOutput-2.3/bundle.js | 77 --- .../node/expectedOutput-2.3/output.txt | 4 - .../node/expectedOutput-2.4/bundle.js | 77 --- .../node/expectedOutput-2.4/output.txt | 4 - .../node/expectedOutput-2.5/bundle.js | 74 --- .../node/expectedOutput-2.5/output.txt | 3 - .../node/expectedOutput-2.6/bundle.js | 74 --- .../node/expectedOutput-2.6/output.txt | 3 - .../node/expectedOutput-2.7/bundle.js | 85 --- .../node/expectedOutput-2.7/output.txt | 5 - .../node/expectedOutput-2.8/bundle.js | 85 --- .../node/expectedOutput-2.8/output.txt | 4 - .../node/expectedOutput-3.1/bundle.js | 100 --- .../node/expectedOutput-3.1/output.txt | 4 - .../node/expectedOutput-3.2/bundle.js | 100 --- .../node/expectedOutput-3.2/output.txt | 4 - .../node/expectedOutput-3.3/bundle.js | 100 --- .../node/expectedOutput-3.3/output.txt | 4 - .../node/expectedOutput-3.4/bundle.js | 100 --- .../node/expectedOutput-3.4/output.txt | 4 - .../node/expectedOutput-3.5/bundle.js | 100 --- .../node/expectedOutput-3.5/output.txt | 4 - .../bundle.js | 0 .../output.txt | 0 .../bundle.js | 0 .../output.txt | 0 .../expectedOutput-2.0/bundle.js | 53 -- .../expectedOutput-2.0/bundle.transpiled.js | 62 -- .../expectedOutput-2.0/output.transpiled.txt | 5 - .../expectedOutput-2.0/output.txt | 12 - .../expectedOutput-2.1/bundle.js | 86 --- .../expectedOutput-2.1/bundle.transpiled.js | 90 --- .../expectedOutput-2.1/output.transpiled.txt | 5 - .../expectedOutput-2.1/output.txt | 13 - .../expectedOutput-2.2/bundle.js | 87 --- .../expectedOutput-2.2/bundle.transpiled.js | 91 --- .../expectedOutput-2.2/output.transpiled.txt | 5 - .../expectedOutput-2.2/output.txt | 13 - .../expectedOutput-2.3/bundle.js | 87 --- .../expectedOutput-2.3/bundle.transpiled.js | 91 --- .../expectedOutput-2.3/output.transpiled.txt | 5 - .../expectedOutput-2.3/output.txt | 13 - .../expectedOutput-2.4/bundle.js | 87 --- .../expectedOutput-2.4/bundle.transpiled.js | 91 --- .../expectedOutput-2.4/output.transpiled.txt | 5 - .../expectedOutput-2.4/output.txt | 14 - .../expectedOutput-2.5/bundle.js | 84 --- .../expectedOutput-2.5/bundle.transpiled.js | 88 --- .../expectedOutput-2.5/output.transpiled.txt | 4 - .../expectedOutput-2.5/output.txt | 13 - .../expectedOutput-2.6/bundle.js | 84 --- .../expectedOutput-2.6/bundle.transpiled.js | 88 --- .../expectedOutput-2.6/output.transpiled.txt | 4 - .../expectedOutput-2.6/output.txt | 13 - .../expectedOutput-2.7/bundle.js | 97 --- .../expectedOutput-2.7/bundle.transpiled.js | 98 --- .../expectedOutput-2.7/output.transpiled.txt | 6 - .../expectedOutput-2.7/output.txt | 15 - .../expectedOutput-2.8/bundle.js | 97 --- .../expectedOutput-2.8/bundle.transpiled.js | 98 --- .../expectedOutput-2.8/output.transpiled.txt | 5 - .../expectedOutput-2.8/output.txt | 13 - .../expectedOutput-2.9/bundle.js | 112 ---- .../expectedOutput-2.9/bundle.transpiled.js | 113 ---- .../expectedOutput-2.9/output.transpiled.txt | 5 - .../expectedOutput-2.9/output.txt | 13 - .../expectedOutput-3.0/bundle.js | 112 ---- .../expectedOutput-3.0/bundle.transpiled.js | 113 ---- .../expectedOutput-3.0/output.transpiled.txt | 5 - .../expectedOutput-3.0/output.txt | 15 - .../expectedOutput-3.1/bundle.js | 112 ---- .../expectedOutput-3.1/bundle.transpiled.js | 113 ---- .../expectedOutput-3.1/output.transpiled.txt | 5 - .../expectedOutput-3.1/output.txt | 15 - .../expectedOutput-3.2/bundle.js | 112 ---- .../expectedOutput-3.2/bundle.transpiled.js | 113 ---- .../expectedOutput-3.2/output.transpiled.txt | 5 - .../expectedOutput-3.2/output.txt | 15 - .../expectedOutput-3.3/bundle.js | 112 ---- .../expectedOutput-3.3/bundle.transpiled.js | 113 ---- .../expectedOutput-3.3/output.transpiled.txt | 5 - .../expectedOutput-3.3/output.txt | 15 - .../expectedOutput-3.4/bundle.js | 112 ---- .../expectedOutput-3.4/bundle.transpiled.js | 113 ---- .../expectedOutput-3.4/output.transpiled.txt | 5 - .../expectedOutput-3.4/output.txt | 15 - .../expectedOutput-3.5/bundle.js | 112 ---- .../expectedOutput-3.5/bundle.transpiled.js | 113 ---- .../expectedOutput-3.5/output.transpiled.txt | 5 - .../expectedOutput-3.5/output.txt | 15 - .../expectedOutput-4.0/bundle.js | 112 ++++ .../expectedOutput-4.0/output.txt | 15 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../expectedOutput-transpile-4.0/output.txt | 5 + .../expectedOutput-1.6/bundle.js | 58 -- .../expectedOutput-1.6/output.txt | 5 - .../expectedOutput-1.7/bundle.js | 58 -- .../expectedOutput-1.7/output.txt | 5 - .../expectedOutput-1.8/bundle.js | 59 -- .../expectedOutput-1.8/output.txt | 5 - .../expectedOutput-2.0/bundle.js | 59 -- .../expectedOutput-2.0/output.txt | 5 - .../expectedOutput-2.1/bundle.js | 86 --- .../expectedOutput-2.1/output.txt | 5 - .../expectedOutput-2.2/bundle.js | 87 --- .../expectedOutput-2.2/output.txt | 5 - .../expectedOutput-2.3/bundle.js | 87 --- .../expectedOutput-2.3/output.txt | 5 - .../expectedOutput-2.4/bundle.js | 87 --- .../expectedOutput-2.4/output.txt | 5 - .../expectedOutput-2.5/bundle.js | 84 --- .../expectedOutput-2.5/output.txt | 4 - .../expectedOutput-2.6/bundle.js | 84 --- .../expectedOutput-2.6/output.txt | 4 - .../expectedOutput-2.7/bundle.js | 97 --- .../expectedOutput-2.7/output.transpiled.txt | 6 - .../expectedOutput-2.7/output.txt | 6 - .../expectedOutput-2.8/bundle.js | 97 --- .../expectedOutput-2.8/output.transpiled.txt | 6 - .../expectedOutput-2.8/output.txt | 5 - .../expectedOutput-2.9/output.transpiled.txt | 6 - .../expectedOutput-3.0/bundle.js | 112 ---- .../expectedOutput-3.0/output.transpiled.txt | 6 - .../expectedOutput-3.0/output.txt | 5 - .../expectedOutput-3.1/bundle.js | 112 ---- .../expectedOutput-3.1/output.transpiled.txt | 6 - .../expectedOutput-3.1/output.txt | 5 - .../expectedOutput-3.2/bundle.js | 112 ---- .../expectedOutput-3.2/output.transpiled.txt | 6 - .../expectedOutput-3.2/output.txt | 5 - .../expectedOutput-3.3/bundle.js | 112 ---- .../expectedOutput-3.3/output.transpiled.txt | 6 - .../expectedOutput-3.3/output.txt | 5 - .../expectedOutput-3.4/bundle.js | 112 ---- .../expectedOutput-3.4/output.transpiled.txt | 6 - .../expectedOutput-3.4/output.txt | 5 - .../expectedOutput-3.5/bundle.js | 112 ---- .../expectedOutput-3.5/output.transpiled.txt | 6 - .../expectedOutput-3.5/output.txt | 5 - .../bundle.js | 0 .../output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 112 ++++ .../expectedOutput-transpile-4.0/output.txt | 5 + .../nolib/expectedOutput-1.6/bundle.js | 51 -- .../expectedOutput-1.6/output.transpiled.txt | 4 - .../nolib/expectedOutput-1.6/output.txt | 31 - .../nolib/expectedOutput-1.7/bundle.js | 51 -- .../expectedOutput-1.7/output.transpiled.txt | 4 - .../nolib/expectedOutput-1.7/output.txt | 31 - .../nolib/expectedOutput-1.8/bundle.js | 51 -- .../expectedOutput-1.8/bundle.transpiled.js | 52 -- .../expectedOutput-1.8/output.transpiled.txt | 4 - .../nolib/expectedOutput-1.8/output.txt | 31 - .../nolib/expectedOutput-2.0/bundle.js | 51 -- .../expectedOutput-2.0/bundle.transpiled.js | 52 -- .../expectedOutput-2.0/output.transpiled.txt | 4 - .../nolib/expectedOutput-2.0/output.txt | 31 - .../nolib/expectedOutput-2.1/bundle.js | 77 --- .../expectedOutput-2.1/bundle.transpiled.js | 79 --- .../expectedOutput-2.1/output.transpiled.txt | 4 - .../nolib/expectedOutput-2.1/output.txt | 31 - .../nolib/expectedOutput-2.2/bundle.js | 77 --- .../expectedOutput-2.2/bundle.transpiled.js | 80 --- .../expectedOutput-2.2/output.transpiled.txt | 4 - .../nolib/expectedOutput-2.2/output.txt | 31 - .../nolib/expectedOutput-2.3/bundle.js | 77 --- .../expectedOutput-2.3/output.transpiled.txt | 4 - .../nolib/expectedOutput-2.3/output.txt | 31 - .../nolib/expectedOutput-2.4/bundle.js | 77 --- .../expectedOutput-2.4/output.transpiled.txt | 4 - .../nolib/expectedOutput-2.4/output.txt | 34 - .../nolib/expectedOutput-2.5/bundle.js | 74 --- .../expectedOutput-2.5/output.transpiled.txt | 3 - .../nolib/expectedOutput-2.5/output.txt | 39 -- .../nolib/expectedOutput-2.6/bundle.js | 74 --- .../expectedOutput-2.6/output.transpiled.txt | 3 - .../nolib/expectedOutput-2.6/output.txt | 39 -- .../nolib/expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../nolib/expectedOutput-2.7/output.txt | 38 -- .../nolib/expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 4 - .../nolib/expectedOutput-2.8/output.txt | 37 -- .../expectedOutput-3.0/output.transpiled.txt | 4 - .../nolib/expectedOutput-3.0/output.txt | 37 -- .../nolib/expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/output.transpiled.txt | 4 - .../nolib/expectedOutput-3.1/output.txt | 37 -- .../nolib/expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/output.transpiled.txt | 4 - .../nolib/expectedOutput-3.2/output.txt | 37 -- .../nolib/expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/output.transpiled.txt | 4 - .../nolib/expectedOutput-3.3/output.txt | 37 -- .../nolib/expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/output.transpiled.txt | 4 - .../nolib/expectedOutput-3.4/output.txt | 37 -- .../nolib/expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/output.transpiled.txt | 4 - .../nolib/expectedOutput-3.5/output.txt | 37 -- .../bundle.js | 0 .../output.txt | 0 .../bundle.js | 0 .../output.txt} | 0 .../npmLink/expectedOutput-1.6/bundle.js | 60 -- .../npmLink/expectedOutput-1.6/output.txt | 5 - .../npmLink/expectedOutput-1.7/bundle.js | 60 -- .../npmLink/expectedOutput-1.7/output.txt | 5 - .../npmLink/expectedOutput-1.8/bundle.js | 62 -- .../npmLink/expectedOutput-1.8/output.txt | 5 - .../npmLink/expectedOutput-2.0/bundle.js | 62 -- .../npmLink/expectedOutput-2.0/output.txt | 5 - .../npmLink/expectedOutput-2.1/bundle.js | 90 --- .../npmLink/expectedOutput-2.1/output.txt | 5 - .../npmLink/expectedOutput-2.2/bundle.js | 91 --- .../npmLink/expectedOutput-2.2/output.txt | 5 - .../npmLink/expectedOutput-2.3/bundle.js | 91 --- .../npmLink/expectedOutput-2.3/output.txt | 5 - .../npmLink/expectedOutput-2.4/bundle.js | 91 --- .../npmLink/expectedOutput-2.4/output.txt | 5 - .../npmLink/expectedOutput-2.5/bundle.js | 88 --- .../npmLink/expectedOutput-2.5/output.txt | 4 - .../npmLink/expectedOutput-2.6/bundle.js | 88 --- .../npmLink/expectedOutput-2.6/output.txt | 4 - .../npmLink/expectedOutput-2.7/bundle.js | 98 --- .../expectedOutput-2.7/output.transpiled.txt | 6 - .../npmLink/expectedOutput-2.7/output.txt | 6 - .../npmLink/expectedOutput-2.8/bundle.js | 98 --- .../expectedOutput-2.8/output.transpiled.txt | 6 - .../npmLink/expectedOutput-2.8/output.txt | 5 - .../npmLink/expectedOutput-2.9/bundle.js | 113 ---- .../expectedOutput-2.9/output.transpiled.txt | 6 - .../npmLink/expectedOutput-2.9/output.txt | 5 - .../npmLink/expectedOutput-3.0/bundle.js | 113 ---- .../expectedOutput-3.0/output.transpiled.txt | 6 - .../npmLink/expectedOutput-3.0/output.txt | 5 - .../npmLink/expectedOutput-3.1/bundle.js | 113 ---- .../expectedOutput-3.1/output.transpiled.txt | 6 - .../npmLink/expectedOutput-3.1/output.txt | 5 - .../npmLink/expectedOutput-3.2/bundle.js | 113 ---- .../expectedOutput-3.2/output.transpiled.txt | 6 - .../npmLink/expectedOutput-3.2/output.txt | 5 - .../npmLink/expectedOutput-3.3/bundle.js | 113 ---- .../expectedOutput-3.3/output.transpiled.txt | 6 - .../npmLink/expectedOutput-3.3/output.txt | 5 - .../npmLink/expectedOutput-3.4/bundle.js | 113 ---- .../expectedOutput-3.4/output.transpiled.txt | 6 - .../npmLink/expectedOutput-3.4/output.txt | 5 - .../npmLink/expectedOutput-3.5/bundle.js | 113 ---- .../expectedOutput-3.5/output.transpiled.txt | 6 - .../npmLink/expectedOutput-3.5/output.txt | 5 - .../npmLink/expectedOutput-4.0/bundle.js | 113 ++++ .../npmLink/expectedOutput-4.0/output.txt | 5 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../expectedOutput-transpile-4.0/output.txt | 5 + .../expectedOutput-2.5/bundle.js | 99 --- .../expectedOutput-2.5/output.txt | 5 - .../expectedOutput-2.5/patch0/bundle.js | 99 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.5/patch0/output.txt | 9 - .../expectedOutput-2.5/patch1/bundle.js | 99 --- .../expectedOutput-2.5/patch1/output.txt | 5 - .../expectedOutput-2.6/bundle.js | 99 --- .../expectedOutput-2.6/output.txt | 5 - .../expectedOutput-2.6/patch0/bundle.js | 99 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.6/patch0/output.txt | 9 - .../expectedOutput-2.6/patch1/bundle.js | 99 --- .../expectedOutput-2.6/patch1/output.txt | 5 - .../expectedOutput-2.7/bundle.js | 109 ---- .../expectedOutput-2.7/output.transpiled.txt | 7 - .../expectedOutput-2.7/output.txt | 7 - .../expectedOutput-2.7/patch0/bundle.js | 109 ---- .../patch0/output.transpiled.txt | 7 - .../expectedOutput-2.7/patch0/output.txt | 12 - .../expectedOutput-2.7/patch1/bundle.js | 109 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-2.7/patch1/output.txt | 7 - .../expectedOutput-2.8/bundle.js | 109 ---- .../expectedOutput-2.8/output.transpiled.txt | 7 - .../expectedOutput-2.8/output.txt | 6 - .../expectedOutput-2.8/patch0/bundle.js | 109 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.8/patch0/output.txt | 11 - .../expectedOutput-2.8/patch1/bundle.js | 109 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-2.8/patch1/output.txt | 6 - .../expectedOutput-2.9/bundle.js | 124 ---- .../expectedOutput-2.9/output.transpiled.txt | 7 - .../expectedOutput-2.9/output.txt | 6 - .../expectedOutput-2.9/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.9/patch0/output.txt | 11 - .../expectedOutput-2.9/patch1/bundle.js | 124 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-2.9/patch1/output.txt | 6 - .../expectedOutput-3.0/bundle.js | 124 ---- .../expectedOutput-3.0/output.transpiled.txt | 7 - .../expectedOutput-3.0/output.txt | 6 - .../expectedOutput-3.0/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.0/patch0/output.txt | 11 - .../expectedOutput-3.0/patch1/bundle.js | 124 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-3.0/patch1/output.txt | 6 - .../expectedOutput-3.1/bundle.js | 124 ---- .../expectedOutput-3.1/output.transpiled.txt | 7 - .../expectedOutput-3.1/output.txt | 6 - .../expectedOutput-3.1/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.1/patch0/output.txt | 11 - .../expectedOutput-3.1/patch1/bundle.js | 124 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-3.1/patch1/output.txt | 6 - .../expectedOutput-3.2/bundle.js | 124 ---- .../expectedOutput-3.2/output.transpiled.txt | 7 - .../expectedOutput-3.2/output.txt | 6 - .../expectedOutput-3.2/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.2/patch0/output.txt | 11 - .../expectedOutput-3.2/patch1/bundle.js | 124 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-3.2/patch1/output.txt | 6 - .../expectedOutput-3.3/bundle.js | 124 ---- .../expectedOutput-3.3/output.transpiled.txt | 7 - .../expectedOutput-3.3/output.txt | 6 - .../expectedOutput-3.3/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.3/patch0/output.txt | 11 - .../expectedOutput-3.3/patch1/bundle.js | 124 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-3.3/patch1/output.txt | 6 - .../expectedOutput-3.4/bundle.js | 124 ---- .../expectedOutput-3.4/output.transpiled.txt | 7 - .../expectedOutput-3.4/output.txt | 6 - .../expectedOutput-3.4/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.4/patch0/output.txt | 11 - .../expectedOutput-3.4/patch1/bundle.js | 124 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-3.4/patch1/output.txt | 6 - .../expectedOutput-3.5/bundle.js | 124 ---- .../expectedOutput-3.5/output.transpiled.txt | 7 - .../expectedOutput-3.5/output.txt | 6 - .../expectedOutput-3.5/patch0/bundle.js | 124 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.5/patch0/output.txt | 11 - .../expectedOutput-3.5/patch1/bundle.js | 124 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-3.5/patch1/output.txt | 6 - .../expectedOutput-4.0}/bundle.js | 0 .../expectedOutput-4.0}/output.txt | 0 .../expectedOutput-4.0}/patch0/bundle.js | 0 .../expectedOutput-4.0}/patch0/output.txt | 0 .../expectedOutput-4.0}/patch1/bundle.js | 0 .../expectedOutput-4.0}/patch1/output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 124 ++++ .../expectedOutput-transpile-4.0/output.txt | 6 + .../patch0/bundle.js | 124 ++++ .../patch0/output.txt | 6 + .../patch1/bundle.js | 124 ++++ .../patch1/output.txt | 6 + .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/output.txt | 5 + .../expectedOutput-4.0/patch0/bundle.js | 113 ++++ .../expectedOutput-4.0/patch0/output.txt | 5 + .../expectedOutput-4.0/patch1/bundle.js | 113 ++++ .../expectedOutput-4.0/patch1/output.txt | 5 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../expectedOutput-transpile-4.0/output.txt | 5 + .../patch0/bundle.js | 113 ++++ .../patch0/output.txt | 5 + .../patch1/bundle.js | 113 ++++ .../patch1/output.txt | 5 + .../expectedOutput-1.6/bundle.transpiled.js | 52 -- .../expectedOutput-1.6/output.transpiled.txt | 4 - .../production/expectedOutput-1.6/output.txt | 7 - .../expectedOutput-1.7/bundle.transpiled.js | 52 -- .../expectedOutput-1.7/output.transpiled.txt | 4 - .../production/expectedOutput-1.7/output.txt | 7 - .../expectedOutput-1.8/bundle.transpiled.js | 53 -- .../expectedOutput-1.8/output.transpiled.txt | 4 - .../production/expectedOutput-1.8/output.txt | 7 - .../expectedOutput-2.0/bundle.transpiled.js | 53 -- .../expectedOutput-2.0/output.transpiled.txt | 4 - .../production/expectedOutput-2.0/output.txt | 7 - .../expectedOutput-2.1/bundle.transpiled.js | 80 --- .../expectedOutput-2.1/output.transpiled.txt | 4 - .../production/expectedOutput-2.1/output.txt | 11 - .../expectedOutput-2.2/bundle.transpiled.js | 81 --- .../expectedOutput-2.2/output.transpiled.txt | 4 - .../production/expectedOutput-2.2/output.txt | 11 - .../expectedOutput-2.3/bundle.transpiled.js | 78 --- .../expectedOutput-2.3/output.transpiled.txt | 4 - .../production/expectedOutput-2.3/output.txt | 11 - .../expectedOutput-2.4/bundle.transpiled.js | 78 --- .../expectedOutput-2.4/output.transpiled.txt | 4 - .../production/expectedOutput-2.4/output.txt | 11 - .../expectedOutput-2.5/bundle.transpiled.js | 75 --- .../expectedOutput-2.5/output.transpiled.txt | 3 - .../production/expectedOutput-2.5/output.txt | 11 - .../expectedOutput-2.6/bundle.transpiled.js | 75 --- .../expectedOutput-2.6/output.transpiled.txt | 3 - .../production/expectedOutput-2.6/output.txt | 11 - .../expectedOutput-2.7/bundle.transpiled.js | 1 - .../expectedOutput-2.7/output.transpiled.txt | 5 - .../production/expectedOutput-2.7/output.txt | 10 - .../expectedOutput-2.8/bundle.transpiled.js | 1 - .../expectedOutput-2.8/output.transpiled.txt | 4 - .../production/expectedOutput-2.8/output.txt | 9 - .../expectedOutput-3.0/bundle.transpiled.js | 1 - .../expectedOutput-3.0/output.transpiled.txt | 4 - .../production/expectedOutput-3.0/output.txt | 9 - .../expectedOutput-3.1/bundle.transpiled.js | 1 - .../expectedOutput-3.1/output.transpiled.txt | 4 - .../production/expectedOutput-3.1/output.txt | 9 - .../expectedOutput-3.2/bundle.transpiled.js | 1 - .../expectedOutput-3.2/output.transpiled.txt | 4 - .../production/expectedOutput-3.2/output.txt | 9 - .../expectedOutput-3.3/bundle.transpiled.js | 1 - .../expectedOutput-3.3/output.transpiled.txt | 4 - .../production/expectedOutput-3.3/output.txt | 9 - .../expectedOutput-3.4/bundle.transpiled.js | 1 - .../expectedOutput-3.4/output.transpiled.txt | 4 - .../production/expectedOutput-3.4/output.txt | 9 - .../expectedOutput-3.5/bundle.transpiled.js | 1 - .../expectedOutput-3.5/output.transpiled.txt | 4 - .../production/expectedOutput-3.5/output.txt | 9 - .../output.txt | 0 .../bundle.js} | 0 .../output.txt} | 0 .../expectedOutput-3.0/bundle.js | 113 ---- .../expectedOutput-3.0/output.txt | 5 - .../expectedOutput-3.1/bundle.js | 113 ---- .../expectedOutput-3.1/output.txt | 5 - .../expectedOutput-3.2/bundle.js | 113 ---- .../expectedOutput-3.2/output.txt | 5 - .../expectedOutput-3.3/bundle.js | 113 ---- .../expectedOutput-3.3/output.txt | 5 - .../expectedOutput-3.4/bundle.js | 113 ---- .../expectedOutput-3.4/output.txt | 5 - .../expectedOutput-3.5/bundle.js | 113 ---- .../expectedOutput-3.5/output.txt | 5 - .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 9 + .../expectedOutput-4.0/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/output.txt | 9 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../expectedOutput-4.0/bundle.js | 123 ++++ .../expectedOutput-4.0/common/index.d.ts | 1 + .../expectedOutput-4.0/common/index.js | 7 + .../common/tsconfig.tsbuildinfo | 55 ++ .../indirectWithError/tsconfig.tsbuildinfo | 87 +++ .../lib/tsconfig.tsbuildinfo | 87 +++ .../expectedOutput-4.0/output.txt | 41 ++ .../expectedOutput-4.0/patch0/bundle.js | 124 ++++ .../patch0/lib/fileWithError.d.ts | 1 + .../patch0/lib/fileWithError.js | 7 + .../expectedOutput-4.0/patch0/lib/index.d.ts | 5 + .../expectedOutput-4.0/patch0/lib/index.js | 8 + .../patch0/lib/tsconfig.tsbuildinfo | 61 ++ .../expectedOutput-4.0/patch0/output.txt | 23 + .../expectedOutput-4.0/patch1/bundle.js | 137 ++++ .../indirectWithError/fileWithError.d.ts | 1 + .../patch1/indirectWithError/fileWithError.js | 7 + .../patch1/indirectWithError/index.d.ts | 5 + .../patch1/indirectWithError/index.js | 8 + .../indirectWithError/tsconfig.tsbuildinfo | 61 ++ .../expectedOutput-4.0/patch1/output.txt | 15 + .../patch1/utils/index.d.ts | 1 + .../expectedOutput-4.0/patch1/utils/index.js | 8 + .../patch1/utils/tsconfig.tsbuildinfo | 65 ++ .../expectedOutput-4.0/patch2/bundle.js | 137 ++++ .../expectedOutput-4.0/patch2/output.txt | 10 + .../patch2/unreferenced/index.d.ts | 1 + .../patch2/unreferenced/index.js | 7 + .../patch2/unreferenced/tsconfig.tsbuildinfo | 55 ++ .../expectedOutput-4.0/patch3/bundle.js | 137 ++++ .../expectedOutput-4.0/patch3/output.txt | 12 + .../unreferencedIndirect/tsconfig.tsbuildinfo | 73 +++ .../expectedOutput-4.0/patch4/bundle.js | 137 ++++ .../expectedOutput-4.0/patch4/output.txt | 10 + .../patch4/unreferencedIndirect/index.d.ts | 1 + .../patch4/unreferencedIndirect/index.js | 7 + .../unreferencedIndirect/tsconfig.tsbuildinfo | 55 ++ .../expectedOutput-4.0/patch5/bundle.js | 137 ++++ .../expectedOutput-4.0/patch5/output.txt | 12 + .../patch5/unreferenced/tsconfig.tsbuildinfo | 73 +++ .../unreferenced/index.d.ts | 1 + .../expectedOutput-4.0/unreferenced/index.js | 7 + .../unreferenced/tsconfig.tsbuildinfo | 55 ++ .../unreferencedIndirect/index.d.ts | 1 + .../unreferencedIndirect/index.js | 7 + .../unreferencedIndirect/tsconfig.tsbuildinfo | 55 ++ .../expectedOutput-transpile-4.0/bundle.js | 123 ++++ .../common/index.d.ts | 1 + .../common/index.js | 7 + .../common/tsconfig.tsbuildinfo | 55 ++ .../indirectWithError/tsconfig.tsbuildinfo | 87 +++ .../lib/tsconfig.tsbuildinfo | 87 +++ .../expectedOutput-transpile-4.0/output.txt | 39 ++ .../patch0/bundle.js | 124 ++++ .../patch0/lib/fileWithError.d.ts | 1 + .../patch0/lib/fileWithError.js | 7 + .../patch0/lib/index.d.ts | 5 + .../patch0/lib/index.js | 8 + .../patch0/lib/tsconfig.tsbuildinfo | 61 ++ .../patch0/output.txt | 22 + .../patch1/bundle.js | 137 ++++ .../indirectWithError/fileWithError.d.ts | 1 + .../patch1/indirectWithError/fileWithError.js | 7 + .../patch1/indirectWithError/index.d.ts | 5 + .../patch1/indirectWithError/index.js | 8 + .../indirectWithError/tsconfig.tsbuildinfo | 61 ++ .../patch1/output.txt | 15 + .../patch1/utils/index.d.ts | 1 + .../patch1/utils/index.js | 8 + .../patch1/utils/tsconfig.tsbuildinfo | 65 ++ .../patch3/output.txt | 11 + .../unreferencedIndirect/tsconfig.tsbuildinfo | 73 +++ .../patch4/output.txt | 10 + .../patch4/unreferencedIndirect/index.d.ts | 1 + .../patch4/unreferencedIndirect/index.js | 7 + .../unreferencedIndirect/tsconfig.tsbuildinfo | 55 ++ .../patch5/output.txt | 11 + .../patch5/unreferenced/tsconfig.tsbuildinfo | 73 +++ .../unreferenced/index.d.ts | 1 + .../unreferenced/index.js | 7 + .../unreferenced/tsconfig.tsbuildinfo | 55 ++ .../unreferencedIndirect/index.d.ts | 1 + .../unreferencedIndirect/index.js | 7 + .../unreferencedIndirect/tsconfig.tsbuildinfo | 55 ++ .../expectedOutput-4.0/app/bundle.js | 137 ++++ .../expectedOutput-4.0/common/index.d.ts | 1 + .../expectedOutput-4.0/common/index.js | 7 + .../common/tsconfig.tsbuildinfo | 55 ++ .../expectedOutput-4.0/indirect/index.d.ts | 5 + .../expectedOutput-4.0/indirect/index.js | 8 + .../indirect/tsconfig.tsbuildinfo | 55 ++ .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 8 + .../lib/tsconfig.tsbuildinfo | 55 ++ .../expectedOutput-4.0/output.txt | 19 + .../expectedOutput-4.0/patch0/app/bundle.js | 137 ++++ .../patch0/common/index.d.ts | 1 + .../expectedOutput-4.0/patch0/common/index.js | 7 + .../patch0/common/tsconfig.tsbuildinfo | 55 ++ .../expectedOutput-4.0/patch0/output.txt | 10 + .../expectedOutput-4.0/patch1/app/bundle.js | 137 ++++ .../expectedOutput-4.0/patch1/output.txt | 10 + .../patch1/utils/index.d.ts | 2 + .../expectedOutput-4.0/patch1/utils/index.js | 10 + .../patch1/utils/tsconfig.tsbuildinfo | 65 ++ .../expectedOutput-4.0/patch2/app/bundle.js | 137 ++++ .../expectedOutput-4.0/patch2/output.txt | 7 + .../expectedOutput-4.0/patch3/app/bundle.js | 137 ++++ .../patch3/common/tsconfig.tsbuildinfo | 73 +++ .../expectedOutput-4.0/patch3/output.txt | 13 + .../expectedOutput-4.0/patch4/app/bundle.js | 137 ++++ .../patch4/common/index.d.ts | 1 + .../expectedOutput-4.0/patch4/common/index.js | 7 + .../patch4/common/tsconfig.tsbuildinfo | 55 ++ .../expectedOutput-4.0/patch4/output.txt | 10 + .../expectedOutput-4.0/patch5/app/bundle.js | 137 ++++ .../expectedOutput-4.0/patch5/output.txt | 13 + .../patch5/utils/tsconfig.tsbuildinfo | 83 +++ .../expectedOutput-4.0/patch6/app/bundle.js | 137 ++++ .../expectedOutput-4.0/patch6/output.txt | 10 + .../patch6/utils/index.d.ts | 2 + .../expectedOutput-4.0/patch6/utils/index.js | 10 + .../patch6/utils/tsconfig.tsbuildinfo | 65 ++ .../expectedOutput-4.0/utils/index.d.ts | 1 + .../expectedOutput-4.0/utils/index.js | 8 + .../utils/tsconfig.tsbuildinfo | 65 ++ .../app/bundle.js | 137 ++++ .../common/index.d.ts | 1 + .../common/index.js | 7 + .../common/tsconfig.tsbuildinfo | 55 ++ .../indirect/index.d.ts | 5 + .../indirect/index.js | 8 + .../indirect/tsconfig.tsbuildinfo | 55 ++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 8 + .../lib/tsconfig.tsbuildinfo | 55 ++ .../expectedOutput-transpile-4.0/output.txt | 19 + .../patch0/app/bundle.js | 137 ++++ .../patch0/common/index.d.ts | 1 + .../patch0/common/index.js | 7 + .../patch0/common/tsconfig.tsbuildinfo | 55 ++ .../patch0/output.txt | 10 + .../patch1/app/bundle.js | 137 ++++ .../patch1/output.txt | 10 + .../patch1/utils/index.d.ts | 2 + .../patch1/utils/index.js | 10 + .../patch1/utils/tsconfig.tsbuildinfo | 65 ++ .../patch2/app/bundle.js | 137 ++++ .../patch2/output.txt | 7 + .../patch3/app/bundle.js | 137 ++++ .../patch3/common/tsconfig.tsbuildinfo | 73 +++ .../patch3/output.txt | 11 + .../patch4/app/bundle.js | 137 ++++ .../patch4/common/index.d.ts | 1 + .../patch4/common/index.js | 7 + .../patch4/common/tsconfig.tsbuildinfo | 55 ++ .../patch4/output.txt | 10 + .../patch5/app/bundle.js | 137 ++++ .../patch5/output.txt | 11 + .../patch5/utils/tsconfig.tsbuildinfo | 83 +++ .../patch6/app/bundle.js | 137 ++++ .../patch6/output.txt | 10 + .../patch6/utils/index.d.ts | 2 + .../patch6/utils/index.js | 10 + .../patch6/utils/tsconfig.tsbuildinfo | 65 ++ .../utils/index.d.ts | 1 + .../utils/index.js | 8 + .../utils/tsconfig.tsbuildinfo | 65 ++ .../expectedOutput-3.0/bundle.js | 125 ---- .../expectedOutput-3.0/output.txt | 11 - .../expectedOutput-3.1/bundle.js | 125 ---- .../expectedOutput-3.1/output.txt | 11 - .../expectedOutput-3.2/bundle.js | 125 ---- .../expectedOutput-3.2/output.txt | 11 - .../expectedOutput-3.3/bundle.js | 125 ---- .../expectedOutput-3.3/output.txt | 11 - .../expectedOutput-3.4/bundle.js | 125 ---- .../expectedOutput-3.4/output.txt | 11 - .../expectedOutput-3.5/bundle.js | 125 ---- .../expectedOutput-3.5/output.txt | 11 - .../expectedOutput-4.0/bundle.js | 125 ++++ .../expectedOutput-4.0/lib/foo.d.ts | 1 + .../expectedOutput-4.0/lib/foo.js | 4 + .../expectedOutput-4.0/lib/index.d.ts | 6 + .../expectedOutput-4.0/lib/index.js | 10 + .../lib/tsconfig.tsbuildinfo | 65 ++ .../expectedOutput-4.0/output.txt | 11 + .../expectedOutput-transpile-4.0/bundle.js | 125 ++++ .../expectedOutput-transpile-4.0/lib/foo.d.ts | 1 + .../expectedOutput-transpile-4.0/lib/foo.js | 4 + .../lib/index.d.ts | 6 + .../expectedOutput-transpile-4.0/lib/index.js | 10 + .../lib/tsconfig.tsbuildinfo | 65 ++ .../expectedOutput-transpile-4.0/output.txt | 11 + .../expectedOutput-3.0/bundle.js | 112 ---- .../expectedOutput-3.0/output.transpiled.txt | 17 - .../expectedOutput-3.0/output.txt | 17 - .../expectedOutput-3.1/bundle.js | 112 ---- .../expectedOutput-3.1/output.transpiled.txt | 17 - .../expectedOutput-3.1/output.txt | 17 - .../expectedOutput-3.2/bundle.js | 112 ---- .../expectedOutput-3.2/output.transpiled.txt | 17 - .../expectedOutput-3.2/output.txt | 17 - .../expectedOutput-3.3/bundle.js | 112 ---- .../expectedOutput-3.3/output.transpiled.txt | 17 - .../expectedOutput-3.3/output.txt | 17 - .../expectedOutput-3.4/bundle.js | 112 ---- .../expectedOutput-3.4/output.transpiled.txt | 17 - .../expectedOutput-3.4/output.txt | 17 - .../expectedOutput-3.5/bundle.js | 112 ---- .../expectedOutput-3.5/output.transpiled.txt | 17 - .../expectedOutput-3.5/output.txt | 17 - .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 9 + .../expectedOutput-4.0/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/output.txt | 9 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../expectedOutput-4.0/app.d.ts | 1 + .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 9 + .../expectedOutput-4.0/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/output.txt | 11 + .../expectedOutput-4.0/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 9 + .../expectedOutput-4.0/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/output.txt | 14 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../expectedOutput-4.0/app.d.ts | 1 + .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 9 + .../expectedOutput-4.0/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/output.txt | 16 + .../expectedOutput-4.0/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 9 + .../expectedOutput-4.0/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/output.txt | 14 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../expectedOutput-4.0/bundle.js | 112 ++++ .../lib/tsconfig.tsbuildinfo | 78 +++ .../expectedOutput-4.0/output.txt | 19 + .../expectedOutput-transpile-4.0/bundle.js | 112 ++++ .../lib/tsconfig.tsbuildinfo | 78 +++ .../expectedOutput-transpile-4.0/output.txt | 17 + .../expectedOutput-4.0/app.d.ts | 1 + .../expectedOutput-4.0/bundle.js | 112 ++++ .../expectedOutput-4.0/output.txt | 21 + .../expectedOutput-4.0/tsconfig.tsbuildinfo | 48 ++ .../expectedOutput-transpile-4.0/bundle.js | 112 ++++ .../expectedOutput-4.0/bundle.js | 112 ++++ .../expectedOutput-4.0/output.txt | 19 + .../expectedOutput-transpile-4.0/bundle.js | 112 ++++ .../expectedOutput-4.0/bundle.js | 112 ++++ .../expectedOutput-4.0/output.txt | 18 + .../expectedOutput-transpile-4.0/bundle.js | 112 ++++ .../expectedOutput-transpile-4.0/output.txt | 16 + .../expectedOutput-4.0/app.d.ts | 1 + .../expectedOutput-4.0/bundle.js | 112 ++++ .../expectedOutput-4.0/output.txt | 20 + .../expectedOutput-4.0/tsconfig.tsbuildinfo | 48 ++ .../expectedOutput-transpile-4.0/bundle.js | 112 ++++ .../expectedOutput-4.0/bundle.js | 112 ++++ .../expectedOutput-4.0/output.txt | 18 + .../expectedOutput-transpile-4.0/bundle.js | 112 ++++ .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 9 + .../expectedOutput-4.0/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/output.txt | 9 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../expectedOutput-3.0/bundle.js | 113 ---- .../expectedOutput-3.0/output.transpiled.txt | 5 - .../expectedOutput-3.0/output.txt | 5 - .../expectedOutput-3.1/bundle.js | 113 ---- .../expectedOutput-3.1/output.transpiled.txt | 5 - .../expectedOutput-3.1/output.txt | 5 - .../expectedOutput-3.2/bundle.js | 113 ---- .../expectedOutput-3.2/output.transpiled.txt | 5 - .../expectedOutput-3.2/output.txt | 5 - .../expectedOutput-3.3/bundle.js | 113 ---- .../expectedOutput-3.3/bundle.transpiled.js | 113 ---- .../expectedOutput-3.3/output.transpiled.txt | 5 - .../expectedOutput-3.3/output.txt | 5 - .../expectedOutput-3.4/bundle.js | 113 ---- .../expectedOutput-3.4/bundle.transpiled.js | 113 ---- .../expectedOutput-3.4/output.transpiled.txt | 5 - .../expectedOutput-3.4/output.txt | 5 - .../expectedOutput-3.5/bundle.js | 113 ---- .../expectedOutput-3.5/bundle.transpiled.js | 113 ---- .../expectedOutput-3.5/output.transpiled.txt | 5 - .../expectedOutput-3.5/output.txt | 5 - .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/out/index.d.ts | 5 + .../expectedOutput-4.0/lib/out/index.js | 9 + .../expectedOutput-4.0/lib/out/index.js.map | 1 + .../lib/out/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/output.txt | 9 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/out/index.d.ts | 5 + .../lib/out/index.js | 9 + .../lib/out/index.js.map | 1 + .../lib/out/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/out/index.d.ts | 5 + .../expectedOutput-4.0/lib/out/index.js | 9 + .../expectedOutput-4.0/lib/out/index.js.map | 1 + .../lib/out/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/output.txt | 9 + .../expectedOutput-4.0/patch0/bundle.js | 113 ++++ .../patch0/lib/out/index.d.ts | 6 + .../patch0/lib/out/index.js | 10 + .../patch0/lib/out/index.js.map | 1 + .../patch0/lib/out/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/patch0/output.txt | 9 + .../expectedOutput-4.0/patch1/bundle.js | 113 ++++ .../expectedOutput-4.0/patch1/output.txt | 5 + .../expectedOutput-4.0/patch2/bundle.js | 113 ++++ .../expectedOutput-4.0/patch2/output.txt | 13 + .../expectedOutput-4.0/patch3/bundle.js | 113 ++++ .../patch3/lib/out/index.d.ts | 7 + .../patch3/lib/out/index.js | 11 + .../patch3/lib/out/index.js.map | 1 + .../patch3/lib/out/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/patch3/output.txt | 9 + .../expectedOutput-4.0/patch4/bundle.js | 113 ++++ .../expectedOutput-4.0/patch4/output.txt | 10 + .../expectedOutput-4.0/patch5/bundle.js | 113 ++++ .../expectedOutput-4.0/patch5/output.txt | 5 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/out/index.d.ts | 5 + .../lib/out/index.js | 9 + .../lib/out/index.js.map | 1 + .../lib/out/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../patch0/bundle.js | 113 ++++ .../patch0/lib/out/index.d.ts | 6 + .../patch0/lib/out/index.js | 10 + .../patch0/lib/out/index.js.map | 1 + .../patch0/lib/out/tsconfig.tsbuildinfo | 57 ++ .../patch0/output.txt | 9 + .../patch1/bundle.js | 113 ++++ .../patch1/output.txt | 5 + .../patch2/output.txt | 11 + .../patch3/lib/out/index.d.ts | 7 + .../patch3/lib/out/index.js | 11 + .../patch3/lib/out/index.js.map | 1 + .../patch3/lib/out/tsconfig.tsbuildinfo | 57 ++ .../patch3/output.txt | 9 + .../patch4/bundle.js | 113 ++++ .../patch4/output.txt | 5 + .../patch5/bundle.js | 113 ++++ .../patch5/output.txt | 5 + .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/output.txt | 5 + .../expectedOutput-4.0/patch0/bundle.js | 113 ++++ .../patch0/lib/out/index.d.ts | 6 + .../patch0/lib/out/index.js | 10 + .../patch0/lib/out/index.js.map | 1 + .../patch0/lib/out/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/patch0/output.txt | 9 + .../expectedOutput-4.0/patch1/bundle.js | 113 ++++ .../expectedOutput-4.0/patch1/output.txt | 5 + .../expectedOutput-4.0/patch2/bundle.js | 113 ++++ .../expectedOutput-4.0/patch2/output.txt | 13 + .../expectedOutput-4.0/patch3/bundle.js | 113 ++++ .../patch3/lib/out/index.d.ts | 7 + .../patch3/lib/out/index.js | 11 + .../patch3/lib/out/index.js.map | 1 + .../patch3/lib/out/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/patch3/output.txt | 9 + .../expectedOutput-4.0/patch4/bundle.js | 113 ++++ .../expectedOutput-4.0/patch4/output.txt | 10 + .../expectedOutput-4.0/patch5/bundle.js | 113 ++++ .../expectedOutput-4.0/patch5/output.txt | 5 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../expectedOutput-transpile-4.0/output.txt | 5 + .../patch1/bundle.js | 113 ++++ .../patch1/output.txt | 5 + .../patch2/output.txt | 11 + .../patch3/lib/out/index.d.ts | 7 + .../patch3/lib/out/index.js | 11 + .../patch3/lib/out/index.js.map | 1 + .../patch3/lib/out/tsconfig.tsbuildinfo | 57 ++ .../patch3/output.txt | 9 + .../patch4/bundle.js | 113 ++++ .../patch4/output.txt | 5 + .../patch5/bundle.js | 113 ++++ .../patch5/output.txt | 5 + .../expectedOutput-3.1/bundle.js | 113 ---- .../expectedOutput-3.1/output.txt | 10 - .../expectedOutput-3.2/bundle.js | 113 ---- .../expectedOutput-3.2/output.txt | 10 - .../expectedOutput-3.3/bundle.js | 113 ---- .../expectedOutput-3.3/output.txt | 10 - .../expectedOutput-3.4/bundle.js | 113 ---- .../expectedOutput-3.4/output.txt | 10 - .../expectedOutput-3.5/bundle.js | 113 ---- .../expectedOutput-3.5/output.txt | 10 - .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/out/index.d.ts | 5 + .../expectedOutput-4.0/lib/out/index.js | 6 + .../expectedOutput-4.0/lib/out/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 299 +++++++++ .../expectedOutput-4.0/output.txt | 9 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/out/index.d.ts | 5 + .../lib/out/index.js | 6 + .../lib/out/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 299 +++++++++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/out/index.d.ts | 5 + .../expectedOutput-4.0/lib/out/index.js | 6 + .../expectedOutput-4.0/lib/out/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 299 +++++++++ .../expectedOutput-4.0/output.txt | 9 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/out/index.d.ts | 5 + .../lib/out/index.js | 6 + .../lib/out/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 299 +++++++++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../expectedOutput-4.0/app/dist/index.js | 125 ++++ .../expectedOutput-4.0/common/dist/index.d.ts | 1 + .../expectedOutput-4.0/common/dist/index.js | 4 + .../common/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/lib/dist/index.d.ts | 1 + .../expectedOutput-4.0/lib/dist/index.js | 5 + .../lib/tsconfig.tsbuildinfo | 67 ++ .../expectedOutput-4.0/output.txt | 12 + .../patch0/app/dist/index.js | 125 ++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 5 + .../patch0/lib/tsconfig.tsbuildinfo | 67 ++ .../expectedOutput-4.0/patch0/output.txt | 14 + .../app/dist/index.js | 125 ++++ .../common/dist/index.d.ts | 1 + .../common/dist/index.js | 4 + .../common/tsconfig.tsbuildinfo | 57 ++ .../lib/dist/index.d.ts | 1 + .../lib/dist/index.js | 5 + .../lib/tsconfig.tsbuildinfo | 67 ++ .../expectedOutput-transpile-4.0/output.txt | 12 + .../patch0/app/dist/index.js | 125 ++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 5 + .../patch0/lib/tsconfig.tsbuildinfo | 67 ++ .../patch0/output.txt | 9 + .../expectedOutput-4.0/app/dist/index.js | 125 ++++ .../expectedOutput-4.0/common/dist/index.d.ts | 1 + .../expectedOutput-4.0/common/dist/index.js | 4 + .../common/tsconfig.tsbuildinfo | 58 ++ .../expectedOutput-4.0/lib/dist/index.d.ts | 1 + .../expectedOutput-4.0/lib/dist/index.js | 5 + .../lib/tsconfig.tsbuildinfo | 68 ++ .../expectedOutput-4.0/output.txt | 12 + .../patch0/app/dist/index.js | 125 ++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 5 + .../patch0/lib/tsconfig.tsbuildinfo | 68 ++ .../expectedOutput-4.0/patch0/output.txt | 14 + .../app/dist/index.js | 125 ++++ .../common/dist/index.d.ts | 1 + .../common/dist/index.js | 4 + .../common/tsconfig.tsbuildinfo | 58 ++ .../lib/dist/index.d.ts | 1 + .../lib/dist/index.js | 5 + .../lib/tsconfig.tsbuildinfo | 68 ++ .../expectedOutput-transpile-4.0/output.txt | 12 + .../patch0/app/dist/index.js | 125 ++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 5 + .../patch0/lib/tsconfig.tsbuildinfo | 68 ++ .../patch0/output.txt | 9 + .../expectedOutput-4.0/app/dist/index.js | 125 ++++ .../expectedOutput-4.0/common/dist/index.d.ts | 1 + .../expectedOutput-4.0/common/dist/index.js | 4 + .../common/tsconfig.tsbuildinfo | 58 ++ .../expectedOutput-4.0/lib/dist/index.d.ts | 1 + .../expectedOutput-4.0/lib/dist/index.js | 5 + .../lib/tsconfig.tsbuildinfo | 68 ++ .../expectedOutput-4.0/output.txt | 12 + .../patch0/app/dist/index.js | 125 ++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 5 + .../patch0/lib/tsconfig.tsbuildinfo | 68 ++ .../expectedOutput-4.0/patch0/output.txt | 14 + .../app/dist/index.js | 125 ++++ .../common/dist/index.d.ts | 1 + .../common/dist/index.js | 4 + .../common/tsconfig.tsbuildinfo | 58 ++ .../lib/dist/index.d.ts | 1 + .../lib/dist/index.js | 5 + .../lib/tsconfig.tsbuildinfo | 68 ++ .../expectedOutput-transpile-4.0/output.txt | 12 + .../patch0/app/dist/index.js | 125 ++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 5 + .../patch0/lib/tsconfig.tsbuildinfo | 68 ++ .../patch0/output.txt | 9 + .../expectedOutput-4.0/app/dist/index.js | 125 ++++ .../expectedOutput-4.0/common/dist/index.d.ts | 1 + .../expectedOutput-4.0/common/dist/index.js | 4 + .../common/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/lib/dist/index.d.ts | 1 + .../expectedOutput-4.0/lib/dist/index.js | 5 + .../lib/tsconfig.tsbuildinfo | 67 ++ .../expectedOutput-4.0/output.txt | 12 + .../patch0/app/dist/index.js | 125 ++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 5 + .../patch0/lib/tsconfig.tsbuildinfo | 67 ++ .../expectedOutput-4.0/patch0/output.txt | 14 + .../app/dist/index.js | 125 ++++ .../common/dist/index.d.ts | 1 + .../common/dist/index.js | 4 + .../common/tsconfig.tsbuildinfo | 57 ++ .../lib/dist/index.d.ts | 1 + .../lib/dist/index.js | 5 + .../lib/tsconfig.tsbuildinfo | 67 ++ .../expectedOutput-transpile-4.0/output.txt | 12 + .../patch0/app/dist/index.js | 125 ++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 5 + .../patch0/lib/tsconfig.tsbuildinfo | 67 ++ .../patch0/output.txt | 9 + .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 9 + .../expectedOutput-4.0/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/output.txt | 9 + .../expectedOutput-4.0/patch0/bundle.js | 113 ++++ .../expectedOutput-4.0/patch0/lib/index.d.ts | 6 + .../expectedOutput-4.0/patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/patch0/output.txt | 9 + .../expectedOutput-4.0/patch1/bundle.js | 113 ++++ .../expectedOutput-4.0/patch1/output.txt | 5 + .../expectedOutput-4.0/patch2/bundle.js | 113 ++++ .../expectedOutput-4.0/patch2/output.txt | 15 + .../expectedOutput-4.0/patch3/bundle.js | 113 ++++ .../expectedOutput-4.0/patch3/lib/index.d.ts | 7 + .../expectedOutput-4.0/patch3/lib/index.js | 11 + .../patch3/lib/index.js.map | 1 + .../patch3/lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/patch3/output.txt | 9 + .../expectedOutput-4.0/patch4/bundle.js | 113 ++++ .../expectedOutput-4.0/patch4/output.txt | 10 + .../expectedOutput-4.0/patch5/bundle.js | 113 ++++ .../expectedOutput-4.0/patch5/output.txt | 5 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../patch0/bundle.js | 113 ++++ .../patch0/lib/index.d.ts | 6 + .../patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 56 ++ .../patch0/output.txt | 9 + .../patch1/bundle.js | 113 ++++ .../patch1/output.txt | 5 + .../patch2/bundle.js | 113 ++++ .../patch2/output.txt | 11 + .../patch3/bundle.js | 113 ++++ .../patch3/lib/index.d.ts | 7 + .../patch3/lib/index.js | 11 + .../patch3/lib/index.js.map | 1 + .../patch3/lib/tsconfig.tsbuildinfo | 56 ++ .../patch3/output.txt | 9 + .../patch4/bundle.js | 113 ++++ .../patch4/output.txt | 5 + .../patch5/bundle.js | 113 ++++ .../patch5/output.txt | 5 + .../expectedOutput-4.0/bundle.js | 125 ++++ .../expectedOutput-4.0/lib/helper.d.ts | 5 + .../expectedOutput-4.0/lib/helper.js | 9 + .../expectedOutput-4.0/lib/helper.js.map | 1 + .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 10 + .../expectedOutput-4.0/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-4.0/output.txt | 13 + .../expectedOutput-4.0/patch0/bundle.js | 125 ++++ .../expectedOutput-4.0/patch0/lib/helper.d.ts | 6 + .../expectedOutput-4.0/patch0/lib/helper.js | 10 + .../patch0/lib/helper.js.map | 1 + .../expectedOutput-4.0/patch0/lib/index.d.ts | 5 + .../expectedOutput-4.0/patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-4.0/patch0/output.txt | 13 + .../expectedOutput-4.0/patch1/bundle.js | 125 ++++ .../expectedOutput-4.0/patch1/output.txt | 6 + .../expectedOutput-transpile-4.0/bundle.js | 125 ++++ .../lib/helper.d.ts | 5 + .../lib/helper.js | 9 + .../lib/helper.js.map | 1 + .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 10 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-transpile-4.0/output.txt | 13 + .../patch0/bundle.js | 125 ++++ .../patch0/lib/helper.d.ts | 6 + .../patch0/lib/helper.js | 10 + .../patch0/lib/helper.js.map | 1 + .../patch0/lib/index.d.ts | 5 + .../patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++ .../patch0/output.txt | 13 + .../patch1/bundle.js | 125 ++++ .../patch1/output.txt | 6 + .../expectedOutput-4.0/bundle.js | 125 ++++ .../expectedOutput-4.0/output.txt | 6 + .../expectedOutput-4.0/patch0/bundle.js | 125 ++++ .../expectedOutput-4.0/patch0/lib/helper.d.ts | 5 + .../expectedOutput-4.0/patch0/lib/helper.js | 9 + .../patch0/lib/helper.js.map | 1 + .../expectedOutput-4.0/patch0/lib/index.d.ts | 6 + .../expectedOutput-4.0/patch0/lib/index.js | 11 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-4.0/patch0/output.txt | 13 + .../expectedOutput-4.0/patch1/bundle.js | 125 ++++ .../expectedOutput-4.0/patch1/lib/helper.d.ts | 6 + .../expectedOutput-4.0/patch1/lib/helper.js | 10 + .../patch1/lib/helper.js.map | 1 + .../expectedOutput-4.0/patch1/lib/index.d.ts | 6 + .../expectedOutput-4.0/patch1/lib/index.js | 11 + .../patch1/lib/index.js.map | 1 + .../patch1/lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-4.0/patch1/output.txt | 13 + .../expectedOutput-4.0/patch2/bundle.js | 125 ++++ .../expectedOutput-4.0/patch2/output.txt | 6 + .../expectedOutput-transpile-4.0/bundle.js | 125 ++++ .../expectedOutput-transpile-4.0/output.txt | 6 + .../patch0/bundle.js | 125 ++++ .../patch0/lib/helper.d.ts | 5 + .../patch0/lib/helper.js | 9 + .../patch0/lib/helper.js.map | 1 + .../patch0/lib/index.d.ts | 6 + .../patch0/lib/index.js | 11 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++ .../patch0/output.txt | 13 + .../patch1/bundle.js | 125 ++++ .../patch1/lib/helper.d.ts | 6 + .../patch1/lib/helper.js | 10 + .../patch1/lib/helper.js.map | 1 + .../patch1/lib/index.d.ts | 6 + .../patch1/lib/index.js | 11 + .../patch1/lib/index.js.map | 1 + .../patch1/lib/tsconfig.tsbuildinfo | 66 ++ .../patch1/output.txt | 13 + .../patch2/bundle.js | 125 ++++ .../patch2/output.txt | 6 + .../expectedOutput-4.0/app.d.ts | 1 + .../expectedOutput-4.0/bundle.js | 125 ++++ .../expectedOutput-4.0/output.txt | 8 + .../expectedOutput-4.0/patch0/app.d.ts | 1 + .../expectedOutput-4.0/patch0/bundle.js | 125 ++++ .../expectedOutput-4.0/patch0/lib/helper.d.ts | 5 + .../expectedOutput-4.0/patch0/lib/helper.js | 9 + .../patch0/lib/helper.js.map | 1 + .../expectedOutput-4.0/patch0/lib/index.d.ts | 6 + .../expectedOutput-4.0/patch0/lib/index.js | 11 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-4.0/patch0/output.txt | 15 + .../patch0/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/patch1/app.d.ts | 1 + .../expectedOutput-4.0/patch1/bundle.js | 125 ++++ .../expectedOutput-4.0/patch1/lib/helper.d.ts | 6 + .../expectedOutput-4.0/patch1/lib/helper.js | 10 + .../patch1/lib/helper.js.map | 1 + .../expectedOutput-4.0/patch1/lib/index.d.ts | 6 + .../expectedOutput-4.0/patch1/lib/index.js | 11 + .../patch1/lib/index.js.map | 1 + .../patch1/lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-4.0/patch1/output.txt | 14 + .../expectedOutput-4.0/patch2/app.d.ts | 1 + .../expectedOutput-4.0/patch2/bundle.js | 125 ++++ .../expectedOutput-4.0/patch2/output.txt | 8 + .../patch2/tsconfig.tsbuildinfo | 63 ++ .../expectedOutput-4.0/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-transpile-4.0/bundle.js | 125 ++++ .../expectedOutput-transpile-4.0/output.txt | 6 + .../patch0/bundle.js | 125 ++++ .../patch0/lib/helper.d.ts | 5 + .../patch0/lib/helper.js | 9 + .../patch0/lib/helper.js.map | 1 + .../patch0/lib/index.d.ts | 6 + .../patch0/lib/index.js | 11 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++ .../patch0/output.txt | 13 + .../patch1/bundle.js | 125 ++++ .../patch1/lib/helper.d.ts | 6 + .../patch1/lib/helper.js | 10 + .../patch1/lib/helper.js.map | 1 + .../patch1/lib/index.d.ts | 6 + .../patch1/lib/index.js | 11 + .../patch1/lib/index.js.map | 1 + .../patch1/lib/tsconfig.tsbuildinfo | 66 ++ .../patch1/output.txt | 13 + .../patch2/bundle.js | 125 ++++ .../patch2/output.txt | 6 + .../expectedOutput-4.0/bundle.js | 125 ++++ .../expectedOutput-4.0/output.txt | 6 + .../expectedOutput-4.0/patch0/bundle.js | 125 ++++ .../expectedOutput-4.0/patch0/lib/helper.d.ts | 5 + .../expectedOutput-4.0/patch0/lib/helper.js | 9 + .../patch0/lib/helper.js.map | 1 + .../expectedOutput-4.0/patch0/lib/index.d.ts | 6 + .../expectedOutput-4.0/patch0/lib/index.js | 11 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-4.0/patch0/output.txt | 13 + .../expectedOutput-4.0/patch1/bundle.js | 125 ++++ .../expectedOutput-4.0/patch1/lib/helper.d.ts | 6 + .../expectedOutput-4.0/patch1/lib/helper.js | 10 + .../patch1/lib/helper.js.map | 1 + .../expectedOutput-4.0/patch1/lib/index.d.ts | 6 + .../expectedOutput-4.0/patch1/lib/index.js | 11 + .../patch1/lib/index.js.map | 1 + .../patch1/lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-4.0/patch1/output.txt | 13 + .../expectedOutput-4.0/patch2/bundle.js | 125 ++++ .../expectedOutput-4.0/patch2/output.txt | 6 + .../expectedOutput-transpile-4.0/bundle.js | 125 ++++ .../expectedOutput-transpile-4.0/output.txt | 6 + .../patch0/bundle.js | 125 ++++ .../patch0/lib/helper.d.ts | 5 + .../patch0/lib/helper.js | 9 + .../patch0/lib/helper.js.map | 1 + .../patch0/lib/index.d.ts | 6 + .../patch0/lib/index.js | 11 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++ .../patch0/output.txt | 13 + .../patch1/bundle.js | 125 ++++ .../patch1/lib/helper.d.ts | 6 + .../patch1/lib/helper.js | 10 + .../patch1/lib/helper.js.map | 1 + .../patch1/lib/index.d.ts | 6 + .../patch1/lib/index.js | 11 + .../patch1/lib/index.js.map | 1 + .../patch1/lib/tsconfig.tsbuildinfo | 66 ++ .../patch1/output.txt | 13 + .../patch2/bundle.js | 125 ++++ .../patch2/output.txt | 6 + .../expectedOutput-4.0/app.d.ts | 1 + .../expectedOutput-4.0/bundle.js | 125 ++++ .../expectedOutput-4.0/lib/helper.d.ts | 5 + .../expectedOutput-4.0/lib/helper.js | 9 + .../expectedOutput-4.0/lib/helper.js.map | 1 + .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 10 + .../expectedOutput-4.0/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-4.0/output.txt | 15 + .../expectedOutput-4.0/patch0/app.d.ts | 1 + .../expectedOutput-4.0/patch0/bundle.js | 125 ++++ .../expectedOutput-4.0/patch0/lib/helper.d.ts | 6 + .../expectedOutput-4.0/patch0/lib/helper.js | 10 + .../patch0/lib/helper.js.map | 1 + .../expectedOutput-4.0/patch0/lib/index.d.ts | 5 + .../expectedOutput-4.0/patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-4.0/patch0/output.txt | 14 + .../expectedOutput-4.0/patch1/app.d.ts | 1 + .../expectedOutput-4.0/patch1/bundle.js | 125 ++++ .../expectedOutput-4.0/patch1/output.txt | 8 + .../patch1/tsconfig.tsbuildinfo | 63 ++ .../expectedOutput-4.0/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-transpile-4.0/bundle.js | 125 ++++ .../lib/helper.d.ts | 5 + .../lib/helper.js | 9 + .../lib/helper.js.map | 1 + .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 10 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-transpile-4.0/output.txt | 13 + .../patch0/bundle.js | 125 ++++ .../patch0/lib/helper.d.ts | 6 + .../patch0/lib/helper.js | 10 + .../patch0/lib/helper.js.map | 1 + .../patch0/lib/index.d.ts | 5 + .../patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++ .../patch0/output.txt | 13 + .../patch1/bundle.js | 125 ++++ .../patch1/output.txt | 6 + .../expectedOutput-4.0/bundle.js | 125 ++++ .../expectedOutput-4.0/lib/helper.d.ts | 5 + .../expectedOutput-4.0/lib/helper.js | 9 + .../expectedOutput-4.0/lib/helper.js.map | 1 + .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 10 + .../expectedOutput-4.0/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-4.0/output.txt | 13 + .../expectedOutput-4.0/patch0/bundle.js | 125 ++++ .../expectedOutput-4.0/patch0/lib/helper.d.ts | 6 + .../expectedOutput-4.0/patch0/lib/helper.js | 10 + .../patch0/lib/helper.js.map | 1 + .../expectedOutput-4.0/patch0/lib/index.d.ts | 5 + .../expectedOutput-4.0/patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-4.0/patch0/output.txt | 13 + .../expectedOutput-4.0/patch1/bundle.js | 125 ++++ .../expectedOutput-4.0/patch1/output.txt | 6 + .../expectedOutput-transpile-4.0/bundle.js | 125 ++++ .../lib/helper.d.ts | 5 + .../lib/helper.js | 9 + .../lib/helper.js.map | 1 + .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 10 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 66 ++ .../expectedOutput-transpile-4.0/output.txt | 13 + .../patch0/bundle.js | 125 ++++ .../patch0/lib/helper.d.ts | 6 + .../patch0/lib/helper.js | 10 + .../patch0/lib/helper.js.map | 1 + .../patch0/lib/index.d.ts | 5 + .../patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++ .../patch0/output.txt | 13 + .../patch1/bundle.js | 125 ++++ .../patch1/output.txt | 6 + .../expectedOutput-4.0/app.d.ts | 1 + .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 9 + .../expectedOutput-4.0/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/output.txt | 11 + .../expectedOutput-4.0/patch0/app.d.ts | 1 + .../expectedOutput-4.0/patch0/bundle.js | 113 ++++ .../expectedOutput-4.0/patch0/lib/index.d.ts | 6 + .../expectedOutput-4.0/patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/patch0/output.txt | 11 + .../patch0/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/patch1/app.d.ts | 1 + .../expectedOutput-4.0/patch1/bundle.js | 113 ++++ .../expectedOutput-4.0/patch1/output.txt | 7 + .../patch1/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/patch2/app.d.ts | 1 + .../expectedOutput-4.0/patch2/bundle.js | 113 ++++ .../expectedOutput-4.0/patch2/output.txt | 16 + .../expectedOutput-4.0/patch3/app.d.ts | 1 + .../expectedOutput-4.0/patch3/bundle.js | 113 ++++ .../expectedOutput-4.0/patch3/lib/index.d.ts | 7 + .../expectedOutput-4.0/patch3/lib/index.js | 11 + .../patch3/lib/index.js.map | 1 + .../patch3/lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/patch3/output.txt | 11 + .../patch3/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/patch4/app.d.ts | 1 + .../expectedOutput-4.0/patch4/bundle.js | 113 ++++ .../expectedOutput-4.0/patch4/output.txt | 12 + .../patch4/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/patch5/app.d.ts | 1 + .../expectedOutput-4.0/patch5/bundle.js | 113 ++++ .../expectedOutput-4.0/patch5/output.txt | 7 + .../patch5/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-4.0/tsconfig.tsbuildinfo | 57 ++ .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../patch0/bundle.js | 113 ++++ .../patch0/lib/index.d.ts | 6 + .../patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 56 ++ .../patch0/output.txt | 9 + .../patch1/bundle.js | 113 ++++ .../patch1/output.txt | 5 + .../patch2/bundle.js | 113 ++++ .../patch2/output.txt | 11 + .../patch3/bundle.js | 113 ++++ .../patch3/lib/index.d.ts | 7 + .../patch3/lib/index.js | 11 + .../patch3/lib/index.js.map | 1 + .../patch3/lib/tsconfig.tsbuildinfo | 56 ++ .../patch3/output.txt | 9 + .../patch4/bundle.js | 113 ++++ .../patch4/output.txt | 5 + .../patch5/bundle.js | 113 ++++ .../patch5/output.txt | 5 + .../expectedOutput-4.0/bundle.js | 113 ++++ .../expectedOutput-4.0/lib/index.d.ts | 5 + .../expectedOutput-4.0/lib/index.js | 9 + .../expectedOutput-4.0/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/output.txt | 9 + .../expectedOutput-4.0/patch0/bundle.js | 113 ++++ .../expectedOutput-4.0/patch0/lib/index.d.ts | 6 + .../expectedOutput-4.0/patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/patch0/output.txt | 9 + .../expectedOutput-4.0/patch1/bundle.js | 113 ++++ .../expectedOutput-4.0/patch1/output.txt | 5 + .../expectedOutput-4.0/patch2/bundle.js | 113 ++++ .../expectedOutput-4.0/patch2/output.txt | 15 + .../expectedOutput-4.0/patch3/bundle.js | 113 ++++ .../expectedOutput-4.0/patch3/lib/index.d.ts | 7 + .../expectedOutput-4.0/patch3/lib/index.js | 11 + .../patch3/lib/index.js.map | 1 + .../patch3/lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-4.0/patch3/output.txt | 9 + .../expectedOutput-4.0/patch4/bundle.js | 113 ++++ .../expectedOutput-4.0/patch4/output.txt | 10 + .../expectedOutput-4.0/patch5/bundle.js | 113 ++++ .../expectedOutput-4.0/patch5/output.txt | 5 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.0/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++ .../expectedOutput-transpile-4.0/output.txt | 9 + .../patch0/bundle.js | 113 ++++ .../patch0/lib/index.d.ts | 6 + .../patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 56 ++ .../patch0/output.txt | 9 + .../patch1/bundle.js | 113 ++++ .../patch1/output.txt | 5 + .../patch2/bundle.js | 113 ++++ .../patch2/output.txt | 11 + .../patch3/bundle.js | 113 ++++ .../patch3/lib/index.d.ts | 7 + .../patch3/lib/index.js | 11 + .../patch3/lib/index.js.map | 1 + .../patch3/lib/tsconfig.tsbuildinfo | 56 ++ .../patch3/output.txt | 9 + .../patch4/bundle.js | 113 ++++ .../patch4/output.txt | 5 + .../patch5/bundle.js | 113 ++++ .../patch5/output.txt | 5 + .../replacement/expectedOutput-1.6/bundle.js | 68 -- .../replacement/expectedOutput-1.6/output.txt | 6 - .../replacement/expectedOutput-1.7/bundle.js | 68 -- .../replacement/expectedOutput-1.7/output.txt | 6 - .../replacement/expectedOutput-1.8/bundle.js | 71 --- .../replacement/expectedOutput-1.8/output.txt | 6 - .../replacement/expectedOutput-2.0/bundle.js | 71 --- .../replacement/expectedOutput-2.0/output.txt | 6 - .../replacement/expectedOutput-2.1/bundle.js | 100 --- .../replacement/expectedOutput-2.1/output.txt | 6 - .../replacement/expectedOutput-2.2/bundle.js | 101 --- .../replacement/expectedOutput-2.2/output.txt | 6 - .../replacement/expectedOutput-2.3/bundle.js | 101 --- .../replacement/expectedOutput-2.3/output.txt | 6 - .../replacement/expectedOutput-2.4/bundle.js | 101 --- .../replacement/expectedOutput-2.4/output.txt | 6 - .../replacement/expectedOutput-2.5/bundle.js | 98 --- .../replacement/expectedOutput-2.5/output.txt | 5 - .../replacement/expectedOutput-2.6/bundle.js | 98 --- .../replacement/expectedOutput-2.6/output.txt | 5 - .../replacement/expectedOutput-2.7/bundle.js | 110 ---- .../expectedOutput-2.7/output.transpiled.txt | 7 - .../replacement/expectedOutput-2.7/output.txt | 7 - .../replacement/expectedOutput-2.8/bundle.js | 110 ---- .../expectedOutput-2.8/output.transpiled.txt | 7 - .../replacement/expectedOutput-2.8/output.txt | 6 - .../expectedOutput-2.9/output.transpiled.txt | 7 - .../replacement/expectedOutput-3.0/bundle.js | 125 ---- .../expectedOutput-3.0/output.transpiled.txt | 7 - .../replacement/expectedOutput-3.0/output.txt | 6 - .../replacement/expectedOutput-3.1/bundle.js | 125 ---- .../expectedOutput-3.1/output.transpiled.txt | 7 - .../replacement/expectedOutput-3.1/output.txt | 6 - .../replacement/expectedOutput-3.2/bundle.js | 125 ---- .../expectedOutput-3.2/output.transpiled.txt | 7 - .../replacement/expectedOutput-3.2/output.txt | 6 - .../replacement/expectedOutput-3.3/bundle.js | 125 ---- .../expectedOutput-3.3/output.transpiled.txt | 7 - .../replacement/expectedOutput-3.3/output.txt | 6 - .../replacement/expectedOutput-3.4/bundle.js | 125 ---- .../expectedOutput-3.4/output.transpiled.txt | 7 - .../replacement/expectedOutput-3.4/output.txt | 6 - .../replacement/expectedOutput-3.5/bundle.js | 125 ---- .../expectedOutput-3.5/output.transpiled.txt | 7 - .../replacement/expectedOutput-3.5/output.txt | 6 - .../bundle.js | 0 .../output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 125 ++++ .../expectedOutput-transpile-4.0/output.txt | 6 + .../reportFiles/expectedOutput-2.6/bundle.js | 88 --- .../expectedOutput-2.6/output.transpiled.txt | 4 - .../reportFiles/expectedOutput-2.6/output.txt | 8 - .../reportFiles/expectedOutput-2.7/bundle.js | 98 --- .../expectedOutput-2.7/output.transpiled.txt | 6 - .../reportFiles/expectedOutput-2.7/output.txt | 11 - .../reportFiles/expectedOutput-2.8/bundle.js | 98 --- .../expectedOutput-2.8/output.transpiled.txt | 5 - .../reportFiles/expectedOutput-2.8/output.txt | 10 - .../reportFiles/expectedOutput-2.9/bundle.js | 113 ---- .../expectedOutput-2.9/output.transpiled.txt | 5 - .../reportFiles/expectedOutput-2.9/output.txt | 10 - .../reportFiles/expectedOutput-3.0/bundle.js | 113 ---- .../expectedOutput-3.0/output.transpiled.txt | 5 - .../reportFiles/expectedOutput-3.0/output.txt | 10 - .../reportFiles/expectedOutput-3.1/bundle.js | 113 ---- .../expectedOutput-3.1/output.transpiled.txt | 5 - .../reportFiles/expectedOutput-3.1/output.txt | 10 - .../reportFiles/expectedOutput-3.2/bundle.js | 113 ---- .../expectedOutput-3.2/output.transpiled.txt | 5 - .../reportFiles/expectedOutput-3.2/output.txt | 10 - .../reportFiles/expectedOutput-3.3/bundle.js | 113 ---- .../expectedOutput-3.3/output.transpiled.txt | 5 - .../reportFiles/expectedOutput-3.3/output.txt | 10 - .../reportFiles/expectedOutput-3.4/bundle.js | 113 ---- .../expectedOutput-3.4/output.transpiled.txt | 5 - .../reportFiles/expectedOutput-3.4/output.txt | 10 - .../reportFiles/expectedOutput-3.5/bundle.js | 113 ---- .../expectedOutput-3.5/output.transpiled.txt | 5 - .../reportFiles/expectedOutput-3.5/output.txt | 10 - .../reportFiles/expectedOutput-4.0/bundle.js | 113 ++++ .../reportFiles/expectedOutput-4.0/output.txt | 10 + .../expectedOutput-transpile-4.0/bundle.js | 113 ++++ .../expectedOutput-transpile-4.0/output.txt | 5 + .../expectedOutput-4.0/app.d.ts | 1 + .../expectedOutput-4.0/bundle.js | 1 + .../expectedOutput-4.0/output.txt | 10 + .../expectedOutput-transpile-4.0/bundle.js | 1 + .../expectedOutput-transpile-4.0/output.txt | 9 + test/comparison-tests/run-tests.js | 2 +- .../expectedOutput-1.6/bundle.js | 69 -- .../expectedOutput-1.6/output.txt | 6 - .../expectedOutput-1.6/patch0/bundle.js | 69 -- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-1.6/patch0/output.txt | 9 - .../expectedOutput-1.6/patch1/bundle.js | 69 -- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-1.6/patch1/output.txt | 6 - .../expectedOutput-1.7/bundle.js | 69 -- .../expectedOutput-1.7/output.txt | 6 - .../expectedOutput-1.7/patch0/bundle.js | 69 -- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-1.7/patch0/output.txt | 9 - .../expectedOutput-1.7/patch1/bundle.js | 69 -- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-1.7/patch1/output.txt | 6 - .../expectedOutput-1.8/bundle.js | 72 --- .../expectedOutput-1.8/output.txt | 6 - .../expectedOutput-1.8/patch0/bundle.js | 72 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-1.8/patch0/output.txt | 9 - .../expectedOutput-1.8/patch1/bundle.js | 72 --- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-1.8/patch1/output.txt | 6 - .../expectedOutput-2.0/bundle.js | 72 --- .../expectedOutput-2.0/output.txt | 6 - .../expectedOutput-2.0/patch0/bundle.js | 72 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.0/patch0/output.txt | 9 - .../expectedOutput-2.0/patch1/bundle.js | 72 --- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-2.0/patch1/output.txt | 6 - .../expectedOutput-2.1/bundle.js | 101 --- .../expectedOutput-2.1/output.txt | 6 - .../expectedOutput-2.1/patch0/bundle.js | 101 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.1/patch0/output.txt | 9 - .../expectedOutput-2.1/patch1/bundle.js | 101 --- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-2.1/patch1/output.txt | 6 - .../expectedOutput-2.2/bundle.js | 102 --- .../expectedOutput-2.2/output.txt | 6 - .../expectedOutput-2.2/patch0/bundle.js | 102 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.2/patch0/output.txt | 9 - .../expectedOutput-2.2/patch1/bundle.js | 102 --- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-2.2/patch1/output.txt | 6 - .../expectedOutput-2.3/bundle.js | 102 --- .../expectedOutput-2.3/output.txt | 6 - .../expectedOutput-2.3/patch0/bundle.js | 102 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.3/patch0/output.txt | 9 - .../expectedOutput-2.3/patch1/bundle.js | 102 --- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-2.3/patch1/output.txt | 6 - .../expectedOutput-2.4/bundle.js | 102 --- .../expectedOutput-2.4/output.txt | 6 - .../expectedOutput-2.4/patch0/bundle.js | 102 --- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.4/patch0/output.txt | 9 - .../expectedOutput-2.4/patch1/bundle.js | 102 --- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-2.4/patch1/output.txt | 6 - .../expectedOutput-2.5/bundle.js | 99 --- .../expectedOutput-2.5/output.txt | 5 - .../expectedOutput-2.5/patch0/bundle.js | 99 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.5/patch0/output.txt | 9 - .../expectedOutput-2.5/patch1/bundle.js | 99 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-2.5/patch1/output.txt | 5 - .../expectedOutput-2.6/bundle.js | 99 --- .../expectedOutput-2.6/output.txt | 5 - .../expectedOutput-2.6/patch0/bundle.js | 99 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.6/patch0/output.txt | 9 - .../expectedOutput-2.6/patch1/bundle.js | 99 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-2.6/patch1/output.txt | 5 - .../expectedOutput-2.7/bundle.js | 110 ---- .../expectedOutput-2.7/output.transpiled.txt | 7 - .../expectedOutput-2.7/output.txt | 7 - .../expectedOutput-2.7/patch0/bundle.js | 110 ---- .../patch0/output.transpiled.txt | 7 - .../expectedOutput-2.7/patch0/output.txt | 12 - .../expectedOutput-2.7/patch1/bundle.js | 110 ---- .../patch1/output.transpiled.txt | 7 - .../expectedOutput-2.7/patch1/output.txt | 7 - .../expectedOutput-2.8/bundle.js | 110 ---- .../expectedOutput-2.8/output.transpiled.txt | 7 - .../expectedOutput-2.8/output.txt | 6 - .../expectedOutput-2.8/patch0/bundle.js | 110 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.8/patch0/output.txt | 11 - .../expectedOutput-2.8/patch1/bundle.js | 110 ---- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-2.8/patch1/output.txt | 6 - .../expectedOutput-2.9/output.transpiled.txt | 7 - .../patch0/output.transpiled.txt | 6 - .../expectedOutput-2.9/patch0/output.txt | 11 - .../patch1/output.transpiled.txt | 6 - .../expectedOutput-3.0/bundle.js | 125 ---- .../expectedOutput-3.0/output.transpiled.txt | 6 - .../expectedOutput-3.0/output.txt | 6 - .../expectedOutput-3.0/patch0/bundle.js | 125 ---- .../patch0/bundle.transpiled.js | 125 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.0/patch0/output.txt | 11 - .../expectedOutput-3.0/patch1/bundle.js | 125 ---- .../patch1/bundle.transpiled.js | 125 ---- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-3.0/patch1/output.txt | 6 - .../expectedOutput-3.1/bundle.js | 125 ---- .../expectedOutput-3.1/output.transpiled.txt | 6 - .../expectedOutput-3.1/output.txt | 6 - .../expectedOutput-3.1/patch0/bundle.js | 125 ---- .../patch0/bundle.transpiled.js | 125 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.1/patch0/output.txt | 11 - .../expectedOutput-3.1/patch1/bundle.js | 125 ---- .../patch1/bundle.transpiled.js | 125 ---- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-3.1/patch1/output.txt | 6 - .../expectedOutput-3.2/bundle.js | 125 ---- .../expectedOutput-3.2/output.transpiled.txt | 6 - .../expectedOutput-3.2/output.txt | 6 - .../expectedOutput-3.2/patch0/bundle.js | 125 ---- .../patch0/bundle.transpiled.js | 125 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.2/patch0/output.txt | 11 - .../expectedOutput-3.2/patch1/bundle.js | 125 ---- .../patch1/bundle.transpiled.js | 125 ---- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-3.2/patch1/output.txt | 6 - .../expectedOutput-3.3/bundle.js | 125 ---- .../expectedOutput-3.3/output.transpiled.txt | 6 - .../expectedOutput-3.3/output.txt | 6 - .../expectedOutput-3.3/patch0/bundle.js | 125 ---- .../patch0/bundle.transpiled.js | 125 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.3/patch0/output.txt | 11 - .../expectedOutput-3.3/patch1/bundle.js | 125 ---- .../patch1/bundle.transpiled.js | 125 ---- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-3.3/patch1/output.txt | 6 - .../expectedOutput-3.4/bundle.js | 125 ---- .../expectedOutput-3.4/output.transpiled.txt | 6 - .../expectedOutput-3.4/output.txt | 6 - .../expectedOutput-3.4/patch0/bundle.js | 125 ---- .../patch0/bundle.transpiled.js | 125 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.4/patch0/output.txt | 11 - .../expectedOutput-3.4/patch1/bundle.js | 125 ---- .../patch1/bundle.transpiled.js | 125 ---- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-3.4/patch1/output.txt | 6 - .../expectedOutput-3.5/bundle.js | 125 ---- .../expectedOutput-3.5/output.transpiled.txt | 6 - .../expectedOutput-3.5/output.txt | 6 - .../expectedOutput-3.5/patch0/bundle.js | 125 ---- .../patch0/bundle.transpiled.js | 125 ---- .../patch0/output.transpiled.txt | 6 - .../expectedOutput-3.5/patch0/output.txt | 11 - .../expectedOutput-3.5/patch1/bundle.js | 125 ---- .../patch1/bundle.transpiled.js | 125 ---- .../patch1/output.transpiled.txt | 6 - .../expectedOutput-3.5/patch1/output.txt | 6 - .../bundle.js | 0 .../output.txt | 0 .../patch0/bundle.js | 0 .../expectedOutput-4.0/patch0/output.txt | 11 + .../patch1/bundle.js | 0 .../patch1/output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 125 ++++ .../expectedOutput-transpile-4.0/output.txt | 6 + .../patch0/bundle.js | 125 ++++ .../patch0/output.txt | 6 + .../patch1/bundle.js | 125 ++++ .../patch1/output.txt | 6 + .../sourceMaps/expectedOutput-1.6/bundle.js | 52 -- .../expectedOutput-1.6/bundle.js.map | 1 - .../sourceMaps/expectedOutput-1.6/output.txt | 5 - .../sourceMaps/expectedOutput-1.7/bundle.js | 52 -- .../expectedOutput-1.7/bundle.js.map | 1 - .../sourceMaps/expectedOutput-1.7/output.txt | 5 - .../sourceMaps/expectedOutput-1.8/bundle.js | 52 -- .../expectedOutput-1.8/bundle.js.map | 1 - .../bundle.js.transpiled.map | 1 - .../expectedOutput-1.8/bundle.transpiled.js | 53 -- .../expectedOutput-1.8/output.transpiled.txt | 5 - .../sourceMaps/expectedOutput-1.8/output.txt | 5 - .../sourceMaps/expectedOutput-2.0/bundle.js | 52 -- .../expectedOutput-2.0/bundle.js.map | 1 - .../bundle.js.transpiled.map | 1 - .../expectedOutput-2.0/bundle.transpiled.js | 53 -- .../expectedOutput-2.0/output.transpiled.txt | 5 - .../sourceMaps/expectedOutput-2.0/output.txt | 5 - .../sourceMaps/expectedOutput-2.1/bundle.js | 78 --- .../expectedOutput-2.1/bundle.js.map | 1 - .../bundle.js.transpiled.map | 1 - .../expectedOutput-2.1/bundle.transpiled.js | 80 --- .../expectedOutput-2.1/output.transpiled.txt | 5 - .../sourceMaps/expectedOutput-2.1/output.txt | 5 - .../sourceMaps/expectedOutput-2.2/bundle.js | 78 --- .../expectedOutput-2.2/bundle.js.map | 1 - .../bundle.js.transpiled.map | 1 - .../expectedOutput-2.2/bundle.transpiled.js | 81 --- .../expectedOutput-2.2/output.transpiled.txt | 5 - .../sourceMaps/expectedOutput-2.2/output.txt | 5 - .../sourceMaps/expectedOutput-2.3/bundle.js | 78 --- .../expectedOutput-2.3/bundle.js.map | 1 - .../sourceMaps/expectedOutput-2.3/output.txt | 5 - .../sourceMaps/expectedOutput-2.4/bundle.js | 78 --- .../expectedOutput-2.4/bundle.js.map | 1 - .../sourceMaps/expectedOutput-2.4/output.txt | 5 - .../sourceMaps/expectedOutput-2.5/bundle.js | 75 --- .../expectedOutput-2.5/bundle.js.map | 1 - .../sourceMaps/expectedOutput-2.5/output.txt | 4 - .../sourceMaps/expectedOutput-2.6/bundle.js | 75 --- .../expectedOutput-2.6/bundle.js.map | 1 - .../sourceMaps/expectedOutput-2.6/output.txt | 4 - .../sourceMaps/expectedOutput-2.7/bundle.js | 87 --- .../expectedOutput-2.7/bundle.js.map | 1 - .../sourceMaps/expectedOutput-2.7/output.txt | 6 - .../sourceMaps/expectedOutput-2.8/bundle.js | 87 --- .../expectedOutput-2.8/bundle.js.map | 1 - .../sourceMaps/expectedOutput-2.8/output.txt | 5 - .../expectedOutput-2.9/bundle.js.map | 1 - .../sourceMaps/expectedOutput-2.9/output.txt | 5 - .../expectedOutput-3.0/bundle.js.map | 1 - .../sourceMaps/expectedOutput-3.0/output.txt | 5 - .../sourceMaps/expectedOutput-3.1/bundle.js | 102 --- .../expectedOutput-3.1/bundle.js.map | 1 - .../sourceMaps/expectedOutput-3.1/output.txt | 5 - .../sourceMaps/expectedOutput-3.2/bundle.js | 102 --- .../expectedOutput-3.2/bundle.js.map | 1 - .../sourceMaps/expectedOutput-3.2/output.txt | 5 - .../sourceMaps/expectedOutput-3.3/bundle.js | 102 --- .../expectedOutput-3.3/bundle.js.map | 1 - .../sourceMaps/expectedOutput-3.3/output.txt | 5 - .../sourceMaps/expectedOutput-3.4/bundle.js | 102 --- .../expectedOutput-3.4/bundle.js.map | 1 - .../sourceMaps/expectedOutput-3.4/output.txt | 5 - .../sourceMaps/expectedOutput-3.5/bundle.js | 102 --- .../expectedOutput-3.5/bundle.js.map | 1 - .../sourceMaps/expectedOutput-3.5/output.txt | 5 - .../bundle.js | 0 .../expectedOutput-4.0/bundle.js.map | 1 + .../sourceMaps/expectedOutput-4.0/output.txt | 5 + .../bundle.js | 0 .../bundle.js.map | 1 + .../expectedOutput-transpile-4.0/output.txt | 5 + test/comparison-tests/stub-new-version.js | 7 +- .../expectedOutput-1.6/output.txt | 9 - .../expectedOutput-1.7/output.txt | 9 - .../expectedOutput-1.8/output.txt | 9 - .../expectedOutput-2.0/output.txt | 9 - .../expectedOutput-2.1/bundle.js | 76 --- .../expectedOutput-2.1/output.txt | 13 - .../expectedOutput-2.2/bundle.js | 76 --- .../expectedOutput-2.2/output.txt | 13 - .../expectedOutput-2.3/bundle.js | 76 --- .../expectedOutput-2.3/output.txt | 13 - .../expectedOutput-2.4/bundle.js | 76 --- .../expectedOutput-2.4/output.txt | 13 - .../expectedOutput-2.5/bundle.js | 73 --- .../expectedOutput-2.5/output.txt | 14 - .../expectedOutput-2.6/bundle.js | 73 --- .../expectedOutput-2.6/output.txt | 14 - .../expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/output.txt | 16 - .../expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/output.txt | 15 - .../expectedOutput-2.9/bundle.js | 100 --- .../expectedOutput-2.9/output.txt | 16 - .../expectedOutput-3.0/output.txt | 17 - .../expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/output.txt | 17 - .../expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/output.txt | 17 - .../expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/output.txt | 17 - .../expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/output.txt | 17 - .../expectedOutput-3.5/bundle.js | 100 --- .../bundle.js | 0 .../output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 100 +++ .../expectedOutput-transpile-4.0/output.txt | 17 + .../expectedOutput-1.6/bundle.transpiled.js | 50 -- .../expectedOutput-1.6/output.transpiled.txt | 4 - .../expectedOutput-1.6/output.txt | 3 - .../expectedOutput-1.7/bundle.transpiled.js | 50 -- .../expectedOutput-1.7/output.transpiled.txt | 4 - .../expectedOutput-1.7/output.txt | 3 - .../expectedOutput-1.8/bundle.transpiled.js | 51 -- .../expectedOutput-1.8/output.transpiled.txt | 4 - .../expectedOutput-1.8/output.txt | 3 - .../expectedOutput-2.0/bundle.transpiled.js | 51 -- .../expectedOutput-2.0/output.transpiled.txt | 4 - .../expectedOutput-2.0/output.txt | 3 - .../expectedOutput-2.1/bundle.js | 76 --- .../expectedOutput-2.1/bundle.transpiled.js | 78 --- .../expectedOutput-2.1/output.transpiled.txt | 4 - .../expectedOutput-2.1/output.txt | 7 - .../expectedOutput-2.2/bundle.js | 76 --- .../expectedOutput-2.2/bundle.transpiled.js | 79 --- .../expectedOutput-2.2/output.transpiled.txt | 4 - .../expectedOutput-2.2/output.txt | 7 - .../expectedOutput-2.3/bundle.js | 76 --- .../expectedOutput-2.3/bundle.transpiled.js | 76 --- .../expectedOutput-2.3/output.transpiled.txt | 4 - .../expectedOutput-2.3/output.txt | 7 - .../expectedOutput-2.4/bundle.js | 76 --- .../expectedOutput-2.4/bundle.transpiled.js | 76 --- .../expectedOutput-2.4/output.transpiled.txt | 4 - .../expectedOutput-2.4/output.txt | 7 - .../expectedOutput-2.5/bundle.js | 73 --- .../expectedOutput-2.5/bundle.transpiled.js | 73 --- .../expectedOutput-2.5/output.transpiled.txt | 3 - .../expectedOutput-2.5/output.txt | 6 - .../expectedOutput-2.6/bundle.js | 73 --- .../expectedOutput-2.6/bundle.transpiled.js | 73 --- .../expectedOutput-2.6/output.transpiled.txt | 3 - .../expectedOutput-2.6/output.txt | 6 - .../expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/bundle.transpiled.js | 85 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../expectedOutput-2.7/output.txt | 8 - .../expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/bundle.transpiled.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 4 - .../expectedOutput-2.8/output.txt | 7 - .../expectedOutput-2.9/bundle.js | 100 --- .../expectedOutput-2.9/output.txt | 8 - .../expectedOutput-3.0/bundle.transpiled.js | 100 --- .../expectedOutput-3.0/output.transpiled.txt | 4 - .../expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/bundle.transpiled.js | 100 --- .../expectedOutput-3.1/output.transpiled.txt | 4 - .../expectedOutput-3.1/output.txt | 9 - .../expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/bundle.transpiled.js | 100 --- .../expectedOutput-3.2/output.transpiled.txt | 4 - .../expectedOutput-3.2/output.txt | 9 - .../expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/bundle.transpiled.js | 100 --- .../expectedOutput-3.3/output.transpiled.txt | 4 - .../expectedOutput-3.3/output.txt | 9 - .../expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/bundle.transpiled.js | 100 --- .../expectedOutput-3.4/output.transpiled.txt | 4 - .../expectedOutput-3.4/output.txt | 9 - .../expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/bundle.transpiled.js | 100 --- .../expectedOutput-3.5/output.transpiled.txt | 4 - .../expectedOutput-3.5/output.txt | 9 - .../bundle.js | 0 .../output.txt | 0 .../bundle.js} | 0 .../output.txt} | 0 .../{instance => tsconfigNotReadable}/_FLAKY_ | 0 .../expectedOutput-1.6/output.txt | 3 - .../expectedOutput-1.7/output.txt | 3 - .../expectedOutput-1.8/output.txt | 3 - .../expectedOutput-2.0/output.txt | 3 - .../expectedOutput-2.1/bundle.js | 76 --- .../expectedOutput-2.1/bundle.transpiled.js | 76 --- .../expectedOutput-2.1/output.transpiled.txt | 7 - .../expectedOutput-2.1/output.txt | 7 - .../expectedOutput-2.2/bundle.js | 76 --- .../expectedOutput-2.2/bundle.transpiled.js | 76 --- .../expectedOutput-2.2/output.transpiled.txt | 7 - .../expectedOutput-2.2/output.txt | 7 - .../expectedOutput-2.3/bundle.js | 76 --- .../expectedOutput-2.3/bundle.transpiled.js | 76 --- .../expectedOutput-2.3/output.transpiled.txt | 7 - .../expectedOutput-2.3/output.txt | 7 - .../expectedOutput-2.4/bundle.js | 76 --- .../expectedOutput-2.4/bundle.transpiled.js | 76 --- .../expectedOutput-2.4/output.transpiled.txt | 7 - .../expectedOutput-2.4/output.txt | 7 - .../expectedOutput-2.5/bundle.js | 73 --- .../expectedOutput-2.5/bundle.transpiled.js | 73 --- .../expectedOutput-2.5/output.transpiled.txt | 8 - .../expectedOutput-2.5/output.txt | 8 - .../expectedOutput-2.6/bundle.js | 73 --- .../expectedOutput-2.6/bundle.transpiled.js | 73 --- .../expectedOutput-2.6/output.transpiled.txt | 8 - .../expectedOutput-2.6/output.txt | 8 - .../expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/bundle.transpiled.js | 85 --- .../expectedOutput-2.7/output.transpiled.txt | 10 - .../expectedOutput-2.7/output.txt | 10 - .../expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/bundle.transpiled.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 9 - .../expectedOutput-2.8/output.txt | 9 - .../expectedOutput-2.9/bundle.js | 100 --- .../expectedOutput-2.9/bundle.transpiled.js | 100 --- .../expectedOutput-2.9/output.transpiled.txt | 10 - .../expectedOutput-2.9/output.txt | 10 - .../expectedOutput-3.0/bundle.transpiled.js | 100 --- .../expectedOutput-3.0/output.transpiled.txt | 11 - .../expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/bundle.transpiled.js | 100 --- .../expectedOutput-3.1/output.transpiled.txt | 11 - .../expectedOutput-3.1/output.txt | 11 - .../expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/bundle.transpiled.js | 100 --- .../expectedOutput-3.2/output.transpiled.txt | 11 - .../expectedOutput-3.2/output.txt | 11 - .../expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/bundle.transpiled.js | 100 --- .../expectedOutput-3.3/output.transpiled.txt | 11 - .../expectedOutput-3.3/output.txt | 11 - .../expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/bundle.transpiled.js | 100 --- .../expectedOutput-3.4/output.transpiled.txt | 11 - .../expectedOutput-3.4/output.txt | 11 - .../expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/bundle.transpiled.js | 100 --- .../expectedOutput-3.5/output.transpiled.txt | 11 - .../expectedOutput-3.5/output.txt | 11 - .../bundle.js | 0 .../output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 100 +++ .../expectedOutput-transpile-4.0/output.txt | 11 + .../expectedOutput-1.6/bundle.js | 60 -- .../expectedOutput-1.6/output.txt | 5 - .../expectedOutput-1.7/bundle.js | 60 -- .../expectedOutput-1.7/output.txt | 5 - .../expectedOutput-1.8/bundle.js | 61 -- .../expectedOutput-1.8/output.txt | 5 - .../expectedOutput-2.0/bundle.js | 61 -- .../expectedOutput-2.0/output.txt | 5 - .../expectedOutput-2.1/bundle.js | 88 --- .../expectedOutput-2.1/output.txt | 5 - .../expectedOutput-2.2/bundle.js | 89 --- .../expectedOutput-2.2/output.txt | 5 - .../expectedOutput-2.3/bundle.js | 89 --- .../expectedOutput-2.3/output.txt | 5 - .../expectedOutput-2.4/bundle.js | 89 --- .../expectedOutput-2.4/output.txt | 5 - .../expectedOutput-2.5/bundle.js | 86 --- .../expectedOutput-2.5/output.txt | 4 - .../expectedOutput-2.6/bundle.js | 86 --- .../expectedOutput-2.6/output.txt | 4 - .../expectedOutput-2.7/bundle.js | 97 --- .../expectedOutput-2.7/output.transpiled.txt | 6 - .../expectedOutput-2.7/output.txt | 6 - .../expectedOutput-2.8/bundle.js | 97 --- .../expectedOutput-2.8/output.transpiled.txt | 6 - .../expectedOutput-2.8/output.txt | 5 - .../expectedOutput-2.9/output.transpiled.txt | 6 - .../expectedOutput-3.0/bundle.js | 112 ---- .../expectedOutput-3.0/output.transpiled.txt | 6 - .../expectedOutput-3.0/output.txt | 5 - .../expectedOutput-3.1/bundle.js | 112 ---- .../expectedOutput-3.1/output.transpiled.txt | 6 - .../expectedOutput-3.1/output.txt | 5 - .../expectedOutput-3.2/bundle.js | 112 ---- .../expectedOutput-3.2/output.transpiled.txt | 6 - .../expectedOutput-3.2/output.txt | 5 - .../expectedOutput-3.3/bundle.js | 112 ---- .../expectedOutput-3.3/output.transpiled.txt | 6 - .../expectedOutput-3.3/output.txt | 5 - .../expectedOutput-3.4/bundle.js | 112 ---- .../expectedOutput-3.4/output.transpiled.txt | 6 - .../expectedOutput-3.4/output.txt | 5 - .../expectedOutput-3.5/bundle.js | 112 ---- .../expectedOutput-3.5/output.transpiled.txt | 6 - .../expectedOutput-3.5/output.txt | 5 - .../bundle.js | 0 .../output.txt | 0 .../expectedOutput-transpile-4.0/bundle.js | 112 ++++ .../expectedOutput-transpile-4.0/output.txt | 5 + .../expectedOutput-1.6/bundle.js | 60 -- .../expectedOutput-1.6/output.txt | 4 - .../expectedOutput-1.6/patch0/bundle.js | 60 -- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-1.6/patch0/output.txt | 8 - .../expectedOutput-1.6/patch1/bundle.js | 60 -- .../expectedOutput-1.6/patch1/output.txt | 4 - .../expectedOutput-1.7/bundle.js | 60 -- .../expectedOutput-1.7/output.txt | 4 - .../expectedOutput-1.7/patch0/bundle.js | 60 -- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-1.7/patch0/output.txt | 8 - .../expectedOutput-1.7/patch1/bundle.js | 60 -- .../expectedOutput-1.7/patch1/output.txt | 4 - .../expectedOutput-1.8/bundle.js | 60 -- .../expectedOutput-1.8/bundle.transpiled.js | 61 -- .../expectedOutput-1.8/output.transpiled.txt | 4 - .../expectedOutput-1.8/output.txt | 4 - .../expectedOutput-1.8/patch0/bundle.js | 60 -- .../patch0/bundle.transpiled.js | 61 -- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-1.8/patch0/output.txt | 8 - .../expectedOutput-1.8/patch1/bundle.js | 60 -- .../patch1/bundle.transpiled.js | 61 -- .../patch1/output.transpiled.txt | 4 - .../expectedOutput-1.8/patch1/output.txt | 4 - .../expectedOutput-2.0/bundle.js | 60 -- .../expectedOutput-2.0/bundle.transpiled.js | 61 -- .../expectedOutput-2.0/output.transpiled.txt | 4 - .../expectedOutput-2.0/output.txt | 4 - .../expectedOutput-2.0/patch0/bundle.js | 60 -- .../patch0/bundle.transpiled.js | 61 -- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-2.0/patch0/output.txt | 8 - .../expectedOutput-2.0/patch1/bundle.js | 60 -- .../patch1/bundle.transpiled.js | 61 -- .../patch1/output.transpiled.txt | 4 - .../expectedOutput-2.0/patch1/output.txt | 4 - .../expectedOutput-2.1/bundle.js | 86 --- .../expectedOutput-2.1/bundle.transpiled.js | 88 --- .../expectedOutput-2.1/output.transpiled.txt | 4 - .../expectedOutput-2.1/output.txt | 4 - .../expectedOutput-2.1/patch0/bundle.js | 86 --- .../patch0/bundle.transpiled.js | 88 --- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-2.1/patch0/output.txt | 8 - .../expectedOutput-2.1/patch1/bundle.js | 86 --- .../patch1/bundle.transpiled.js | 88 --- .../patch1/output.transpiled.txt | 4 - .../expectedOutput-2.1/patch1/output.txt | 4 - .../expectedOutput-2.2/bundle.js | 86 --- .../expectedOutput-2.2/bundle.transpiled.js | 89 --- .../expectedOutput-2.2/output.transpiled.txt | 4 - .../expectedOutput-2.2/output.txt | 4 - .../expectedOutput-2.2/patch0/bundle.js | 86 --- .../patch0/bundle.transpiled.js | 89 --- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-2.2/patch0/output.txt | 8 - .../expectedOutput-2.2/patch1/bundle.js | 86 --- .../patch1/bundle.transpiled.js | 89 --- .../patch1/output.transpiled.txt | 4 - .../expectedOutput-2.2/patch1/output.txt | 4 - .../expectedOutput-2.3/bundle.js | 86 --- .../expectedOutput-2.3/output.txt | 4 - .../expectedOutput-2.3/patch0/bundle.js | 86 --- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-2.3/patch0/output.txt | 8 - .../expectedOutput-2.3/patch1/bundle.js | 86 --- .../expectedOutput-2.3/patch1/output.txt | 4 - .../expectedOutput-2.4/bundle.js | 86 --- .../expectedOutput-2.4/output.txt | 4 - .../expectedOutput-2.4/patch0/bundle.js | 86 --- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-2.4/patch0/output.txt | 8 - .../expectedOutput-2.4/patch1/bundle.js | 86 --- .../expectedOutput-2.4/patch1/output.txt | 4 - .../expectedOutput-2.5/bundle.js | 83 --- .../expectedOutput-2.5/output.txt | 3 - .../expectedOutput-2.5/patch0/bundle.js | 83 --- .../patch0/output.transpiled.txt | 3 - .../expectedOutput-2.5/patch0/output.txt | 8 - .../expectedOutput-2.5/patch1/bundle.js | 83 --- .../expectedOutput-2.5/patch1/output.txt | 3 - .../expectedOutput-2.6/bundle.js | 83 --- .../expectedOutput-2.6/output.txt | 3 - .../expectedOutput-2.6/patch0/bundle.js | 83 --- .../patch0/output.transpiled.txt | 3 - .../expectedOutput-2.6/patch0/output.txt | 8 - .../expectedOutput-2.6/patch1/bundle.js | 83 --- .../expectedOutput-2.6/patch1/output.txt | 3 - .../expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/output.transpiled.txt | 5 - .../expectedOutput-2.7/output.txt | 5 - .../expectedOutput-2.7/patch0/bundle.js | 85 --- .../patch0/output.transpiled.txt | 5 - .../expectedOutput-2.7/patch0/output.txt | 11 - .../expectedOutput-2.7/patch1/bundle.js | 85 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-2.7/patch1/output.txt | 5 - .../expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/output.transpiled.txt | 5 - .../expectedOutput-2.8/output.txt | 4 - .../expectedOutput-2.8/patch0/bundle.js | 85 --- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-2.8/patch0/output.txt | 10 - .../expectedOutput-2.8/patch1/bundle.js | 85 --- .../patch1/output.transpiled.txt | 5 - .../expectedOutput-2.8/patch1/output.txt | 4 - .../expectedOutput-2.9/output.transpiled.txt | 5 - .../patch0/output.transpiled.txt | 4 - .../expectedOutput-2.9/patch0/output.txt | 10 - .../patch1/output.transpiled.txt | 5 - .../expectedOutput-3.0/output.transpiled.txt | 4 - .../patch0/bundle.transpiled.js | 100 --- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-3.0/patch0/output.txt | 10 - .../patch1/bundle.transpiled.js | 100 --- .../patch1/output.transpiled.txt | 4 - .../expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/output.transpiled.txt | 4 - .../expectedOutput-3.1/patch0/bundle.js | 100 --- .../patch0/bundle.transpiled.js | 100 --- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-3.1/patch0/output.txt | 10 - .../expectedOutput-3.1/patch1/bundle.js | 100 --- .../patch1/bundle.transpiled.js | 100 --- .../patch1/output.transpiled.txt | 4 - .../expectedOutput-3.1/patch1/output.txt | 4 - .../expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/output.transpiled.txt | 4 - .../expectedOutput-3.2/output.txt | 4 - .../expectedOutput-3.2/patch0/bundle.js | 100 --- .../patch0/bundle.transpiled.js | 100 --- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-3.2/patch1/bundle.js | 100 --- .../patch1/bundle.transpiled.js | 100 --- .../patch1/output.transpiled.txt | 4 - .../expectedOutput-3.2/patch1/output.txt | 4 - .../expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/output.transpiled.txt | 4 - .../expectedOutput-3.3/output.txt | 4 - .../expectedOutput-3.3/patch0/bundle.js | 100 --- .../patch0/bundle.transpiled.js | 100 --- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-3.3/patch0/output.txt | 9 - .../expectedOutput-3.3/patch1/bundle.js | 100 --- .../patch1/bundle.transpiled.js | 100 --- .../patch1/output.transpiled.txt | 4 - .../expectedOutput-3.3/patch1/output.txt | 4 - .../expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/output.transpiled.txt | 4 - .../expectedOutput-3.4/output.txt | 4 - .../expectedOutput-3.4/patch0/bundle.js | 100 --- .../patch0/bundle.transpiled.js | 100 --- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-3.4/patch0/output.txt | 9 - .../expectedOutput-3.4/patch1/bundle.js | 100 --- .../patch1/bundle.transpiled.js | 100 --- .../patch1/output.transpiled.txt | 4 - .../expectedOutput-3.4/patch1/output.txt | 4 - .../expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/output.transpiled.txt | 4 - .../expectedOutput-3.5/output.txt | 4 - .../expectedOutput-3.5/patch0/bundle.js | 100 --- .../patch0/bundle.transpiled.js | 100 --- .../patch0/output.transpiled.txt | 4 - .../expectedOutput-3.5/patch0/output.txt | 9 - .../expectedOutput-3.5/patch1/bundle.js | 100 --- .../patch1/bundle.transpiled.js | 100 --- .../patch1/output.transpiled.txt | 4 - .../expectedOutput-3.5/patch1/output.txt | 4 - .../bundle.js | 0 .../output.txt | 0 .../patch0/bundle.js | 0 .../patch0/output.txt | 0 .../patch1/bundle.js | 0 .../patch1/output.txt | 0 .../bundle.js | 0 .../output.txt | 0 .../patch0/bundle.js | 0 .../patch0}/output.txt | 0 .../patch1/bundle.js | 0 .../patch1}/output.txt | 0 .../expectedOutput-2.5/bundle.js | 73 --- .../expectedOutput-2.5/output.txt | 13 - .../expectedOutput-2.6/bundle.js | 73 --- .../expectedOutput-2.6/output.txt | 13 - .../expectedOutput-2.7/bundle.js | 85 --- .../expectedOutput-2.7/output.txt | 15 - .../expectedOutput-2.8/bundle.js | 85 --- .../expectedOutput-2.8/output.txt | 14 - .../expectedOutput-2.9/bundle.js | 100 --- .../expectedOutput-2.9/output.txt | 14 - .../expectedOutput-3.0/bundle.js | 100 --- .../expectedOutput-3.0/output.txt | 15 - .../expectedOutput-3.1/bundle.js | 100 --- .../expectedOutput-3.1/output.txt | 15 - .../expectedOutput-3.2/bundle.js | 100 --- .../expectedOutput-3.2/output.txt | 15 - .../expectedOutput-3.3/bundle.js | 100 --- .../expectedOutput-3.3/output.txt | 15 - .../expectedOutput-3.4/bundle.js | 100 --- .../expectedOutput-3.4/output.txt | 15 - .../expectedOutput-3.5/bundle.js | 100 --- .../expectedOutput-3.5/output.txt | 15 - .../expectedOutput-4.0/bundle.js | 100 +++ .../expectedOutput-4.0/output.txt | 15 + .../expectedOutput-transpile-4.0/bundle.js | 100 +++ .../expectedOutput-transpile-4.0/output.txt | 15 + yarn.lock | 600 +++++++++--------- 4716 files changed, 44667 insertions(+), 141542 deletions(-) delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.6/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.7/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.7/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.7/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.8/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-1.8/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.0/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.0/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.1/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.1/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.3/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.3/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.4/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.4/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.5/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.5/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.6/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.6/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.6/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.7/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.7/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.8/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.8/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.9/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-2.9/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.0/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.0/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.1/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.1/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.2/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.2/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.3/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.3/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.4/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.4/patch0/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.5/patch0/bundle.js delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/aliasResolution/expectedOutput-3.5/patch0/output.txt rename test/comparison-tests/aliasResolution/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-4.0/output.txt rename test/comparison-tests/aliasResolution/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/bundle.js (100%) create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/patch0/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.5/output.txt rename test/comparison-tests/allowJs-entryFileIsJs/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/allowJs-entryFileIsJs/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/allowJs-entryFileIsJs/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/allowJs-entryFileIsJs/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/output.txt (100%) create mode 100644 test/comparison-tests/allowJs-ts-check/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/allowJs-ts-check/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-4.0/bundle.js rename test/comparison-tests/appendSuffixTo/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) create mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry2.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/bundle.entry2.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/patch0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/patch0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/bundle.entry2.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/patch0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/patch0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/bundle.entry2.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/patch0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/patch0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/bundle.entry2.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/patch0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/patch0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/bundle.entry2.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/patch0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/patch0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/bundle.entry2.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/patch0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/patch0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/bundle.entry2.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/patch0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/patch0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/bundle.entry2.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/patch0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/patch0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/bundle.entry2.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/patch0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/patch0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/bundle.entry2.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/patch0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/patch0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/bundle.entry2.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/patch0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/patch0/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/bundle.entry2.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/patch0/bundle.entry1.js delete mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/patch0/output.txt rename test/comparison-tests/appendSuffixToWatch/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.entry1.js (100%) rename test/comparison-tests/appendSuffixToWatch/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.entry2.js (100%) rename test/comparison-tests/appendSuffixToWatch/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/appendSuffixToWatch/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/bundle.entry1.js (100%) rename test/comparison-tests/appendSuffixToWatch/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/output.txt (100%) delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-3.5/output.txt rename test/comparison-tests/babel-es6resolveParent/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/babel-es6resolveParent/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/babel-es6resolveParent/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/babel-es6resolveParent/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/output.txt (100%) delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-1.7/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-1.8/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.0/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.1/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.2/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.3/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.4/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.5/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.6/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.7/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.8/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.9/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.0/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.1/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.2/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.3/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.4/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.5/bundle.js.map delete mode 100644 test/comparison-tests/babel-issue81/expectedOutput-3.5/output.txt rename test/comparison-tests/babel-issue81/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) create mode 100644 test/comparison-tests/babel-issue81/expectedOutput-4.0/bundle.js.map create mode 100644 test/comparison-tests/babel-issue81/expectedOutput-4.0/output.txt rename test/comparison-tests/babel-issue81/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) create mode 100644 test/comparison-tests/babel-issue81/expectedOutput-transpile-4.0/bundle.js.map create mode 100644 test/comparison-tests/babel-issue81/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/babel-issue92/expectedOutput-3.5/output.txt rename test/comparison-tests/babel-issue92/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/babel-issue92/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/babel-issue92/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/babel-issue92/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/output.txt (100%) delete mode 100644 test/comparison-tests/basic/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-1.6/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-1.6/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-1.6/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-1.6/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-1.6/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-1.7/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-1.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-1.7/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-1.7/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-1.7/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-1.8/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-1.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-1.8/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-1.8/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-1.8/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.0/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.0/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.0/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.0/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.1/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.1/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.1/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.1/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.2/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.2/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.2/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.2/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.3/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.3/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.3/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.3/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.4/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.4/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.4/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.4/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.5/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.5/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.5/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.5/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.6/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.6/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.6/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.6/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.6/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.7/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.7/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.7/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.7/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.7/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.8/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.8/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.8/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-2.8/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.8/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.9/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-2.9/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.0/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.1/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.1/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.1/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.1/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.1/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.2/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.2/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.2/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.2/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.2/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.3/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.3/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.3/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.3/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.3/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.4/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.4/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.4/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.4/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.4/patch1/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.5/patch0/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.5/patch0/output.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.5/patch1/bundle.js delete mode 100644 test/comparison-tests/basic/expectedOutput-3.5/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/basic/expectedOutput-3.5/patch1/output.txt rename test/comparison-tests/basic/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/basic/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/basic/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/bundle.js (100%) rename test/comparison-tests/basic/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/output.txt (100%) rename test/comparison-tests/basic/{expectedOutput-2.9 => expectedOutput-4.0}/patch1/bundle.js (100%) rename test/comparison-tests/basic/{expectedOutput-2.9 => expectedOutput-4.0}/patch1/output.txt (100%) create mode 100644 test/comparison-tests/basic/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/basic/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/basic/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/basic/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/basic/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/basic/expectedOutput-transpile-4.0/patch1/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-1.6/1.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-1.7/1.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-1.8/1.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.0/1.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.1/0.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.2/0.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.3/0.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.4/0.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.5/0.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.6/0.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.9/0.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.0/0.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.1/0.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.2/0.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.3/0.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.4/0.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.5/0.bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/codeSplitting/expectedOutput-3.5/output.txt rename test/comparison-tests/codeSplitting/{expectedOutput-2.7 => expectedOutput-4.0}/0.bundle.js (100%) create mode 100644 test/comparison-tests/codeSplitting/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/codeSplitting/expectedOutput-4.0/output.txt rename test/comparison-tests/codeSplitting/{expectedOutput-2.8 => expectedOutput-transpile-4.0}/0.bundle.js (100%) create mode 100644 test/comparison-tests/codeSplitting/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/codeSplitting/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/colors/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/colors/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/colors/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/colors/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/colors/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/colors/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/colors/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/colors/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/colors/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/colors/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/colors/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/colors/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/colors/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/colors/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/colors/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/colors/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-3.5/output.txt rename test/comparison-tests/conditionalRequire/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/conditionalRequire/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) create mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/bundle.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/output.txt rename test/comparison-tests/constEnumReExportWatch/{expectedOutput-2.1 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/constEnumReExportWatch/{expectedOutput-2.1 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/constEnumReExportWatch/{expectedOutput-2.0 => expectedOutput-4.0}/patch0/bundle.js (100%) rename test/comparison-tests/constEnumReExportWatch/{expectedOutput-2.0 => expectedOutput-4.0/patch0}/output.txt (100%) delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.3/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.3/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.3/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.3/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.3/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.3/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.4/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.4/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.4/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.4/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.5/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.5/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.5/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.5/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.6/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.6/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.6/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.6/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.7/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.7/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.7/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.7/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.7/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.8/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.8/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.8/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.8/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.8/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.9/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-2.9/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.0/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.1/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.2/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.3/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.3/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.3/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.3/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.3/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.4/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.4/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.4/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.4/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.4/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.5/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.5/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.5/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.5/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformer/expectedOutput-3.5/patch1/output.txt rename test/comparison-tests/customTransformer/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/customTransformer/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/customTransformer/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/bundle.js (100%) rename test/comparison-tests/customTransformer/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/output.txt (100%) rename test/comparison-tests/customTransformer/{expectedOutput-2.9 => expectedOutput-4.0}/patch1/bundle.js (100%) rename test/comparison-tests/customTransformer/{expectedOutput-2.9 => expectedOutput-4.0}/patch1/output.txt (100%) rename test/comparison-tests/customTransformer/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/customTransformer/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/output.txt (100%) rename test/comparison-tests/customTransformer/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/patch0/bundle.js (100%) rename test/comparison-tests/customTransformer/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/patch0/output.txt (100%) rename test/comparison-tests/customTransformer/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/patch1/bundle.js (100%) rename test/comparison-tests/customTransformer/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/patch1/output.txt (100%) delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch1/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch0/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch0/output.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch1/bundle.js delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch1/output.txt rename test/comparison-tests/{customTransformer/expectedOutput-3.1 => customTransformerUsingPathString/expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/{customTransformer/expectedOutput-3.1 => customTransformerUsingPathString/expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/{customTransformer/expectedOutput-3.1 => customTransformerUsingPathString/expectedOutput-4.0}/patch0/bundle.js (100%) rename test/comparison-tests/{customTransformer/expectedOutput-3.1 => customTransformerUsingPathString/expectedOutput-4.0}/patch0/output.txt (100%) rename test/comparison-tests/{customTransformer/expectedOutput-3.1 => customTransformerUsingPathString/expectedOutput-4.0}/patch1/bundle.js (100%) rename test/comparison-tests/{customTransformer/expectedOutput-3.1 => customTransformerUsingPathString/expectedOutput-4.0}/patch1/output.txt (100%) rename test/comparison-tests/{customTransformer/expectedOutput-3.2 => customTransformerUsingPathString/expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/{customTransformer/expectedOutput-3.2 => customTransformerUsingPathString/expectedOutput-transpile-4.0}/output.txt (100%) rename test/comparison-tests/{customTransformer/expectedOutput-3.2 => customTransformerUsingPathString/expectedOutput-transpile-4.0}/patch0/bundle.js (100%) rename test/comparison-tests/{customTransformer/expectedOutput-3.2 => customTransformerUsingPathString/expectedOutput-transpile-4.0}/patch0/output.txt (100%) rename test/comparison-tests/{customTransformer/expectedOutput-3.2 => customTransformerUsingPathString/expectedOutput-transpile-4.0}/patch1/bundle.js (100%) rename test/comparison-tests/{customTransformer/expectedOutput-3.2 => customTransformerUsingPathString/expectedOutput-transpile-4.0}/patch1/output.txt (100%) delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-1.6/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-1.7/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-1.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/declarationDeps/expectedOutput-3.5/output.txt rename test/comparison-tests/declarationDeps/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/declarationDeps/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/declarationDeps/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/declarationDeps/{expectedOutput-2.9/output.transpiled.txt => expectedOutput-transpile-4.0/output.txt} (100%) delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-1.7/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-1.7/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-1.8/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-1.8/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.0/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.0/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.1/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.1/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.2/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.2/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.3/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.3/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.4/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.4/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.5/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.5/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.6/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.6/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.7/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.7/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.8/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.8/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.9/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-2.9/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.0/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.0/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.1/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.1/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.2/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.2/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.3/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.3/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.4/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.4/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.5/app.d.ts delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/declarationOutput/expectedOutput-3.5/sub/dep.d.ts rename test/comparison-tests/declarationOutput/{expectedOutput-1.6 => expectedOutput-4.0/.output}/app.d.ts (100%) rename test/comparison-tests/declarationOutput/{expectedOutput-1.6 => expectedOutput-4.0/.output}/sub/dep.d.ts (100%) create mode 100644 test/comparison-tests/declarationOutput/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/declarationOutput/expectedOutput-4.0/output.txt delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/app.d.ts delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/app.d.ts.map delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/sub/dep.d.ts.map delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/app.d.ts delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/app.d.ts.map delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/sub/dep.d.ts.map delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/app.d.ts delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/app.d.ts.map delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/sub/dep.d.ts.map delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/app.d.ts delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/app.d.ts.map delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/sub/dep.d.ts.map delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/app.d.ts delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/app.d.ts.map delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/sub/dep.d.ts delete mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/sub/dep.d.ts.map rename test/comparison-tests/declarationOutputWithMaps/{expectedOutput-3.0 => expectedOutput-4.0/.output}/app.d.ts (100%) rename test/comparison-tests/declarationOutputWithMaps/{expectedOutput-3.0 => expectedOutput-4.0/.output}/app.d.ts.map (100%) rename test/comparison-tests/declarationOutputWithMaps/{expectedOutput-3.0 => expectedOutput-4.0/.output}/sub/dep.d.ts (100%) rename test/comparison-tests/declarationOutputWithMaps/{expectedOutput-3.0 => expectedOutput-4.0/.output}/sub/dep.d.ts.map (100%) create mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.6/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.6/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.6/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.6/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.7/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.7/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.7/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.7/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.8/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.8/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.8/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-1.8/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.0/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.0/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.0/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.0/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.1/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.1/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.1/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.1/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.2/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.2/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.3/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.3/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.3/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.3/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.4/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.4/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.4/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.4/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.5/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.5/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.6/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.6/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.7/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.7/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.7/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.7/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.8/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.8/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.8/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-2.8/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.0/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.0/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.0/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.0/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.1/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.1/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.1/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.1/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.2/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.2/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.2/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.2/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.3/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.3/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.3/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.3/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.4/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.4/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.4/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.4/patch1/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.5/patch0/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.5/patch0/output.txt delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.5/patch1/bundle.js delete mode 100644 test/comparison-tests/declarationWatch/expectedOutput-3.5/patch1/output.txt rename test/comparison-tests/declarationWatch/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/declarationWatch/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/declarationWatch/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/bundle.js (100%) rename test/comparison-tests/declarationWatch/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/output.txt (100%) rename test/comparison-tests/declarationWatch/{expectedOutput-2.9 => expectedOutput-4.0}/patch1/bundle.js (100%) rename test/comparison-tests/declarationWatch/{expectedOutput-2.9 => expectedOutput-4.0}/patch1/output.txt (100%) delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.6/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.6/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.6/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.6/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.7/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.7/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.7/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.8/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-1.8/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.0/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.0/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.1/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.1/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.3/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.3/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.4/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.4/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.5/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.5/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.6/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.6/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.6/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.7/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.7/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.8/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.8/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.9/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-2.9/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.0/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.0/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.1/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.1/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.2/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.2/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.3/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.3/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.4/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.4/patch0/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.5/patch0/bundle.js delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-3.5/patch0/output.txt rename test/comparison-tests/dependencyErrors/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-4.0/output.txt rename test/comparison-tests/dependencyErrors/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/bundle.js (100%) create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/patch0/output.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/errorFormatter/expectedOutput-3.5/output.txt rename test/comparison-tests/{aliasResolution/expectedOutput-3.0 => errorFormatter/expectedOutput-4.0}/bundle.js (100%) create mode 100644 test/comparison-tests/errorFormatter/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/errorFormatter/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/errorFormatter/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/errors/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/errors/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-2.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/errors/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-2.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/errors/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/errors/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/errors/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/errors/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/errors/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/errors/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/errors/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-1.6/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-1.7/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-1.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/es3/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/es3/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/es3/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/es3/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/es3/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/es3/expectedOutput-3.5/output.txt rename test/comparison-tests/es3/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/es3/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/es3/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/es3/{expectedOutput-2.9/output.transpiled.txt => expectedOutput-transpile-4.0/output.txt} (100%) delete mode 100644 test/comparison-tests/es5/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-1.6/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-1.7/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-1.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/es5/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/es5/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/es5/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/es5/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/es5/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/es5/expectedOutput-3.5/output.txt rename test/comparison-tests/es5/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/es5/{expectedOutput-3.3 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/es5/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/es5/{expectedOutput-3.4 => expectedOutput-transpile-4.0}/output.txt (100%) delete mode 100644 test/comparison-tests/es6/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/es6/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/es6/expectedOutput-3.5/output.txt rename test/comparison-tests/es6/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/es6/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/es6/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/es6/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/output.txt (100%) delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-1.6/1.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-1.7/1.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-1.8/1.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.0/1.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.1/0.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.2/0.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.3/0.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.4/0.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.5/0.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.6/0.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.9/0.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.0/0.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.1/0.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.2/0.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.3/0.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.4/0.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.5/0.bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-3.5/output.txt rename test/comparison-tests/es6codeSplitting/{expectedOutput-2.7 => expectedOutput-4.0}/0.bundle.js (100%) create mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-4.0/output.txt rename test/comparison-tests/es6codeSplitting/{expectedOutput-2.8 => expectedOutput-transpile-4.0}/0.bundle.js (100%) create mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/es6withCJS/expectedOutput-3.5/output.txt rename test/comparison-tests/es6withCJS/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/es6withCJS/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/es6withCJS/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/es6withCJS/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/output.txt (100%) delete mode 100644 test/comparison-tests/externals/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/externals/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/externals/expectedOutput-3.5/output.txt rename test/comparison-tests/externals/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/externals/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) create mode 100644 test/comparison-tests/externals/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/externals/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-1.7/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.5/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.6/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.7/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/index.html delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/output.txt rename test/comparison-tests/html-webpack-plugin/{expectedOutput-2.7 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/html-webpack-plugin/{expectedOutput-1.6 => expectedOutput-4.0}/index.html (100%) rename test/comparison-tests/html-webpack-plugin/{expectedOutput-2.7 => expectedOutput-4.0}/output.txt (100%) delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-1.6/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-1.7/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.0/patch0/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.0/patch0/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.0/patch1/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.0/patch1/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.1/patch0/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.1/patch0/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.1/patch1/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.1/patch1/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.3/patch1/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.3/patch1/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.4/patch1/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.4/patch1/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.5/patch1/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.5/patch1/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.6/patch1/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.6/patch1/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/importsWatch/expectedOutput-3.5/output.txt rename test/comparison-tests/importsWatch/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/importsWatch/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/importsWatch/{expectedOutput-3.0 => expectedOutput-4.0/patch1}/bundle.js (100%) create mode 100644 test/comparison-tests/importsWatch/expectedOutput-4.0/patch1/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-1.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.5/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.6/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.7/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.9/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-3.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-3.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-3.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-3.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-3.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/instance/expectedOutput-3.5/bundle.transpiled.js delete mode 100644 test/comparison-tests/instance/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/instance/expectedOutput-3.5/output.txt rename test/comparison-tests/instance/{expectedOutput-3.0 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/instance/{expectedOutput-3.0 => expectedOutput-4.0}/output.txt (100%) create mode 100644 test/comparison-tests/instance/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/instance/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.0/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.0/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.1/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.1/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.2/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.2/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.3/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.3/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.4/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.4/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.5/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.5/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.6/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.6/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.7/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.7/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.8/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.8/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.9/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-2.9/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.0/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.0/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.1/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.1/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.2/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.2/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.3/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.3/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.4/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.4/patch0/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.5/patch0/bundle.js delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue372/expectedOutput-3.5/patch0/output.txt create mode 100644 test/comparison-tests/issue372/expectedOutput-4.0/bundle.js rename test/comparison-tests/issue372/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) create mode 100644 test/comparison-tests/issue372/expectedOutput-4.0/patch0/bundle.js rename test/comparison-tests/issue372/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/output.txt (100%) create mode 100644 test/comparison-tests/issue372/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/issue372/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/issue372/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/issue372/expectedOutput-transpile-4.0/patch0/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.0/patch0/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.0/patch0/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.0/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.0/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.1/patch0/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.1/patch0/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.1/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.1/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.2/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.2/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.3/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.3/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.4/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.4/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.5/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.5/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.6/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.6/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.7/patch0/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.7/patch0/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.7/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.7/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.7/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.8/patch0/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.8/patch0/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.8/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.8/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.8/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.9/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-2.9/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.0/patch0/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.0/patch0/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.0/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.0/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.0/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.1/patch0/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.1/patch0/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.1/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.1/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.1/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.2/patch0/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.2/patch0/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.2/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.2/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.2/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.3/patch0/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.3/patch0/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.3/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.3/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.3/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.4/patch0/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.4/patch0/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.4/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.4/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.4/patch1/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.5/patch0/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.5/patch0/output.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.5/patch1/bundle.js delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.5/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/issue441/expectedOutput-3.5/patch1/output.txt rename test/comparison-tests/issue441/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/issue441/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/issue441/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/bundle.js (100%) rename test/comparison-tests/issue441/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/output.txt (100%) rename test/comparison-tests/issue441/{expectedOutput-2.9 => expectedOutput-4.0}/patch1/bundle.js (100%) rename test/comparison-tests/issue441/{expectedOutput-2.9 => expectedOutput-4.0}/patch1/output.txt (100%) rename test/comparison-tests/{importsWatch/expectedOutput-3.1 => issue441/expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/{importsWatch/expectedOutput-3.0 => issue441/expectedOutput-transpile-4.0}/output.txt (100%) rename test/comparison-tests/{importsWatch/expectedOutput-3.2 => issue441/expectedOutput-transpile-4.0/patch0}/bundle.js (100%) rename test/comparison-tests/{importsWatch/expectedOutput-3.1 => issue441/expectedOutput-transpile-4.0/patch0}/output.txt (100%) rename test/comparison-tests/{importsWatch/expectedOutput-3.3 => issue441/expectedOutput-transpile-4.0/patch1}/bundle.js (100%) rename test/comparison-tests/{importsWatch/expectedOutput-3.2 => issue441/expectedOutput-transpile-4.0/patch1}/output.txt (100%) delete mode 100644 test/comparison-tests/issue71/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/issue71/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/issue71/expectedOutput-3.5/output.txt rename test/comparison-tests/issue71/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/issue71/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.0/bundle.js rename test/comparison-tests/localTsImplementationOfTypings/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) create mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-1.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/node/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/node/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/node/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/node/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/node/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/node/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/node/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/node/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/node/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/node/expectedOutput-3.5/output.txt rename test/comparison-tests/node/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/node/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/node/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/node/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/output.txt (100%) delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/bundle.transpiled.js delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/nodeResolution/expectedOutput-3.5/output.txt rename test/comparison-tests/nodeResolution/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/nodeResolution/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) create mode 100644 test/comparison-tests/nodeResolution/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/nodeResolution/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-1.6/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-1.7/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-1.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/nolib/expectedOutput-3.5/output.txt rename test/comparison-tests/nolib/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/nolib/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/nolib/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/nolib/{expectedOutput-2.9/output.transpiled.txt => expectedOutput-transpile-4.0/output.txt} (100%) delete mode 100644 test/comparison-tests/npmLink/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/npmLink/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/npmLink/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/npmLink/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/npmLink/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/npmLink/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch0/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch0/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch1/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch1/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch0/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch0/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch1/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch1/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch0/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch0/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch1/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch1/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch0/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch0/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch1/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch1/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch0/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch0/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch1/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch1/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch0/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch0/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch1/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch1/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch0/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch0/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch1/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch1/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch0/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch0/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch1/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch1/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch0/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch0/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch1/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch1/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch0/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch0/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch1/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch1/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch0/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch0/output.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch1/bundle.js delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch1/output.txt rename test/comparison-tests/{basic/expectedOutput-3.0 => onlyCompileBundledFiles/expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/{basic/expectedOutput-3.0 => onlyCompileBundledFiles/expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/{basic/expectedOutput-3.0 => onlyCompileBundledFiles/expectedOutput-4.0}/patch0/bundle.js (100%) rename test/comparison-tests/{basic/expectedOutput-3.0 => onlyCompileBundledFiles/expectedOutput-4.0}/patch0/output.txt (100%) rename test/comparison-tests/{basic/expectedOutput-3.0 => onlyCompileBundledFiles/expectedOutput-4.0}/patch1/bundle.js (100%) rename test/comparison-tests/{basic/expectedOutput-3.0 => onlyCompileBundledFiles/expectedOutput-4.0}/patch1/output.txt (100%) create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch1/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-1.6/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-1.6/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-1.7/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-1.7/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-1.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.5/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.6/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.7/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-3.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-3.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-3.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-3.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-3.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/production/expectedOutput-3.5/bundle.transpiled.js delete mode 100644 test/comparison-tests/production/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/production/expectedOutput-3.5/output.txt rename test/comparison-tests/production/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/production/{expectedOutput-2.9/bundle.transpiled.js => expectedOutput-transpile-4.0/bundle.js} (100%) rename test/comparison-tests/production/{expectedOutput-2.9/output.transpiled.txt => expectedOutput-transpile-4.0/output.txt} (100%) delete mode 100644 test/comparison-tests/projectReferences/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/projectReferences/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/projectReferences/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/projectReferences/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/projectReferences/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/projectReferences/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/projectReferences/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/projectReferences/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/projectReferences/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/projectReferences/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/projectReferences/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/projectReferences/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/projectReferences/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferences/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferences/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferences/expectedOutput-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferences/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferences/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/indirectWithError/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/fileWithError.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/fileWithError.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/fileWithError.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/fileWithError.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/unreferenced/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/unreferenced/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/unreferenced/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/unreferencedIndirect/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/unreferencedIndirect/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch5/unreferenced/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferenced/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferenced/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferenced/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferencedIndirect/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferencedIndirect/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferencedIndirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/indirectWithError/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/fileWithError.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/fileWithError.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/fileWithError.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/fileWithError.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/unreferencedIndirect/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/unreferencedIndirect/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch5/unreferenced/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferenced/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferenced/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferenced/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferencedIndirect/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferencedIndirect/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferencedIndirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/indirect/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/indirect/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/indirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch2/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch3/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch3/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch5/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch5/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/indirect/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/indirect/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/indirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch2/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/utils/tsconfig.tsbuildinfo delete mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/foo.d.ts create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/foo.js create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/foo.d.ts create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/foo.js create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/app.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/app.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/app.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/app.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/bundle.transpiled.js delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch5/output.txt delete mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch2/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch5/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/replacement/expectedOutput-3.5/output.txt rename test/comparison-tests/replacement/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/replacement/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) create mode 100644 test/comparison-tests/replacement/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/replacement/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/reportFiles/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/reportFiles/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/reportFiles/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/reportFiles/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/reportFiles/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/resolveJsonModule/expectedOutput-4.0/app.d.ts create mode 100644 test/comparison-tests/resolveJsonModule/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/resolveJsonModule/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.6/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.6/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.6/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.6/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.6/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.6/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.7/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.7/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.7/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.7/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.7/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.8/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.8/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.8/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.8/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-1.8/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.0/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.0/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.0/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.0/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.0/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.1/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.1/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.1/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.1/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.1/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.3/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.3/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.3/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.3/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.3/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.4/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.4/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.4/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.4/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.4/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.5/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.5/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.5/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.5/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.5/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.6/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.6/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.6/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.6/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.6/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.6/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.7/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.7/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.7/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.7/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.7/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.8/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.8/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.8/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.8/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.8/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.9/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.9/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-2.9/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/output.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/bundle.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/output.txt rename test/comparison-tests/simpleDependency/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/simpleDependency/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/simpleDependency/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/bundle.js (100%) create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-4.0/patch0/output.txt rename test/comparison-tests/simpleDependency/{expectedOutput-2.9 => expectedOutput-4.0}/patch1/bundle.js (100%) rename test/comparison-tests/simpleDependency/{expectedOutput-2.9 => expectedOutput-4.0}/patch1/output.txt (100%) create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/output.txt create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch0/bundle.js create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch0/output.txt create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch1/bundle.js create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch1/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-1.6/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-1.7/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.js.transpiled.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.js.transpiled.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.js.transpiled.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.transpiled.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.3/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.4/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.5/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.6/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.7/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.8/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.9/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.0/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.1/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.2/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.3/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.4/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.5/bundle.js.map delete mode 100644 test/comparison-tests/sourceMaps/expectedOutput-3.5/output.txt rename test/comparison-tests/sourceMaps/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) create mode 100644 test/comparison-tests/sourceMaps/expectedOutput-4.0/bundle.js.map create mode 100644 test/comparison-tests/sourceMaps/expectedOutput-4.0/output.txt rename test/comparison-tests/sourceMaps/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) create mode 100644 test/comparison-tests/sourceMaps/expectedOutput-transpile-4.0/bundle.js.map create mode 100644 test/comparison-tests/sourceMaps/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-3.5/bundle.js rename test/comparison-tests/tsconfigInvalid/{expectedOutput-3.0 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/tsconfigInvalid/{expectedOutput-3.5 => expectedOutput-4.0}/output.txt (100%) create mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.6/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.6/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.7/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.7/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/output.txt rename test/comparison-tests/tsconfigInvalidFile/{expectedOutput-3.0 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/tsconfigInvalidFile/{expectedOutput-3.0 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/tsconfigInvalidFile/{expectedOutput-2.9/bundle.transpiled.js => expectedOutput-transpile-4.0/bundle.js} (100%) rename test/comparison-tests/tsconfigInvalidFile/{expectedOutput-2.9/output.transpiled.txt => expectedOutput-transpile-4.0/output.txt} (100%) rename test/comparison-tests/{instance => tsconfigNotReadable}/_FLAKY_ (100%) delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/bundle.transpiled.js delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/output.txt rename test/comparison-tests/tsconfigNotReadable/{expectedOutput-3.0 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/tsconfigNotReadable/{expectedOutput-3.0 => expectedOutput-4.0}/output.txt (100%) create mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-3.5/output.txt rename test/comparison-tests/tsconfigSearch/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/tsconfigSearch/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) create mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.6/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.6/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.7/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.7/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.8/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.8/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.8/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.8/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.0/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.1/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.2/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.2/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.3/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.3/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.4/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.4/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.7/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.8/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.9/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.2/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.3/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.4/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.5/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.5/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/output.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/bundle.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/bundle.transpiled.js delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/output.transpiled.txt delete mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/output.txt rename test/comparison-tests/typeSystemWatch/{expectedOutput-2.9 => expectedOutput-4.0}/bundle.js (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-2.9 => expectedOutput-4.0}/output.txt (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-2.9 => expectedOutput-4.0}/patch0/bundle.js (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-3.2 => expectedOutput-4.0}/patch0/output.txt (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-2.9 => expectedOutput-4.0}/patch1/bundle.js (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-2.9 => expectedOutput-4.0}/patch1/output.txt (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/bundle.js (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/output.txt (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/patch0/bundle.js (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-3.0/patch1 => expectedOutput-transpile-4.0/patch0}/output.txt (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-3.0 => expectedOutput-transpile-4.0}/patch1/bundle.js (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-3.1 => expectedOutput-transpile-4.0/patch1}/output.txt (100%) delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.5/bundle.js delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.5/output.txt delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.6/bundle.js delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.6/output.txt delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.7/bundle.js delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.7/output.txt delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.8/bundle.js delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.8/output.txt delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/bundle.js delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/output.txt delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.0/bundle.js delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.0/output.txt delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.1/bundle.js delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.1/output.txt delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.2/bundle.js delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.2/output.txt delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.3/bundle.js delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.3/output.txt delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.4/bundle.js delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.4/output.txt delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.5/bundle.js delete mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.5/output.txt create mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.0/bundle.js create mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.0/output.txt create mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.0/bundle.js create mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.0/output.txt diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 37bd36da0..4a01fde81 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -1,10 +1,10 @@ -name: CI +name: Continuous Integration (build and test) on: [push, pull_request] jobs: comparison_test: - name: Comparison Test + name: Ubuntu Comparison Tests runs-on: ubuntu-latest timeout-minutes: 15 steps: @@ -17,13 +17,13 @@ jobs: run: yarn build - name: install typescript - run: yarn add typescript@3.9.3 + run: yarn add typescript@4.0.3 - name: test run: sudo yarn comparison-tests windows: - name: Windows Test + name: Windows Comparison Tests runs-on: windows-latest timeout-minutes: 25 steps: @@ -44,7 +44,7 @@ jobs: working-directory: C:\source\ts-loader - name: install typescript - run: yarn add typescript@3.9.3 + run: yarn add typescript@4.0.3 working-directory: C:\source\ts-loader - name: test @@ -52,16 +52,12 @@ jobs: working-directory: C:\source\ts-loader execution_test: - name: Execution Test + name: Execution Tests strategy: matrix: - os: [ubuntu] + os: [ubuntu, windows] node: [10, 12, 14] - ts: [3.6.5, 3.7.5, 3.8.3, 3.9.3, next] - include: - - os: windows - node: 14 - ts: 3.9.3 + ts: [3.6.5, 3.7.5, 3.8.3, 3.9.3, 4.0.3, next] runs-on: ${{ matrix.os }}-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91539f706..001f296ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ on: release: types: [published] -name: build, test and publish +name: Release (build, test and publish) jobs: build_test_and_publish: diff --git a/.travis.yml b/.travis.yml index e05401a9d..96773a0bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,8 +14,9 @@ install: - yarn lint - yarn add $TYPESCRIPT env: - - TYPESCRIPT=typescript@3.9.3 + - TYPESCRIPT=typescript@4.0.3 - TYPESCRIPT=typescript@next + - TYPESCRIPT=typescript@3.9.3 - TYPESCRIPT=typescript@3.8.2 - TYPESCRIPT=typescript@3.7.4 - TYPESCRIPT=typescript@3.6.3 diff --git a/README.md b/README.md index 381f4620e..1a02c590a 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,10 @@ # TypeScript loader for webpack [![npm version](https://img.shields.io/npm/v/ts-loader.svg)](https://www.npmjs.com/package/ts-loader) -[![Linux Build Status](https://travis-ci.org/TypeStrong/ts-loader.svg?branch=master)](https://travis-ci.org/TypeStrong/ts-loader) -[![Windows Build Status](https://ci.appveyor.com/api/projects/status/bjh0r0d4ckspgkh9/branch/master?svg=true)](https://ci.appveyor.com/project/JohnReilly/ts-loader/branch/master) +[![Build Status](https://travis-ci.org/TypeStrong/ts-loader.svg?branch=master)](https://travis-ci.org/TypeStrong/ts-loader) [![Downloads](http://img.shields.io/npm/dm/ts-loader.svg)](https://npmjs.org/package/ts-loader) [![node version](https://img.shields.io/node/v/ts-loader.svg)](https://www.npmjs.com/package/ts-loader) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) -[![Join the chat at https://gitter.im/TypeStrong/ts-loader](https://img.shields.io/badge/gitter-join%20chat-brightgreen.svg)](https://gitter.im/TypeStrong/ts-loader)

diff --git a/package.json b/package.json index c21a5c053..e2514f2e4 100644 --- a/package.json +++ b/package.json @@ -65,8 +65,8 @@ "@types/node": "*", "@types/semver": "^6.0.0", "@types/webpack": "^4.4.30", - "@typescript-eslint/eslint-plugin": "^3.0.0", - "@typescript-eslint/parser": "^3.0.0", + "@typescript-eslint/eslint-plugin": "^4.0.0", + "@typescript-eslint/parser": "^4.0.0", "babel": "^6.0.0", "babel-core": "^6.0.0", "babel-loader": "^7.0.0", @@ -96,7 +96,7 @@ "mocha": "^6.0.0", "prettier": "^2.0.5", "rimraf": "^2.6.2", - "typescript": "^3.6.2", + "typescript": "^4.0.0", "webpack": "^4.5.0", "webpack-cli": "^3.1.1" }, diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.6/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-1.6/bundle.js deleted file mode 100644 index 1a2955f61..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,59 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var myComponent = __webpack_require__(1); - console.log(myComponent); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'myComponent'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.6/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-1.6/output.transpiled.txt deleted file mode 100644 index 891678c3f..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.6/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.56 kB 0 [emitted] main -chunk {0} bundle.js (main) 111 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 79 bytes {0} [built] - [1] ./.test/aliasResolution/common/components/myComponent.ts 32 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.6/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-1.6/output.txt deleted file mode 100644 index 153653ba1..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.56 kB 0 [emitted] main -chunk {0} bundle.js (main) 111 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 79 bytes {0} [built] [1 error] - [1] ./.test/aliasResolution/common/components/myComponent.ts 32 bytes {0} [built] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/bundle.js deleted file mode 100644 index 63406ea27..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/bundle.js +++ /dev/null @@ -1,59 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var myComponent = __webpack_require__(1); - console.log(myComponent); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'changed it'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/output.transpiled.txt deleted file mode 100644 index 1c4833dc2..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.56 kB 0 [emitted] main -chunk {0} bundle.js (main) 110 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 79 bytes {0} - [1] ./.test/aliasResolution/common/components/myComponent.ts 31 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/output.txt deleted file mode 100644 index 986af2fe3..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.56 kB 0 [emitted] main -chunk {0} bundle.js (main) 110 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 79 bytes {0} [built] [1 error] - [1] ./.test/aliasResolution/common/components/myComponent.ts 31 bytes {0} [built] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.7/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-1.7/bundle.js deleted file mode 100644 index 1a2955f61..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,59 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var myComponent = __webpack_require__(1); - console.log(myComponent); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'myComponent'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.7/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-1.7/output.transpiled.txt deleted file mode 100644 index 891678c3f..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.56 kB 0 [emitted] main -chunk {0} bundle.js (main) 111 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 79 bytes {0} [built] - [1] ./.test/aliasResolution/common/components/myComponent.ts 32 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.7/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-1.7/output.txt deleted file mode 100644 index 153653ba1..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.56 kB 0 [emitted] main -chunk {0} bundle.js (main) 111 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 79 bytes {0} [built] [1 error] - [1] ./.test/aliasResolution/common/components/myComponent.ts 32 bytes {0} [built] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.7/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-1.7/patch0/bundle.js deleted file mode 100644 index 63406ea27..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.7/patch0/bundle.js +++ /dev/null @@ -1,59 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var myComponent = __webpack_require__(1); - console.log(myComponent); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'changed it'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.7/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-1.7/patch0/output.transpiled.txt deleted file mode 100644 index 1c4833dc2..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.56 kB 0 [emitted] main -chunk {0} bundle.js (main) 110 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 79 bytes {0} - [1] ./.test/aliasResolution/common/components/myComponent.ts 31 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.7/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-1.7/patch0/output.txt deleted file mode 100644 index 986af2fe3..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.7/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.56 kB 0 [emitted] main -chunk {0} bundle.js (main) 110 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 79 bytes {0} [built] [1 error] - [1] ./.test/aliasResolution/common/components/myComponent.ts 31 bytes {0} [built] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.8/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-1.8/bundle.js deleted file mode 100644 index ed4a21586..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var myComponent = __webpack_require__(1); - console.log(myComponent); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'myComponent'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index 9036f6268..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 139 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 93 bytes {0} [built] - [1] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.8/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-1.8/output.txt deleted file mode 100644 index bbedba75e..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 139 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 93 bytes {0} [built] [1 error] - [1] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.8/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-1.8/patch0/bundle.js deleted file mode 100644 index f846060c6..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.8/patch0/bundle.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var myComponent = __webpack_require__(1); - console.log(myComponent); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'changed it'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.8/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-1.8/patch0/output.transpiled.txt deleted file mode 100644 index d22c740f4..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 138 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 93 bytes {0} - [1] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-1.8/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-1.8/patch0/output.txt deleted file mode 100644 index e3793e1ff..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-1.8/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 138 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 93 bytes {0} [built] [1 error] - [1] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.0/bundle.js deleted file mode 100644 index ed4a21586..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var myComponent = __webpack_require__(1); - console.log(myComponent); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'myComponent'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index 9036f6268..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 139 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 93 bytes {0} [built] - [1] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.0/output.txt deleted file mode 100644 index bbedba75e..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 139 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 93 bytes {0} [built] [1 error] - [1] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.0/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.0/patch0/bundle.js deleted file mode 100644 index f846060c6..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.0/patch0/bundle.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var myComponent = __webpack_require__(1); - console.log(myComponent); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'changed it'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.0/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.0/patch0/output.transpiled.txt deleted file mode 100644 index d22c740f4..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 138 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 93 bytes {0} - [1] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.0/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.0/patch0/output.txt deleted file mode 100644 index e3793e1ff..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.0/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 138 bytes [rendered] - [0] ./.test/aliasResolution/app.ts 93 bytes {0} [built] [1 error] - [1] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.1/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.1/bundle.js deleted file mode 100644 index ffaac702a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'myComponent'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var myComponent = __webpack_require__(0); -console.log(myComponent); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index 2100944f4..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 139 bytes [entry] [rendered] - [0] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built] - [1] ./.test/aliasResolution/app.ts 93 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.1/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.1/output.txt deleted file mode 100644 index 51b5ac068..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 139 bytes [entry] [rendered] - [0] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built] - [1] ./.test/aliasResolution/app.ts 93 bytes {0} [built] [1 error] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.1/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.1/patch0/bundle.js deleted file mode 100644 index 12d159004..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.1/patch0/bundle.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'changed it'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var myComponent = __webpack_require__(0); -console.log(myComponent); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.1/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.1/patch0/output.transpiled.txt deleted file mode 100644 index fd59c8bed..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 138 bytes [entry] [rendered] - [0] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built] - [1] ./.test/aliasResolution/app.ts 93 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.1/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.1/patch0/output.txt deleted file mode 100644 index d8e82879d..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.1/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 138 bytes [entry] [rendered] - [0] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built] - [1] ./.test/aliasResolution/app.ts 93 bytes {0} [built] [1 error] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.2/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.2/bundle.js deleted file mode 100644 index a05d34c12..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,90 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'myComponent'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(0); -console.log(myComponent); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index 9c5dc822a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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 deleted file mode 100644 index 07d58e731..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/bundle.js deleted file mode 100644 index e921480ed..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/bundle.js +++ /dev/null @@ -1,90 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'changed it'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(0); -console.log(myComponent); - - -/***/ }) -/******/ ]); \ No newline at end of file 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 deleted file mode 100644 index 73eaabfdb..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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 deleted file mode 100644 index 6c26aae1b..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.3/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.3/bundle.js deleted file mode 100644 index a05d34c12..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,90 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'myComponent'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(0); -console.log(myComponent); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index 9c5dc822a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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.3/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.3/output.txt deleted file mode 100644 index 07d58e731..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.3/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.3/patch0/bundle.js deleted file mode 100644 index e921480ed..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.3/patch0/bundle.js +++ /dev/null @@ -1,90 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'changed it'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(0); -console.log(myComponent); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.3/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.3/patch0/output.transpiled.txt deleted file mode 100644 index 73eaabfdb..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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.3/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.3/patch0/output.txt deleted file mode 100644 index 6c26aae1b..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.3/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.4/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.4/bundle.js deleted file mode 100644 index a05d34c12..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,90 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'myComponent'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(0); -console.log(myComponent); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index 9c5dc822a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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.4/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.4/output.txt deleted file mode 100644 index 07d58e731..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.4/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.4/patch0/bundle.js deleted file mode 100644 index e921480ed..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.4/patch0/bundle.js +++ /dev/null @@ -1,90 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'changed it'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(0); -console.log(myComponent); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.4/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.4/patch0/output.transpiled.txt deleted file mode 100644 index 73eaabfdb..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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.4/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.4/patch0/output.txt deleted file mode 100644 index 6c26aae1b..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.4/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/aliasResolution/app.ts -(2,31): error TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.5/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.5/bundle.js deleted file mode 100644 index 5d2464598..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(1); -console.log(myComponent); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'myComponent'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index cac02b90e..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/aliasResolution/app.ts 120 bytes {0} [built] - [1] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.5/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.5/output.txt deleted file mode 100644 index 008cf7684..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/aliasResolution/app.ts 120 bytes {0} [built] [1 error] - [1] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built] - -ERROR in ./.test/aliasResolution/app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.5/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.5/patch0/bundle.js deleted file mode 100644 index a8dc79178..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.5/patch0/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(1); -console.log(myComponent); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'changed it'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.5/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.5/patch0/output.transpiled.txt deleted file mode 100644 index b719dd5e9..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/aliasResolution/app.ts 120 bytes {0} - [1] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.5/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.5/patch0/output.txt deleted file mode 100644 index f4c2223e3..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.5/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/aliasResolution/app.ts 120 bytes {0} [built] [1 error] - [1] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built] - -ERROR in ./.test/aliasResolution/app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.6/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.6/bundle.js deleted file mode 100644 index 5d2464598..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(1); -console.log(myComponent); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'myComponent'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index cac02b90e..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/aliasResolution/app.ts 120 bytes {0} [built] - [1] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.6/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.6/output.txt deleted file mode 100644 index 008cf7684..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/aliasResolution/app.ts 120 bytes {0} [built] [1 error] - [1] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built] - -ERROR in ./.test/aliasResolution/app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.6/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.6/patch0/bundle.js deleted file mode 100644 index a8dc79178..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.6/patch0/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(1); -console.log(myComponent); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'changed it'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.6/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.6/patch0/output.transpiled.txt deleted file mode 100644 index b719dd5e9..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.6/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/aliasResolution/app.ts 120 bytes {0} - [1] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.6/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.6/patch0/output.txt deleted file mode 100644 index f4c2223e3..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.6/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/aliasResolution/app.ts 120 bytes {0} [built] [1 error] - [1] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built] - -ERROR in ./.test/aliasResolution/app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.7/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.7/bundle.js deleted file mode 100644 index ec4907b0a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 0786f95b0..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:14:55 - Asset Size Chunks Chunk Names -bundle.js 3.37 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.7/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.7/output.txt deleted file mode 100644 index 58342f939..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -Built at: 2018-3-18 09:14:50 - Asset Size Chunks Chunk Names -bundle.js 3.37 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.7/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.7/patch0/bundle.js deleted file mode 100644 index 7abc9b6a9..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.7/patch0/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.7/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.7/patch0/output.transpiled.txt deleted file mode 100644 index c6061205d..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:14:57 - Asset Size Chunks Chunk Names -bundle.js 3.37 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} -[./common/components/myComponent.ts] 45 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.7/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.7/patch0/output.txt deleted file mode 100644 index 3e7b2e41e..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.7/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -Built at: 2018-3-18 09:14:53 - Asset Size Chunks Chunk Names -bundle.js 3.37 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 45 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.8/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.8/bundle.js deleted file mode 100644 index ec4907b0a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 1262af951..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.37 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.8/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.8/output.txt deleted file mode 100644 index d7f703c44..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.37 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.8/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.8/patch0/bundle.js deleted file mode 100644 index 7abc9b6a9..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.8/patch0/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.8/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.8/patch0/output.transpiled.txt deleted file mode 100644 index 70a9bc1cb..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.37 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} -[./common/components/myComponent.ts] 45 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.8/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.8/patch0/output.txt deleted file mode 100644 index f9eef7353..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.8/patch0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.37 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 45 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.9/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.9/output.txt deleted file mode 100644 index 6e83ffe49..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.9/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.9/patch0/output.transpiled.txt deleted file mode 100644 index 7eb8b346a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.9/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} -[./common/components/myComponent.ts] 45 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.9/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.9/patch0/output.txt deleted file mode 100644 index 62d617c97..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.9/patch0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 45 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.0/output.txt deleted file mode 100644 index 6e83ffe49..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.0/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-3.0/patch0/bundle.js deleted file mode 100644 index 9ee46fa6a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.0/patch0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.0/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.0/patch0/output.transpiled.txt deleted file mode 100644 index 7eb8b346a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} -[./common/components/myComponent.ts] 45 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.0/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.0/patch0/output.txt deleted file mode 100644 index 62d617c97..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.0/patch0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 45 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.1/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-3.1/bundle.js deleted file mode 100644 index 02dd408f1..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.1/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.1/output.txt deleted file mode 100644 index 6e83ffe49..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.1/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-3.1/patch0/bundle.js deleted file mode 100644 index 9ee46fa6a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.1/patch0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.1/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.1/patch0/output.transpiled.txt deleted file mode 100644 index 7eb8b346a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} -[./common/components/myComponent.ts] 45 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.1/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.1/patch0/output.txt deleted file mode 100644 index 62d617c97..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.1/patch0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 45 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.2/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-3.2/bundle.js deleted file mode 100644 index 02dd408f1..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.2/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.2/output.txt deleted file mode 100644 index 6e83ffe49..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.2/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-3.2/patch0/bundle.js deleted file mode 100644 index 9ee46fa6a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.2/patch0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.2/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.2/patch0/output.transpiled.txt deleted file mode 100644 index 7eb8b346a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} -[./common/components/myComponent.ts] 45 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.2/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.2/patch0/output.txt deleted file mode 100644 index 62d617c97..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.2/patch0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 45 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.3/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-3.3/bundle.js deleted file mode 100644 index 02dd408f1..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.3/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.3/output.txt deleted file mode 100644 index 6e83ffe49..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.3/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-3.3/patch0/bundle.js deleted file mode 100644 index 9ee46fa6a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.3/patch0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.3/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.3/patch0/output.transpiled.txt deleted file mode 100644 index 7eb8b346a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} -[./common/components/myComponent.ts] 45 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.3/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.3/patch0/output.txt deleted file mode 100644 index 62d617c97..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.3/patch0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 45 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.4/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-3.4/bundle.js deleted file mode 100644 index 02dd408f1..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.4/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.4/output.txt deleted file mode 100644 index 6e83ffe49..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.4/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-3.4/patch0/bundle.js deleted file mode 100644 index 9ee46fa6a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.4/patch0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.4/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.4/patch0/output.transpiled.txt deleted file mode 100644 index 7eb8b346a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} -[./common/components/myComponent.ts] 45 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.4/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.4/patch0/output.txt deleted file mode 100644 index 62d617c97..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.4/patch0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 45 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.5/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-3.5/bundle.js deleted file mode 100644 index 02dd408f1..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.5/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.5/output.txt deleted file mode 100644 index 6e83ffe49..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.5/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-3.5/patch0/bundle.js deleted file mode 100644 index 9ee46fa6a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.5/patch0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.5/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.5/patch0/output.transpiled.txt deleted file mode 100644 index 7eb8b346a..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} -[./common/components/myComponent.ts] 45 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.5/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-3.5/patch0/output.txt deleted file mode 100644 index 62d617c97..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-3.5/patch0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 45 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2'. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.9/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/aliasResolution/expectedOutput-2.9/bundle.js rename to test/comparison-tests/aliasResolution/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..c0da8c1a3 --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.0/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.33 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 120 bytes {main} [built] [1 error] +[./common/components/myComponent.ts] 46 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(2,31) + TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.9/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/aliasResolution/expectedOutput-2.9/patch0/bundle.js rename to test/comparison-tests/aliasResolution/expectedOutput-4.0/patch0/bundle.js diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..bf0ca3fd3 --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.33 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 120 bytes {main} [built] [1 error] +[./common/components/myComponent.ts] 45 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(2,31) + TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..4bcb44dd6 --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/components/myComponent.ts": +/*!******************************************!*\ + !*** ./common/components/myComponent.ts ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..52173a13f --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 156 bytes {main} [built] +[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..34251a6bd --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/components/myComponent.ts": +/*!******************************************!*\ + !*** ./common/components/myComponent.ts ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..179bf18e1 --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 156 bytes {main} +[./common/components/myComponent.ts] 45 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/bundle.js deleted file mode 100644 index dc73abe26..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - console.log('working'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/bundle.transpiled.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index 6631b8c28..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log('working'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index ed1348c7d..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 38 bytes [rendered] - [0] ./.test/allowJs-entryFileIsJs/src/index.js 38 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/output.txt deleted file mode 100644 index 49aa0417a..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.41 kB 0 [emitted] main -chunk {0} bundle.js (main) 24 bytes [rendered] - [0] ./.test/allowJs-entryFileIsJs/src/index.js 24 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/bundle.js deleted file mode 100644 index 484c1c485..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('working'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index 2a43f81aa..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log('working'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index 8b49e2d48..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 38 bytes [entry] [rendered] - [0] ./.test/allowJs-entryFileIsJs/src/index.js 38 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/output.txt deleted file mode 100644 index 2e6497022..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 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/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.js deleted file mode 100644 index 26a4fc3b1..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('working'); - - -/***/ }) -/******/ ]); \ No newline at end of file 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 deleted file mode 100644 index 36a8968c7..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -console.log('working'); - - -/***/ }) -/******/ ]); \ No newline at end of file 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 deleted file mode 100644 index 91a83cd7d..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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 deleted file mode 100644 index 27edeea1f..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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/allowJs-entryFileIsJs/expectedOutput-2.3/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.3/bundle.js deleted file mode 100644 index 26a4fc3b1..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('working'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.3/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.3/output.txt deleted file mode 100644 index 27edeea1f..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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/allowJs-entryFileIsJs/expectedOutput-2.4/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.4/bundle.js deleted file mode 100644 index 26a4fc3b1..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('working'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.4/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.4/output.txt deleted file mode 100644 index 27edeea1f..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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/allowJs-entryFileIsJs/expectedOutput-2.5/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.5/bundle.js deleted file mode 100644 index ed483dd96..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('working'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.5/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.5/output.txt deleted file mode 100644 index a20ac69b7..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.5 kB 0 [emitted] main - [0] ./.test/allowJs-entryFileIsJs/src/index.js 24 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.6/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.6/bundle.js deleted file mode 100644 index ed483dd96..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('working'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.6/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.6/output.txt deleted file mode 100644 index a20ac69b7..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.5 kB 0 [emitted] main - [0] ./.test/allowJs-entryFileIsJs/src/index.js 24 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.7/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.7/bundle.js deleted file mode 100644 index e51fde020..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./src/index.js": -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('working');\n\n\n//# sourceURL=webpack:///./src/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index d4981802e..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-2-11 17:50:53 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.7/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.7/output.txt deleted file mode 100644 index 31e1d2454..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:15:04 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.8/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.8/bundle.js deleted file mode 100644 index e51fde020..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./src/index.js": -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('working');\n\n\n//# sourceURL=webpack:///./src/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index b3840f220..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:30:32 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.8/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.8/output.txt deleted file mode 100644 index 5019c8034..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index b3840f220..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:30:32 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index b3840f220..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:30:32 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.1/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.1/bundle.js deleted file mode 100644 index 7a2725d4e..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./src/index.js": -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('working');\n\n\n//# sourceURL=webpack:///./src/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index b3840f220..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:30:32 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.1/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.1/output.txt deleted file mode 100644 index debec2de1..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.2/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.2/bundle.js deleted file mode 100644 index 7a2725d4e..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./src/index.js": -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('working');\n\n\n//# sourceURL=webpack:///./src/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index b3840f220..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:30:32 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.2/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.2/output.txt deleted file mode 100644 index debec2de1..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.3/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.3/bundle.js deleted file mode 100644 index 7a2725d4e..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./src/index.js": -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('working');\n\n\n//# sourceURL=webpack:///./src/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index b3840f220..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:30:32 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.3/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.3/output.txt deleted file mode 100644 index debec2de1..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.4/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.4/bundle.js deleted file mode 100644 index 7a2725d4e..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./src/index.js": -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('working');\n\n\n//# sourceURL=webpack:///./src/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index b3840f220..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:30:32 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.4/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.4/output.txt deleted file mode 100644 index debec2de1..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.5/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.5/bundle.js deleted file mode 100644 index 7a2725d4e..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./src/index.js": -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('working');\n\n\n//# sourceURL=webpack:///./src/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index b3840f220..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:30:32 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.5/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.5/output.txt deleted file mode 100644 index debec2de1..000000000 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.9/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.9/bundle.js rename to test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.9/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.9/output.txt rename to test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.0/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.0/bundle.js rename to test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.0/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.0/output.txt rename to test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.0/bundle.js b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..60827c69b --- /dev/null +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./src/error1.js": +/*!***********************!*\ + !*** ./src/error1.js ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Class1 = void 0;\nvar Class1 = /** @class */ (function () {\n function Class1() {\n }\n Class1.prototype.foo = function () {\n this.bar;\n };\n return Class1;\n}());\nexports.Class1 = Class1;\n\n\n//# sourceURL=webpack:///./src/error1.js?"); + +/***/ }), + +/***/ "./src/error2.js": +/*!***********************!*\ + !*** ./src/error2.js ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Class2 = void 0;\n// @ts-check\nvar Class2 = /** @class */ (function () {\n function Class2() {\n }\n Class2.prototype.foo = function () {\n this.bar;\n };\n return Class2;\n}());\nexports.Class2 = Class2;\n\n\n//# sourceURL=webpack:///./src/error2.js?"); + +/***/ }), + +/***/ "./src/index.js": +/*!**********************!*\ + !*** ./src/index.js ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar error1_1 = __webpack_require__(/*! ./error1 */ \"./src/error1.js\");\nvar error2_1 = __webpack_require__(/*! ./error2 */ \"./src/error2.js\");\nnew error1_1.Class1().foo();\nnew error2_1.Class2().foo();\n\n\n//# sourceURL=webpack:///./src/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.0/output.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..fe76bf89e --- /dev/null +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 5.15 KiB main [emitted] main +Entrypoint main = bundle.js +[./src/error1.js] 265 bytes {main} [built] +[./src/error2.js] 278 bytes {main} [built] [1 error] +[./src/index.js] 207 bytes {main} [built] + +ERROR in src\error2.js +./src/error2.js +[tsl] ERROR in src\error2.js(4,10) + TS2339: Property 'bar' does not exist on type 'Class2'. \ No newline at end of file diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..60827c69b --- /dev/null +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./src/error1.js": +/*!***********************!*\ + !*** ./src/error1.js ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Class1 = void 0;\nvar Class1 = /** @class */ (function () {\n function Class1() {\n }\n Class1.prototype.foo = function () {\n this.bar;\n };\n return Class1;\n}());\nexports.Class1 = Class1;\n\n\n//# sourceURL=webpack:///./src/error1.js?"); + +/***/ }), + +/***/ "./src/error2.js": +/*!***********************!*\ + !*** ./src/error2.js ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Class2 = void 0;\n// @ts-check\nvar Class2 = /** @class */ (function () {\n function Class2() {\n }\n Class2.prototype.foo = function () {\n this.bar;\n };\n return Class2;\n}());\nexports.Class2 = Class2;\n\n\n//# sourceURL=webpack:///./src/error2.js?"); + +/***/ }), + +/***/ "./src/index.js": +/*!**********************!*\ + !*** ./src/index.js ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar error1_1 = __webpack_require__(/*! ./error1 */ \"./src/error1.js\");\nvar error2_1 = __webpack_require__(/*! ./error2 */ \"./src/error2.js\");\nnew error1_1.Class1().foo();\nnew error2_1.Class2().foo();\n\n\n//# sourceURL=webpack:///./src/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..bc8ac528e --- /dev/null +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 5.2 KiB main [emitted] main +Entrypoint main = bundle.js +[./src/error1.js] 290 bytes {main} [built] +[./src/error2.js] 303 bytes {main} [built] +[./src/index.js] 207 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.1/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-2.1/bundle.js deleted file mode 100644 index c40dcb8c0..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,120 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = { - data: function () { - return { - msg: "component" - }; - } -}; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function myMethod() { - console.log('from helper!'); -} -exports.myMethod = myMethod; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var component_vue_1 = __webpack_require__(0); -var helper_1 = __webpack_require__(1); -exports.__esModule = true; -exports["default"] = { - components: { component: component_vue_1["default"] }, - data: function () { - return { - msg: "world" - }; - }, - method: { - myMethod: helper_1.myMethod - } -}; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.1/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-2.1/output.txt deleted file mode 100644 index f0ff8f0c0..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.29 kB 0 [emitted] main -chunk {0} bundle.js (main) 606 bytes [entry] [rendered] - [0] ./.test/appendSuffixTo/component.vue 154 bytes {0} [built] - [1] ./.test/appendSuffixTo/helper.ts 100 bytes {0} [built] - [2] ./.test/appendSuffixTo/index.vue 352 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 deleted file mode 100644 index e50b20a98..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,121 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = { - data: function () { - return { - msg: "component" - }; - } -}; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -function myMethod() { - console.log('from helper!'); -} -exports.myMethod = myMethod; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var component_vue_1 = __webpack_require__(0); -var helper_1 = __webpack_require__(1); -exports["default"] = { - components: { component: component_vue_1["default"] }, - data: function () { - return { - msg: "world" - }; - }, - method: { - myMethod: helper_1.myMethod - } -}; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.2/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-2.2/output.txt deleted file mode 100644 index c1d9c6121..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.44 kB 0 [emitted] main -chunk {0} bundle.js (main) 633 bytes [entry] [rendered] - [0] ./.test/appendSuffixTo/component.vue 154 bytes {0} [built] - [1] ./.test/appendSuffixTo/helper.ts 127 bytes {0} [built] - [2] ./.test/appendSuffixTo/index.vue 352 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.3/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-2.3/bundle.js deleted file mode 100644 index e50b20a98..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,121 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = { - data: function () { - return { - msg: "component" - }; - } -}; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -function myMethod() { - console.log('from helper!'); -} -exports.myMethod = myMethod; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var component_vue_1 = __webpack_require__(0); -var helper_1 = __webpack_require__(1); -exports["default"] = { - components: { component: component_vue_1["default"] }, - data: function () { - return { - msg: "world" - }; - }, - method: { - myMethod: helper_1.myMethod - } -}; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.3/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-2.3/output.txt deleted file mode 100644 index c1d9c6121..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.44 kB 0 [emitted] main -chunk {0} bundle.js (main) 633 bytes [entry] [rendered] - [0] ./.test/appendSuffixTo/component.vue 154 bytes {0} [built] - [1] ./.test/appendSuffixTo/helper.ts 127 bytes {0} [built] - [2] ./.test/appendSuffixTo/index.vue 352 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.4/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-2.4/bundle.js deleted file mode 100644 index e50b20a98..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,121 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = { - data: function () { - return { - msg: "component" - }; - } -}; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -function myMethod() { - console.log('from helper!'); -} -exports.myMethod = myMethod; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var component_vue_1 = __webpack_require__(0); -var helper_1 = __webpack_require__(1); -exports["default"] = { - components: { component: component_vue_1["default"] }, - data: function () { - return { - msg: "world" - }; - }, - method: { - myMethod: helper_1.myMethod - } -}; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.4/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-2.4/output.txt deleted file mode 100644 index c1d9c6121..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.44 kB 0 [emitted] main -chunk {0} bundle.js (main) 633 bytes [entry] [rendered] - [0] ./.test/appendSuffixTo/component.vue 154 bytes {0} [built] - [1] ./.test/appendSuffixTo/helper.ts 127 bytes {0} [built] - [2] ./.test/appendSuffixTo/index.vue 352 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.5/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-2.5/bundle.js deleted file mode 100644 index 54ca53347..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,118 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var component_vue_1 = __webpack_require__(1); -var helper_1 = __webpack_require__(2); -exports["default"] = { - components: { component: component_vue_1["default"] }, - data: function () { - return { - msg: "world" - }; - }, - method: { - myMethod: helper_1.myMethod - } -}; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = { - data: function () { - return { - msg: "component" - }; - } -}; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -function myMethod() { - console.log('from helper!'); -} -exports.myMethod = myMethod; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.5/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-2.5/output.txt deleted file mode 100644 index c48c58ec8..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.28 kB 0 [emitted] main - [0] ./.test/appendSuffixTo/index.vue 352 bytes {0} [built] - [1] ./.test/appendSuffixTo/component.vue 154 bytes {0} [built] - [2] ./.test/appendSuffixTo/helper.ts 127 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.6/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-2.6/bundle.js deleted file mode 100644 index 54ca53347..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,118 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var component_vue_1 = __webpack_require__(1); -var helper_1 = __webpack_require__(2); -exports["default"] = { - components: { component: component_vue_1["default"] }, - data: function () { - return { - msg: "world" - }; - }, - method: { - myMethod: helper_1.myMethod - } -}; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = { - data: function () { - return { - msg: "component" - }; - } -}; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -function myMethod() { - console.log('from helper!'); -} -exports.myMethod = myMethod; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.6/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-2.6/output.txt deleted file mode 100644 index c48c58ec8..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.28 kB 0 [emitted] main - [0] ./.test/appendSuffixTo/index.vue 352 bytes {0} [built] - [1] ./.test/appendSuffixTo/component.vue 154 bytes {0} [built] - [2] ./.test/appendSuffixTo/helper.ts 127 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.7/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-2.7/bundle.js deleted file mode 100644 index 09694c202..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.vue"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./helper.ts": -/*!*******************!*\ - !*** ./helper.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); - -/***/ }), - -/***/ "./index.vue": -/*!*******************!*\ - !*** ./index.vue ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 01ac49402..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:15:11 - Asset Size Chunks Chunk Names -bundle.js 4.04 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.7/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-2.7/output.txt deleted file mode 100644 index 55caa02e0..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:15:10 - Asset Size Chunks Chunk Names -bundle.js 4.04 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.8/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-2.8/bundle.js deleted file mode 100644 index 09694c202..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.vue"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./helper.ts": -/*!*******************!*\ - !*** ./helper.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); - -/***/ }), - -/***/ "./index.vue": -/*!*******************!*\ - !*** ./index.vue ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 38ade0cf7..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:30:42 - Asset Size Chunks Chunk Names -bundle.js 4.04 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.8/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-2.8/output.txt deleted file mode 100644 index db4271fda..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.04 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.9/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-2.9/bundle.js deleted file mode 100644 index 0ba1a6811..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.vue"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./helper.ts": -/*!*******************!*\ - !*** ./helper.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); - -/***/ }), - -/***/ "./index.vue": -/*!*******************!*\ - !*** ./index.vue ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 38ade0cf7..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:30:42 - Asset Size Chunks Chunk Names -bundle.js 4.04 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.0/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-3.0/bundle.js deleted file mode 100644 index 0ba1a6811..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.vue"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./helper.ts": -/*!*******************!*\ - !*** ./helper.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); - -/***/ }), - -/***/ "./index.vue": -/*!*******************!*\ - !*** ./index.vue ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 38ade0cf7..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:30:42 - Asset Size Chunks Chunk Names -bundle.js 4.04 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.0/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-3.0/output.txt deleted file mode 100644 index 41b694f81..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 5 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.1/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-3.1/bundle.js deleted file mode 100644 index 0ba1a6811..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.vue"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./helper.ts": -/*!*******************!*\ - !*** ./helper.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); - -/***/ }), - -/***/ "./index.vue": -/*!*******************!*\ - !*** ./index.vue ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 38ade0cf7..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:30:42 - Asset Size Chunks Chunk Names -bundle.js 4.04 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.1/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-3.1/output.txt deleted file mode 100644 index 41b694f81..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 5 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.2/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-3.2/bundle.js deleted file mode 100644 index 0ba1a6811..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.vue"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./helper.ts": -/*!*******************!*\ - !*** ./helper.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); - -/***/ }), - -/***/ "./index.vue": -/*!*******************!*\ - !*** ./index.vue ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 38ade0cf7..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:30:42 - Asset Size Chunks Chunk Names -bundle.js 4.04 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.2/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-3.2/output.txt deleted file mode 100644 index 41b694f81..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 5 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.3/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-3.3/bundle.js deleted file mode 100644 index 0ba1a6811..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.vue"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./helper.ts": -/*!*******************!*\ - !*** ./helper.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); - -/***/ }), - -/***/ "./index.vue": -/*!*******************!*\ - !*** ./index.vue ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 38ade0cf7..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:30:42 - Asset Size Chunks Chunk Names -bundle.js 4.04 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.3/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-3.3/output.txt deleted file mode 100644 index 41b694f81..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 5 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.4/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-3.4/bundle.js deleted file mode 100644 index 0ba1a6811..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.vue"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./helper.ts": -/*!*******************!*\ - !*** ./helper.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); - -/***/ }), - -/***/ "./index.vue": -/*!*******************!*\ - !*** ./index.vue ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 38ade0cf7..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:30:42 - Asset Size Chunks Chunk Names -bundle.js 4.04 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.4/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-3.4/output.txt deleted file mode 100644 index 41b694f81..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 5 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.5/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-3.5/bundle.js deleted file mode 100644 index 0ba1a6811..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.vue"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./helper.ts": -/*!*******************!*\ - !*** ./helper.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); - -/***/ }), - -/***/ "./index.vue": -/*!*******************!*\ - !*** ./index.vue ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 38ade0cf7..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:30:42 - Asset Size Chunks Chunk Names -bundle.js 4.04 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.5/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-3.5/output.txt deleted file mode 100644 index 41b694f81..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 5 KiB main [emitted] main -Entrypoint main = bundle.js -[./component.vue] 154 bytes {main} [built] -[./helper.ts] 127 bytes {main} [built] -[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-4.0/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..9b5d280a3 --- /dev/null +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./index.vue"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./component.vue": +/*!***********************!*\ + !*** ./component.vue ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); + +/***/ }), + +/***/ "./helper.ts": +/*!*******************!*\ + !*** ./helper.ts ***! + \*******************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.myMethod = void 0;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); + +/***/ }), + +/***/ "./index.vue": +/*!*******************!*\ + !*** ./index.vue ***! + \*******************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.9/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/appendSuffixTo/expectedOutput-2.9/output.txt rename to test/comparison-tests/appendSuffixTo/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..7342fe682 --- /dev/null +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./index.vue"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./component.vue": +/*!***********************!*\ + !*** ./component.vue ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); + +/***/ }), + +/***/ "./helper.ts": +/*!*******************!*\ + !*** ./helper.ts ***! + \*******************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.myMethod = void 0;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); + +/***/ }), + +/***/ "./index.vue": +/*!*******************!*\ + !*** ./index.vue ***! + \*******************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports.default = {\n components: { component: component_vue_1.default },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..321095028 --- /dev/null +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 5.13 KiB main [emitted] main +Entrypoint main = bundle.js +[./component.vue] 187 bytes {main} [built] +[./helper.ts] 190 bytes {main} [built] +[./index.vue] 382 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry1.js deleted file mode 100644 index fb0d501e5..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry1.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -console.log('banana'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry2.js deleted file mode 100644 index fb98261e1..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry2.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = "some value"; - - -/***/ }), -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var component_vue_1 = __webpack_require__(0); -console.log(component_vue_1["default"]); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/output.txt deleted file mode 100644 index 59c6bde52..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -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] -chunk {1} bundle.entry1.js (entry1) 23 bytes [entry] [rendered] - [1] ./.test/appendSuffixToWatch/entry1.ts 23 bytes {1} [built] \ No newline at end of file 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 deleted file mode 100644 index 3e6057de6..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/bundle.entry1.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -console.log('something!'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/output.txt deleted file mode 100644 index 6670bacbe..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -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} - [2] ./.test/appendSuffixToWatch/entry2.ts 132 bytes {0} -chunk {1} bundle.entry1.js (entry1) 27 bytes [entry] [rendered] - [1] ./.test/appendSuffixToWatch/entry1.ts 27 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/bundle.entry1.js deleted file mode 100644 index fb0d501e5..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/bundle.entry1.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -console.log('banana'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/bundle.entry2.js deleted file mode 100644 index fb98261e1..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/bundle.entry2.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = "some value"; - - -/***/ }), -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var component_vue_1 = __webpack_require__(0); -console.log(component_vue_1["default"]); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/output.txt deleted file mode 100644 index 59c6bde52..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -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] -chunk {1} bundle.entry1.js (entry1) 23 bytes [entry] [rendered] - [1] ./.test/appendSuffixToWatch/entry1.ts 23 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/patch0/bundle.entry1.js deleted file mode 100644 index 3e6057de6..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/patch0/bundle.entry1.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -console.log('something!'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/patch0/output.txt deleted file mode 100644 index 6670bacbe..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.3/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -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} - [2] ./.test/appendSuffixToWatch/entry2.ts 132 bytes {0} -chunk {1} bundle.entry1.js (entry1) 27 bytes [entry] [rendered] - [1] ./.test/appendSuffixToWatch/entry1.ts 27 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/bundle.entry1.js deleted file mode 100644 index fb0d501e5..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/bundle.entry1.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -console.log('banana'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/bundle.entry2.js deleted file mode 100644 index fb98261e1..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/bundle.entry2.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = "some value"; - - -/***/ }), -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var component_vue_1 = __webpack_require__(0); -console.log(component_vue_1["default"]); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/output.txt deleted file mode 100644 index 59c6bde52..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -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] -chunk {1} bundle.entry1.js (entry1) 23 bytes [entry] [rendered] - [1] ./.test/appendSuffixToWatch/entry1.ts 23 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/patch0/bundle.entry1.js deleted file mode 100644 index 3e6057de6..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/patch0/bundle.entry1.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -console.log('something!'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/patch0/output.txt deleted file mode 100644 index 6670bacbe..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.4/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -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} - [2] ./.test/appendSuffixToWatch/entry2.ts 132 bytes {0} -chunk {1} bundle.entry1.js (entry1) 27 bytes [entry] [rendered] - [1] ./.test/appendSuffixToWatch/entry1.ts 27 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/bundle.entry1.js deleted file mode 100644 index f46d24758..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/bundle.entry1.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('banana'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/bundle.entry2.js deleted file mode 100644 index c4db0cde9..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/bundle.entry2.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var component_vue_1 = __webpack_require__(2); -console.log(component_vue_1["default"]); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = "some value"; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/output.txt deleted file mode 100644 index 7519efb0e..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry2.js 2.79 kB 0 [emitted] entry2 -bundle.entry1.js 2.5 kB 1 [emitted] entry1 - [0] ./.test/appendSuffixToWatch/entry1.ts 23 bytes {1} [built] - [1] ./.test/appendSuffixToWatch/entry2.ts 132 bytes {0} [built] - [2] ./.test/appendSuffixToWatch/component.vue 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/patch0/bundle.entry1.js deleted file mode 100644 index d4271fd2f..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/patch0/bundle.entry1.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('something!'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/patch0/output.txt deleted file mode 100644 index 442c626f9..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.5/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry2.js 2.79 kB 0 entry2 -bundle.entry1.js 2.5 kB 1 [emitted] entry1 - [0] ./.test/appendSuffixToWatch/entry1.ts 27 bytes {1} [built] - [1] ./.test/appendSuffixToWatch/entry2.ts 132 bytes {0} - [2] ./.test/appendSuffixToWatch/component.vue 76 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/bundle.entry1.js deleted file mode 100644 index f46d24758..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/bundle.entry1.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('banana'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/bundle.entry2.js deleted file mode 100644 index c4db0cde9..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/bundle.entry2.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var component_vue_1 = __webpack_require__(2); -console.log(component_vue_1["default"]); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = "some value"; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/output.txt deleted file mode 100644 index 7519efb0e..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry2.js 2.79 kB 0 [emitted] entry2 -bundle.entry1.js 2.5 kB 1 [emitted] entry1 - [0] ./.test/appendSuffixToWatch/entry1.ts 23 bytes {1} [built] - [1] ./.test/appendSuffixToWatch/entry2.ts 132 bytes {0} [built] - [2] ./.test/appendSuffixToWatch/component.vue 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/patch0/bundle.entry1.js deleted file mode 100644 index d4271fd2f..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/patch0/bundle.entry1.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('something!'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/patch0/output.txt deleted file mode 100644 index 442c626f9..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.6/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry2.js 2.79 kB 0 entry2 -bundle.entry1.js 2.5 kB 1 [emitted] entry1 - [0] ./.test/appendSuffixToWatch/entry1.ts 27 bytes {1} [built] - [1] ./.test/appendSuffixToWatch/entry2.ts 132 bytes {0} - [2] ./.test/appendSuffixToWatch/component.vue 76 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/bundle.entry1.js deleted file mode 100644 index 8afb5c73b..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/bundle.entry1.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('banana');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/bundle.entry2.js deleted file mode 100644 index fd991bb75..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/bundle.entry2.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry2.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./entry2.ts": -/*!*******************!*\ - !*** ./entry2.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/output.txt deleted file mode 100644 index fd86fe625..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -Built at: 2018-3-18 09:15:16 - Asset Size Chunks Chunk Names -bundle.entry1.js 2.81 KiB entry1 [emitted] entry1 -bundle.entry2.js 3.32 KiB entry2 [emitted] entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} [built] -[./entry1.ts] 23 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/patch0/bundle.entry1.js deleted file mode 100644 index 446879f3b..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/patch0/bundle.entry1.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('something!');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/patch0/output.txt deleted file mode 100644 index 5ca394d07..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.7/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -Built at: 2018-3-18 09:15:19 - Asset Size Chunks Chunk Names -bundle.entry1.js 2.82 KiB entry1 [emitted] entry1 -bundle.entry2.js 3.32 KiB entry2 entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} -[./entry1.ts] 27 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/bundle.entry1.js deleted file mode 100644 index 8afb5c73b..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/bundle.entry1.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('banana');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/bundle.entry2.js deleted file mode 100644 index fd991bb75..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/bundle.entry2.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry2.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./entry2.ts": -/*!*******************!*\ - !*** ./entry2.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/output.txt deleted file mode 100644 index 35d3bc9d7..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 2.81 KiB entry1 [emitted] entry1 -bundle.entry2.js 3.32 KiB entry2 [emitted] entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} [built] -[./entry1.ts] 23 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/patch0/bundle.entry1.js deleted file mode 100644 index 446879f3b..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/patch0/bundle.entry1.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('something!');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/patch0/output.txt deleted file mode 100644 index 4a92441b3..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.8/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 2.82 KiB entry1 [emitted] entry1 -bundle.entry2.js 3.32 KiB entry2 entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} -[./entry1.ts] 27 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/bundle.entry1.js deleted file mode 100644 index ba42f5993..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/bundle.entry1.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('banana');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/bundle.entry2.js deleted file mode 100644 index 63c756585..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/bundle.entry2.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry2.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./entry2.ts": -/*!*******************!*\ - !*** ./entry2.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/output.txt deleted file mode 100644 index bdc1dc671..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 -bundle.entry2.js 4.29 KiB entry2 [emitted] entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} [built] -[./entry1.ts] 23 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/patch0/bundle.entry1.js deleted file mode 100644 index 9e8bbeb9a..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/patch0/bundle.entry1.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('something!');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/patch0/output.txt deleted file mode 100644 index 06e6f0dfe..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.0/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 -bundle.entry2.js 4.29 KiB entry2 entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} -[./entry1.ts] 27 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/bundle.entry1.js deleted file mode 100644 index ba42f5993..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/bundle.entry1.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('banana');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/bundle.entry2.js deleted file mode 100644 index 63c756585..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/bundle.entry2.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry2.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./entry2.ts": -/*!*******************!*\ - !*** ./entry2.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/output.txt deleted file mode 100644 index bdc1dc671..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 -bundle.entry2.js 4.29 KiB entry2 [emitted] entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} [built] -[./entry1.ts] 23 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/patch0/bundle.entry1.js deleted file mode 100644 index 9e8bbeb9a..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/patch0/bundle.entry1.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('something!');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/patch0/output.txt deleted file mode 100644 index 06e6f0dfe..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.1/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 -bundle.entry2.js 4.29 KiB entry2 entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} -[./entry1.ts] 27 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/bundle.entry1.js deleted file mode 100644 index ba42f5993..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/bundle.entry1.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('banana');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/bundle.entry2.js deleted file mode 100644 index 63c756585..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/bundle.entry2.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry2.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./entry2.ts": -/*!*******************!*\ - !*** ./entry2.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/output.txt deleted file mode 100644 index bdc1dc671..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 -bundle.entry2.js 4.29 KiB entry2 [emitted] entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} [built] -[./entry1.ts] 23 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/patch0/bundle.entry1.js deleted file mode 100644 index 9e8bbeb9a..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/patch0/bundle.entry1.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('something!');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/patch0/output.txt deleted file mode 100644 index 06e6f0dfe..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.2/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 -bundle.entry2.js 4.29 KiB entry2 entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} -[./entry1.ts] 27 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/bundle.entry1.js deleted file mode 100644 index ba42f5993..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/bundle.entry1.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('banana');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/bundle.entry2.js deleted file mode 100644 index 63c756585..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/bundle.entry2.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry2.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./entry2.ts": -/*!*******************!*\ - !*** ./entry2.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/output.txt deleted file mode 100644 index bdc1dc671..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 -bundle.entry2.js 4.29 KiB entry2 [emitted] entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} [built] -[./entry1.ts] 23 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/patch0/bundle.entry1.js deleted file mode 100644 index 9e8bbeb9a..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/patch0/bundle.entry1.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('something!');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/patch0/output.txt deleted file mode 100644 index 06e6f0dfe..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.3/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 -bundle.entry2.js 4.29 KiB entry2 entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} -[./entry1.ts] 27 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/bundle.entry1.js deleted file mode 100644 index ba42f5993..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/bundle.entry1.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('banana');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/bundle.entry2.js deleted file mode 100644 index 63c756585..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/bundle.entry2.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry2.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./entry2.ts": -/*!*******************!*\ - !*** ./entry2.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/output.txt deleted file mode 100644 index bdc1dc671..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 -bundle.entry2.js 4.29 KiB entry2 [emitted] entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} [built] -[./entry1.ts] 23 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/patch0/bundle.entry1.js deleted file mode 100644 index 9e8bbeb9a..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/patch0/bundle.entry1.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('something!');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/patch0/output.txt deleted file mode 100644 index 06e6f0dfe..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.4/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 -bundle.entry2.js 4.29 KiB entry2 entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} -[./entry1.ts] 27 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/bundle.entry1.js deleted file mode 100644 index ba42f5993..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/bundle.entry1.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('banana');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/bundle.entry2.js deleted file mode 100644 index 63c756585..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/bundle.entry2.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry2.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./entry2.ts": -/*!*******************!*\ - !*** ./entry2.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/output.txt deleted file mode 100644 index bdc1dc671..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 -bundle.entry2.js 4.29 KiB entry2 [emitted] entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} [built] -[./entry1.ts] 23 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/patch0/bundle.entry1.js deleted file mode 100644 index 9e8bbeb9a..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/patch0/bundle.entry1.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./entry1.ts": -/*!*******************!*\ - !*** ./entry1.ts ***! - \*******************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log('something!');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/patch0/output.txt deleted file mode 100644 index 06e6f0dfe..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-3.5/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 -bundle.entry2.js 4.29 KiB entry2 entry2 -Entrypoint entry1 = bundle.entry1.js -Entrypoint entry2 = bundle.entry2.js -[./component.vue] 76 bytes {entry2} -[./entry1.ts] 27 bytes {entry1} [built] -[./entry2.ts] 132 bytes {entry2} \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.9/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.0/bundle.entry1.js similarity index 100% rename from test/comparison-tests/appendSuffixToWatch/expectedOutput-2.9/bundle.entry1.js rename to test/comparison-tests/appendSuffixToWatch/expectedOutput-4.0/bundle.entry1.js diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.9/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.0/bundle.entry2.js similarity index 100% rename from test/comparison-tests/appendSuffixToWatch/expectedOutput-2.9/bundle.entry2.js rename to test/comparison-tests/appendSuffixToWatch/expectedOutput-4.0/bundle.entry2.js diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.9/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/appendSuffixToWatch/expectedOutput-2.9/output.txt rename to test/comparison-tests/appendSuffixToWatch/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.9/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.0/patch0/bundle.entry1.js similarity index 100% rename from test/comparison-tests/appendSuffixToWatch/expectedOutput-2.9/patch0/bundle.entry1.js rename to test/comparison-tests/appendSuffixToWatch/expectedOutput-4.0/patch0/bundle.entry1.js diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.9/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/appendSuffixToWatch/expectedOutput-2.9/patch0/output.txt rename to test/comparison-tests/appendSuffixToWatch/expectedOutput-4.0/patch0/output.txt diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.6/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.6/bundle.js deleted file mode 100644 index e6c3747d0..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,62 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - var BaseComponent = function BaseComponent() { - _classCallCheck(this, BaseComponent); - }; - - exports.BaseComponent = BaseComponent; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.6/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.6/output.txt deleted file mode 100644 index 38096ee4e..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.76 kB 0 [emitted] main -chunk {0} bundle.js (main) 365 bytes [rendered] - [0] ./.test/es6resolveParent/index.tsx 365 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.7/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.7/bundle.js deleted file mode 100644 index e6c3747d0..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,62 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - var BaseComponent = function BaseComponent() { - _classCallCheck(this, BaseComponent); - }; - - exports.BaseComponent = BaseComponent; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.7/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.7/output.txt deleted file mode 100644 index 38096ee4e..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.76 kB 0 [emitted] main -chunk {0} bundle.js (main) 365 bytes [rendered] - [0] ./.test/es6resolveParent/index.tsx 365 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.8/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.8/bundle.js deleted file mode 100644 index e6c3747d0..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,62 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - var BaseComponent = function BaseComponent() { - _classCallCheck(this, BaseComponent); - }; - - exports.BaseComponent = BaseComponent; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.8/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.8/output.txt deleted file mode 100644 index 38096ee4e..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.76 kB 0 [emitted] main -chunk {0} bundle.js (main) 365 bytes [rendered] - [0] ./.test/es6resolveParent/index.tsx 365 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.0/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.0/bundle.js deleted file mode 100644 index 04fbc4e6e..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - var BaseComponent = exports.BaseComponent = function BaseComponent() { - _classCallCheck(this, BaseComponent); - }; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.0/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.0/output.txt deleted file mode 100644 index ac4403742..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 349 bytes [rendered] - [0] ./.test/babel-es6resolveParent/index.tsx 349 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.1/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.1/bundle.js deleted file mode 100644 index 663d0ecce..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,83 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BaseComponent", function() { return BaseComponent; }); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var BaseComponent = function BaseComponent() { - _classCallCheck(this, BaseComponent); -}; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.1/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.1/output.txt deleted file mode 100644 index d435a46d5..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3 kB 0 [emitted] main -chunk {0} bundle.js (main) 251 bytes [entry] [rendered] - [0] ./.test/babel-es6resolveParent/index.tsx 251 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.2/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.2/bundle.js deleted file mode 100644 index 25e164c9c..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,83 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BaseComponent", function() { return BaseComponent; }); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var BaseComponent = function BaseComponent() { - _classCallCheck(this, BaseComponent); -}; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.2/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.2/output.txt deleted file mode 100644 index 96b47dc7b..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.13 kB 0 [emitted] main -chunk {0} bundle.js (main) 251 bytes [entry] [rendered] - [0] ./.test/babel-es6resolveParent/index.tsx 251 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.3/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.3/bundle.js deleted file mode 100644 index 25e164c9c..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,83 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BaseComponent", function() { return BaseComponent; }); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var BaseComponent = function BaseComponent() { - _classCallCheck(this, BaseComponent); -}; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.3/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.3/output.txt deleted file mode 100644 index 96b47dc7b..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.13 kB 0 [emitted] main -chunk {0} bundle.js (main) 251 bytes [entry] [rendered] - [0] ./.test/babel-es6resolveParent/index.tsx 251 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.4/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.4/bundle.js deleted file mode 100644 index 25e164c9c..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,83 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BaseComponent", function() { return BaseComponent; }); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var BaseComponent = function BaseComponent() { - _classCallCheck(this, BaseComponent); -}; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.4/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.4/output.txt deleted file mode 100644 index 96b47dc7b..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.13 kB 0 [emitted] main -chunk {0} bundle.js (main) 251 bytes [entry] [rendered] - [0] ./.test/babel-es6resolveParent/index.tsx 251 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.5/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.5/bundle.js deleted file mode 100644 index 445f1b2e1..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BaseComponent", function() { return BaseComponent; }); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var BaseComponent = function BaseComponent() { - _classCallCheck(this, BaseComponent); -}; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.5/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.5/output.txt deleted file mode 100644 index 6760ced5c..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.97 kB 0 [emitted] main - [0] ./.test/babel-es6resolveParent/index.tsx 251 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.6/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.6/bundle.js deleted file mode 100644 index 445f1b2e1..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BaseComponent", function() { return BaseComponent; }); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var BaseComponent = function BaseComponent() { - _classCallCheck(this, BaseComponent); -}; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.6/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.6/output.txt deleted file mode 100644 index 6760ced5c..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.97 kB 0 [emitted] main - [0] ./.test/babel-es6resolveParent/index.tsx 251 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.7/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.7/bundle.js deleted file mode 100644 index af163ecc0..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.tsx"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./index.tsx": -/*!*******************!*\ - !*** ./index.tsx ***! - \*******************/ -/*! exports provided: BaseComponent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BaseComponent\", function() { return BaseComponent; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar BaseComponent = function BaseComponent() {\n _classCallCheck(this, BaseComponent);\n};\n\n//# sourceURL=webpack:///./index.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 5e8ee3cc9..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:15:26 - Asset Size Chunks Chunk Names -bundle.js 3.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.7/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.7/output.txt deleted file mode 100644 index d104a0ace..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:15:25 - Asset Size Chunks Chunk Names -bundle.js 3.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.8/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.8/bundle.js deleted file mode 100644 index af163ecc0..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.tsx"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./index.tsx": -/*!*******************!*\ - !*** ./index.tsx ***! - \*******************/ -/*! exports provided: BaseComponent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BaseComponent\", function() { return BaseComponent; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar BaseComponent = function BaseComponent() {\n _classCallCheck(this, BaseComponent);\n};\n\n//# sourceURL=webpack:///./index.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 88cf02733..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:31:01 - Asset Size Chunks Chunk Names -bundle.js 3.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.8/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.8/output.txt deleted file mode 100644 index 0fd81afe9..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 88cf02733..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:31:01 - Asset Size Chunks Chunk Names -bundle.js 3.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 88cf02733..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:31:01 - Asset Size Chunks Chunk Names -bundle.js 3.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.1/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.1/bundle.js deleted file mode 100644 index 172f02325..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.tsx"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./index.tsx": -/*!*******************!*\ - !*** ./index.tsx ***! - \*******************/ -/*! exports provided: BaseComponent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BaseComponent\", function() { return BaseComponent; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar BaseComponent = function BaseComponent() {\n _classCallCheck(this, BaseComponent);\n};\n\n//# sourceURL=webpack:///./index.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 88cf02733..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:31:01 - Asset Size Chunks Chunk Names -bundle.js 3.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.1/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.1/output.txt deleted file mode 100644 index 10cdd525e..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.22 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.2/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.2/bundle.js deleted file mode 100644 index 172f02325..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.tsx"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./index.tsx": -/*!*******************!*\ - !*** ./index.tsx ***! - \*******************/ -/*! exports provided: BaseComponent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BaseComponent\", function() { return BaseComponent; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar BaseComponent = function BaseComponent() {\n _classCallCheck(this, BaseComponent);\n};\n\n//# sourceURL=webpack:///./index.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 88cf02733..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:31:01 - Asset Size Chunks Chunk Names -bundle.js 3.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.2/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.2/output.txt deleted file mode 100644 index 10cdd525e..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.22 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.3/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.3/bundle.js deleted file mode 100644 index 172f02325..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.tsx"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./index.tsx": -/*!*******************!*\ - !*** ./index.tsx ***! - \*******************/ -/*! exports provided: BaseComponent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BaseComponent\", function() { return BaseComponent; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar BaseComponent = function BaseComponent() {\n _classCallCheck(this, BaseComponent);\n};\n\n//# sourceURL=webpack:///./index.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 88cf02733..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:31:01 - Asset Size Chunks Chunk Names -bundle.js 3.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.3/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.3/output.txt deleted file mode 100644 index 10cdd525e..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.22 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.4/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.4/bundle.js deleted file mode 100644 index 172f02325..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.tsx"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./index.tsx": -/*!*******************!*\ - !*** ./index.tsx ***! - \*******************/ -/*! exports provided: BaseComponent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BaseComponent\", function() { return BaseComponent; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar BaseComponent = function BaseComponent() {\n _classCallCheck(this, BaseComponent);\n};\n\n//# sourceURL=webpack:///./index.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 88cf02733..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:31:01 - Asset Size Chunks Chunk Names -bundle.js 3.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.4/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.4/output.txt deleted file mode 100644 index 10cdd525e..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.22 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.5/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.5/bundle.js deleted file mode 100644 index 172f02325..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./index.tsx"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./index.tsx": -/*!*******************!*\ - !*** ./index.tsx ***! - \*******************/ -/*! exports provided: BaseComponent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BaseComponent\", function() { return BaseComponent; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar BaseComponent = function BaseComponent() {\n _classCallCheck(this, BaseComponent);\n};\n\n//# sourceURL=webpack:///./index.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 88cf02733..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:31:01 - Asset Size Chunks Chunk Names -bundle.js 3.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.5/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.5/output.txt deleted file mode 100644 index 10cdd525e..000000000 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.22 KiB main [emitted] main -Entrypoint main = bundle.js -[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.9/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/babel-es6resolveParent/expectedOutput-2.9/bundle.js rename to test/comparison-tests/babel-es6resolveParent/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.9/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/babel-es6resolveParent/expectedOutput-2.9/output.txt rename to test/comparison-tests/babel-es6resolveParent/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.0/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/babel-es6resolveParent/expectedOutput-3.0/bundle.js rename to test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.0/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/babel-es6resolveParent/expectedOutput-3.0/output.txt rename to test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/babel-issue81/expectedOutput-1.7/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-1.7/bundle.js deleted file mode 100644 index a47d62527..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,68 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - }; - function bar(target) { - return target; - } - var Foo = function Foo() { - _classCallCheck(this, Foo); - }; - Foo = __decorate([bar], Foo); - -/***/ } -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-1.7/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-1.7/bundle.js.map deleted file mode 100644 index 05a1fd6ed..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-1.7/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":["bar","Foo"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;ACtCA,KAAI,UAAU,GAAI,aAAQ,UAAK,UAAU,IAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;AACnF,SAAI,CAAC,GAAG,SAAS,CAAC,MAAM;SAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;SAAE,CAAC,CAAC;AAC7H,SAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,KAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;AAClJ,YAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;EACjE,CAAC;AAJF,cAAa,MAAW;AACpBA,YAAOA,MAAMA,CAACA;EACjBA;AAED;;EAGCC;AAHD,mBAAC,GAAG,CAQH,EAAE,GAAG,CAAC,C","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\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap [hash]\n **/","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}\n\n\n/** WEBPACK FOOTER **\n ** ./a.ts\n **/"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-1.7/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-1.7/output.txt deleted file mode 100644 index b79ed43c4..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 2.42 kB 0 [emitted] main -bundle.js.map 2.53 kB 0 [emitted] main -chunk {0} bundle.js, bundle.js.map (main) 896 bytes [rendered] - [0] ./.test/issue81/a.ts 896 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-1.8/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-1.8/bundle.js deleted file mode 100644 index a47d62527..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,68 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - }; - function bar(target) { - return target; - } - var Foo = function Foo() { - _classCallCheck(this, Foo); - }; - Foo = __decorate([bar], Foo); - -/***/ } -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-1.8/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-1.8/bundle.js.map deleted file mode 100644 index 2224d7abb..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-1.8/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;ACtCA,KAAI,UAAU,GAAI,aAAQ,UAAK,UAAU,IAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;AACnF,SAAI,CAAC,GAAG,SAAS,CAAC,MAAM;SAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;SAAE,CAAC,CAAC;AAC7H,SAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,KAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;AAClJ,YAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;EACjE,CAAC;AAJF,cAAa,MAAW;AACpB,YAAO,MAAM,CAAC;EACjB;AAGD;2BAAA;EAEC;AAHD,mBAAC,GAAG,CAQH,EAAE,GAAG,CARF,C","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\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap [hash]\n **/","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}\n\n\n/** WEBPACK FOOTER **\n ** ./a.ts\n **/"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-1.8/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-1.8/output.txt deleted file mode 100644 index a4225ef38..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 2.42 kB 0 [emitted] main -bundle.js.map 2.51 kB 0 [emitted] main -chunk {0} bundle.js, bundle.js.map (main) 896 bytes [rendered] - [0] ./.test/issue81/a.ts 896 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.0/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-2.0/bundle.js deleted file mode 100644 index 028a0cdaa..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,71 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - - var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; - }; - function bar(target) { - return target; - } - var Foo = function Foo() { - _classCallCheck(this, Foo); - }; - Foo = __decorate([bar], Foo); - -/***/ } -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.0/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-2.0/bundle.js.map deleted file mode 100644 index fe48f36e9..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.0/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;;;;;;ACrCA,cAAwB;AACd,YACV;AAAC;AAGD;AAEC;;AAHD,mBAAI,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\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(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.0/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-2.0/output.txt deleted file mode 100644 index 6e08981b1..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 2.76 kB 0 [emitted] main -bundle.js.map 1.64 kB 0 [emitted] main -chunk {0} bundle.js, bundle.js.map (main) 1.23 kB [rendered] - [0] ./.test/babel-issue81/a.ts 1.23 kB {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.1/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-2.1/bundle.js deleted file mode 100644 index a67c5edd1..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,95 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var __decorate = this && this.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -function bar(target) { - return target; -} -var Foo = function Foo() { - _classCallCheck(this, Foo); -}; -Foo = __decorate([bar], Foo); - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.1/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-2.1/bundle.js.map deleted file mode 100644 index 45b38d4ee..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.1/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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 diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.1/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-2.1/output.txt deleted file mode 100644 index e795d8b8f..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.87 kB 0 [emitted] main -bundle.js.map 2.83 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-issue81/expectedOutput-2.2/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-2.2/bundle.js deleted file mode 100644 index eeb32f54d..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,95 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var __decorate = this && this.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -function bar(target) { - return target; -} -var Foo = function Foo() { - _classCallCheck(this, Foo); -}; -Foo = __decorate([bar], Foo); - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file 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 deleted file mode 100644 index 723f3c648..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.2/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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 deleted file mode 100644 index e1dee25b0..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.87 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-issue81/expectedOutput-2.3/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-2.3/bundle.js deleted file mode 100644 index eeb32f54d..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,95 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var __decorate = this && this.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -function bar(target) { - return target; -} -var Foo = function Foo() { - _classCallCheck(this, Foo); -}; -Foo = __decorate([bar], Foo); - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.3/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-2.3/bundle.js.map deleted file mode 100644 index 723f3c648..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.3/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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.3/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-2.3/output.txt deleted file mode 100644 index e1dee25b0..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.87 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-issue81/expectedOutput-2.4/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-2.4/bundle.js deleted file mode 100644 index eeb32f54d..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,95 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var __decorate = this && this.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -function bar(target) { - return target; -} -var Foo = function Foo() { - _classCallCheck(this, Foo); -}; -Foo = __decorate([bar], Foo); - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.4/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-2.4/bundle.js.map deleted file mode 100644 index 723f3c648..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.4/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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.4/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-2.4/output.txt deleted file mode 100644 index e1dee25b0..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.87 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-issue81/expectedOutput-2.5/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-2.5/bundle.js deleted file mode 100644 index d61b89d4e..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var __decorate = this && this.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -function bar(target) { - return target; -} -var Foo = function Foo() { - _classCallCheck(this, Foo); -}; -Foo = __decorate([bar], Foo); - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.5/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-2.5/bundle.js.map deleted file mode 100644 index 4ff1bfd20..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.5/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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;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;;;;;;;;;;;;;;;;;;;AC5DA,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// 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.5/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-2.5/output.txt deleted file mode 100644 index ee4921132..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.71 kB 0 [emitted] main -bundle.js.map 2.67 kB 0 [emitted] main - [0] ./.test/babel-issue81/a.ts 1.2 kB {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.6/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-2.6/bundle.js deleted file mode 100644 index d61b89d4e..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var __decorate = this && this.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -function bar(target) { - return target; -} -var Foo = function Foo() { - _classCallCheck(this, Foo); -}; -Foo = __decorate([bar], Foo); - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.6/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-2.6/bundle.js.map deleted file mode 100644 index 4ff1bfd20..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.6/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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;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;;;;;;;;;;;;;;;;;;;AC5DA,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// 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.6/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-2.6/output.txt deleted file mode 100644 index ee4921132..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.71 kB 0 [emitted] main -bundle.js.map 2.67 kB 0 [emitted] main - [0] ./.test/babel-issue81/a.ts 1.2 kB {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.7/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-2.7/bundle.js deleted file mode 100644 index 33cd0e0a0..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,104 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var __decorate = this && this.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -function bar(target) { - return target; -} -var Foo = function Foo() { - _classCallCheck(this, Foo); -}; -Foo = __decorate([bar], Foo); - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.7/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-2.7/bundle.js.map deleted file mode 100644 index 60a294862..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.7/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;;;;AClEA,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// 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// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/babel-issue81/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index d2f365abb..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:15:33 - Asset Size Chunks Chunk Names - bundle.js 3.93 KiB main [emitted] main -bundle.js.map 2.69 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.7/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-2.7/output.txt deleted file mode 100644 index c6c8fac29..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:15:32 - Asset Size Chunks Chunk Names - bundle.js 3.93 KiB main [emitted] main -bundle.js.map 2.69 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.8/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-2.8/bundle.js deleted file mode 100644 index 33cd0e0a0..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,104 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var __decorate = this && this.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -function bar(target) { - return target; -} -var Foo = function Foo() { - _classCallCheck(this, Foo); -}; -Foo = __decorate([bar], Foo); - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.8/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-2.8/bundle.js.map deleted file mode 100644 index d00be7dbb..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.8/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;;;;AClEA,aAAwB;AACpB,WACJ;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// 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// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/babel-issue81/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 476a41740..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-4-7 18:31:15 - Asset Size Chunks Chunk Names - bundle.js 3.93 KiB main [emitted] main -bundle.js.map 2.69 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.8/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-2.8/output.txt deleted file mode 100644 index 9052bc855..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.93 KiB main [emitted] main -bundle.js.map 2.69 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.9/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-2.9/bundle.js.map deleted file mode 100644 index f6d0f0fb0..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.9/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACjFA,aAAwB;AACpB,WACJ;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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.9/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-2.9/output.txt deleted file mode 100644 index fa5003ee3..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.89 KiB main [emitted] main -bundle.js.map 3.7 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.0/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-3.0/bundle.js.map deleted file mode 100644 index 3e468fb7b..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.0/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACjFA,SAAY,IAAY;AACpB,WACJ;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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.0/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-3.0/output.txt deleted file mode 100644 index fa5003ee3..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.89 KiB main [emitted] main -bundle.js.map 3.7 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.1/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-3.1/bundle.js deleted file mode 100644 index 6d304b239..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,119 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var __decorate = this && this.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -function bar(target) { - return target; -} -var Foo = function Foo() { - _classCallCheck(this, Foo); -}; -Foo = __decorate([bar], Foo); - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.1/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-3.1/bundle.js.map deleted file mode 100644 index 3e468fb7b..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.1/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACjFA,SAAY,IAAY;AACpB,WACJ;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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.1/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-3.1/output.txt deleted file mode 100644 index fa5003ee3..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.89 KiB main [emitted] main -bundle.js.map 3.7 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.2/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-3.2/bundle.js deleted file mode 100644 index 6d304b239..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,119 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var __decorate = this && this.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -function bar(target) { - return target; -} -var Foo = function Foo() { - _classCallCheck(this, Foo); -}; -Foo = __decorate([bar], Foo); - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.2/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-3.2/bundle.js.map deleted file mode 100644 index 3e468fb7b..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.2/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACjFA,SAAY,IAAY;AACpB,WACJ;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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.2/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-3.2/output.txt deleted file mode 100644 index fa5003ee3..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.89 KiB main [emitted] main -bundle.js.map 3.7 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.3/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-3.3/bundle.js deleted file mode 100644 index 6d304b239..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,119 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var __decorate = this && this.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -function bar(target) { - return target; -} -var Foo = function Foo() { - _classCallCheck(this, Foo); -}; -Foo = __decorate([bar], Foo); - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.3/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-3.3/bundle.js.map deleted file mode 100644 index 3e468fb7b..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.3/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACjFA,SAAY,IAAY;AACpB,WACJ;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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.3/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-3.3/output.txt deleted file mode 100644 index fa5003ee3..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.89 KiB main [emitted] main -bundle.js.map 3.7 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.4/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-3.4/bundle.js deleted file mode 100644 index 6d304b239..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,119 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var __decorate = this && this.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -function bar(target) { - return target; -} -var Foo = function Foo() { - _classCallCheck(this, Foo); -}; -Foo = __decorate([bar], Foo); - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.4/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-3.4/bundle.js.map deleted file mode 100644 index 3e468fb7b..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.4/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACjFA,SAAY,IAAY;AACpB,WACJ;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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.4/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-3.4/output.txt deleted file mode 100644 index fa5003ee3..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.89 KiB main [emitted] main -bundle.js.map 3.7 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.5/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-3.5/bundle.js deleted file mode 100644 index 6d304b239..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,119 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var __decorate = this && this.__decorate || function (decorators, target, key, desc) { - var c = arguments.length, - r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, - d; - if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { - if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - }return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -function bar(target) { - return target; -} -var Foo = function Foo() { - _classCallCheck(this, Foo); -}; -Foo = __decorate([bar], Foo); - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.5/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-3.5/bundle.js.map deleted file mode 100644 index 3e468fb7b..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.5/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACjFA,SAAY,IAAY;AACpB,WACJ;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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.5/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-3.5/output.txt deleted file mode 100644 index fa5003ee3..000000000 --- a/test/comparison-tests/babel-issue81/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.89 KiB main [emitted] main -bundle.js.map 3.7 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.9/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/babel-issue81/expectedOutput-2.9/bundle.js rename to test/comparison-tests/babel-issue81/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/babel-issue81/expectedOutput-4.0/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-4.0/bundle.js.map new file mode 100644 index 000000000..eb6d8fc44 --- /dev/null +++ b/test/comparison-tests/babel-issue81/expectedOutput-4.0/bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./a.ts"],"names":[],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;;;;;;;;;;;;ACjFA,SAAY,IAAY;AACpB,WACJ;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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-4.0/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..3b961a9cc --- /dev/null +++ b/test/comparison-tests/babel-issue81/expectedOutput-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names + bundle.js 4.96 KiB main [emitted] main +bundle.js.map 3.72 KiB main [emitted] [dev] main +Entrypoint main = bundle.js bundle.js.map +[./a.ts] 1.25 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-3.0/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/babel-issue81/expectedOutput-3.0/bundle.js rename to test/comparison-tests/babel-issue81/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.0/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.0/bundle.js.map new file mode 100644 index 000000000..eb6d8fc44 --- /dev/null +++ b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.0/bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./a.ts"],"names":[],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;;;;;;;;;;;;ACjFA,SAAY,IAAY;AACpB,WACJ;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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..e03c35628 --- /dev/null +++ b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names + bundle.js 4.89 KiB main [emitted] main +bundle.js.map 3.7 KiB main [emitted] [dev] main +Entrypoint main = bundle.js bundle.js.map +[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-1.6/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-1.6/bundle.js deleted file mode 100644 index 50bb65232..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, '__esModule', { - value: true - }); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - - var _submoduleSubmodule = __webpack_require__(1); - - var _submoduleSubmodule2 = _interopRequireDefault(_submoduleSubmodule); - - exports['default'] = _submoduleSubmodule2['default']; - module.exports = exports['default']; - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports["default"] = "Hello from submodule"; - module.exports = exports["default"]; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-1.6/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-1.6/output.txt deleted file mode 100644 index f53665b61..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.03 kB 0 [emitted] main -chunk {0} bundle.js (main) 565 bytes [rendered] - [0] ./.test/issue92/app.ts 404 bytes {0} [built] - [1] ./.test/issue92/submodule/submodule.tsx 161 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-1.7/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-1.7/bundle.js deleted file mode 100644 index 50bb65232..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, '__esModule', { - value: true - }); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - - var _submoduleSubmodule = __webpack_require__(1); - - var _submoduleSubmodule2 = _interopRequireDefault(_submoduleSubmodule); - - exports['default'] = _submoduleSubmodule2['default']; - module.exports = exports['default']; - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports["default"] = "Hello from submodule"; - module.exports = exports["default"]; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-1.7/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-1.7/output.txt deleted file mode 100644 index f53665b61..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.03 kB 0 [emitted] main -chunk {0} bundle.js (main) 565 bytes [rendered] - [0] ./.test/issue92/app.ts 404 bytes {0} [built] - [1] ./.test/issue92/submodule/submodule.tsx 161 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-1.8/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-1.8/bundle.js deleted file mode 100644 index 50bb65232..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, '__esModule', { - value: true - }); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - - var _submoduleSubmodule = __webpack_require__(1); - - var _submoduleSubmodule2 = _interopRequireDefault(_submoduleSubmodule); - - exports['default'] = _submoduleSubmodule2['default']; - module.exports = exports['default']; - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports["default"] = "Hello from submodule"; - module.exports = exports["default"]; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-1.8/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-1.8/output.txt deleted file mode 100644 index f53665b61..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.03 kB 0 [emitted] main -chunk {0} bundle.js (main) 565 bytes [rendered] - [0] ./.test/issue92/app.ts 404 bytes {0} [built] - [1] ./.test/issue92/submodule/submodule.tsx 161 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.0/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-2.0/bundle.js deleted file mode 100644 index 4c4130736..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _submodule = __webpack_require__(1); - - var _submodule2 = _interopRequireDefault(_submodule); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - exports.default = _submodule2.default; - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = "Hello from submodule"; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.0/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-2.0/output.txt deleted file mode 100644 index 1f70473d3..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.91 kB 0 [emitted] main -chunk {0} bundle.js (main) 444 bytes [rendered] - [0] ./.test/babel-issue92/app.ts 323 bytes {0} [built] - [1] ./.test/babel-issue92/submodule/submodule.tsx 121 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.1/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-2.1/bundle.js deleted file mode 100644 index 6a9027462..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony default export */ __webpack_exports__["a"] = "Hello from submodule"; - -/***/ }), -/* 1 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__submodule_submodule__ = __webpack_require__(0); - -/* harmony default export */ __webpack_exports__["default"] = __WEBPACK_IMPORTED_MODULE_0__submodule_submodule__["a" /* default */]; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.1/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-2.1/output.txt deleted file mode 100644 index 492547ed5..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.05 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-issue92/expectedOutput-2.2/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-2.2/bundle.js deleted file mode 100644 index b1da4aa07..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony default export */ __webpack_exports__["a"] = ("Hello from submodule"); - -/***/ }), -/* 1 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__submodule_submodule__ = __webpack_require__(0); - -/* harmony default export */ __webpack_exports__["default"] = (__WEBPACK_IMPORTED_MODULE_0__submodule_submodule__["a" /* default */]); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.2/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-2.2/output.txt deleted file mode 100644 index 0710b1310..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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-issue92/expectedOutput-2.3/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-2.3/bundle.js deleted file mode 100644 index b1da4aa07..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony default export */ __webpack_exports__["a"] = ("Hello from submodule"); - -/***/ }), -/* 1 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__submodule_submodule__ = __webpack_require__(0); - -/* harmony default export */ __webpack_exports__["default"] = (__WEBPACK_IMPORTED_MODULE_0__submodule_submodule__["a" /* default */]); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.3/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-2.3/output.txt deleted file mode 100644 index 0710b1310..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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-issue92/expectedOutput-2.4/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-2.4/bundle.js deleted file mode 100644 index b1da4aa07..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony default export */ __webpack_exports__["a"] = ("Hello from submodule"); - -/***/ }), -/* 1 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__submodule_submodule__ = __webpack_require__(0); - -/* harmony default export */ __webpack_exports__["default"] = (__WEBPACK_IMPORTED_MODULE_0__submodule_submodule__["a" /* default */]); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.4/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-2.4/output.txt deleted file mode 100644 index 0710b1310..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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-issue92/expectedOutput-2.5/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-2.5/bundle.js deleted file mode 100644 index 32ba51eb5..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,84 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__submodule_submodule__ = __webpack_require__(1); - -/* harmony default export */ __webpack_exports__["default"] = (__WEBPACK_IMPORTED_MODULE_0__submodule_submodule__["a" /* default */]); - -/***/ }), -/* 1 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony default export */ __webpack_exports__["a"] = ("Hello from submodule"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.5/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-2.5/output.txt deleted file mode 100644 index e54ceb474..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.02 kB 0 [emitted] main - [0] ./.test/babel-issue92/app.ts 72 bytes {0} [built] - [1] ./.test/babel-issue92/submodule/submodule.tsx 38 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.6/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-2.6/bundle.js deleted file mode 100644 index 32ba51eb5..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,84 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__submodule_submodule__ = __webpack_require__(1); - -/* harmony default export */ __webpack_exports__["default"] = (__WEBPACK_IMPORTED_MODULE_0__submodule_submodule__["a" /* default */]); - -/***/ }), -/* 1 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony default export */ __webpack_exports__["a"] = ("Hello from submodule"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.6/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-2.6/output.txt deleted file mode 100644 index e54ceb474..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.02 kB 0 [emitted] main - [0] ./.test/babel-issue92/app.ts 72 bytes {0} [built] - [1] ./.test/babel-issue92/submodule/submodule.tsx 38 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.7/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-2.7/bundle.js deleted file mode 100644 index aa623e5b9..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _submodule_submodule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.tsx\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_submodule_submodule__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./submodule/submodule.tsx": -/*!*********************************!*\ - !*** ./submodule/submodule.tsx ***! - \*********************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"Hello from submodule\");\n\n//# sourceURL=webpack:///./submodule/submodule.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/babel-issue92/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 47642aafd..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:15:41 - Asset Size Chunks Chunk Names -bundle.js 3.62 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.7/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-2.7/output.txt deleted file mode 100644 index 163865510..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:15:40 - Asset Size Chunks Chunk Names -bundle.js 3.62 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.8/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-2.8/bundle.js deleted file mode 100644 index aa623e5b9..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _submodule_submodule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.tsx\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_submodule_submodule__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./submodule/submodule.tsx": -/*!*********************************!*\ - !*** ./submodule/submodule.tsx ***! - \*********************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"Hello from submodule\");\n\n//# sourceURL=webpack:///./submodule/submodule.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/babel-issue92/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index b9f3f10da..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-4-7 18:31:28 - Asset Size Chunks Chunk Names -bundle.js 3.62 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.8/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-2.8/output.txt deleted file mode 100644 index a7d3e08a3..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.62 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/babel-issue92/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index b9f3f10da..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-4-7 18:31:28 - Asset Size Chunks Chunk Names -bundle.js 3.62 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/babel-issue92/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index b9f3f10da..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-4-7 18:31:28 - Asset Size Chunks Chunk Names -bundle.js 3.62 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.1/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-3.1/bundle.js deleted file mode 100644 index e6b3d92e4..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _submodule_submodule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.tsx\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_submodule_submodule__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./submodule/submodule.tsx": -/*!*********************************!*\ - !*** ./submodule/submodule.tsx ***! - \*********************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"Hello from submodule\");\n\n//# sourceURL=webpack:///./submodule/submodule.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/babel-issue92/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index b9f3f10da..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-4-7 18:31:28 - Asset Size Chunks Chunk Names -bundle.js 3.62 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.1/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-3.1/output.txt deleted file mode 100644 index d703f9d74..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.58 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.2/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-3.2/bundle.js deleted file mode 100644 index e6b3d92e4..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _submodule_submodule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.tsx\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_submodule_submodule__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./submodule/submodule.tsx": -/*!*********************************!*\ - !*** ./submodule/submodule.tsx ***! - \*********************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"Hello from submodule\");\n\n//# sourceURL=webpack:///./submodule/submodule.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/babel-issue92/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index b9f3f10da..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-4-7 18:31:28 - Asset Size Chunks Chunk Names -bundle.js 3.62 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.2/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-3.2/output.txt deleted file mode 100644 index d703f9d74..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.58 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.3/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-3.3/bundle.js deleted file mode 100644 index e6b3d92e4..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _submodule_submodule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.tsx\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_submodule_submodule__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./submodule/submodule.tsx": -/*!*********************************!*\ - !*** ./submodule/submodule.tsx ***! - \*********************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"Hello from submodule\");\n\n//# sourceURL=webpack:///./submodule/submodule.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/babel-issue92/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index b9f3f10da..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-4-7 18:31:28 - Asset Size Chunks Chunk Names -bundle.js 3.62 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.3/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-3.3/output.txt deleted file mode 100644 index d703f9d74..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.58 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.4/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-3.4/bundle.js deleted file mode 100644 index e6b3d92e4..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _submodule_submodule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.tsx\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_submodule_submodule__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./submodule/submodule.tsx": -/*!*********************************!*\ - !*** ./submodule/submodule.tsx ***! - \*********************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"Hello from submodule\");\n\n//# sourceURL=webpack:///./submodule/submodule.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/babel-issue92/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index b9f3f10da..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-4-7 18:31:28 - Asset Size Chunks Chunk Names -bundle.js 3.62 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.4/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-3.4/output.txt deleted file mode 100644 index d703f9d74..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.58 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.5/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-3.5/bundle.js deleted file mode 100644 index e6b3d92e4..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _submodule_submodule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.tsx\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_submodule_submodule__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./submodule/submodule.tsx": -/*!*********************************!*\ - !*** ./submodule/submodule.tsx ***! - \*********************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"Hello from submodule\");\n\n//# sourceURL=webpack:///./submodule/submodule.tsx?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/babel-issue92/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index b9f3f10da..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-4-7 18:31:28 - Asset Size Chunks Chunk Names -bundle.js 3.62 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.5/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-3.5/output.txt deleted file mode 100644 index d703f9d74..000000000 --- a/test/comparison-tests/babel-issue92/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.58 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 72 bytes {main} [built] -[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.9/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/babel-issue92/expectedOutput-2.9/bundle.js rename to test/comparison-tests/babel-issue92/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.9/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/babel-issue92/expectedOutput-2.9/output.txt rename to test/comparison-tests/babel-issue92/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.0/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/babel-issue92/expectedOutput-3.0/bundle.js rename to test/comparison-tests/babel-issue92/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.0/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/babel-issue92/expectedOutput-3.0/output.txt rename to test/comparison-tests/babel-issue92/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/basic/expectedOutput-1.6/bundle.js b/test/comparison-tests/basic/expectedOutput-1.6/bundle.js deleted file mode 100644 index f7c4963b9..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,71 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var submodule = __webpack_require__(1); - var externalLib = __webpack_require__(2); - externalLib.doSomething(submodule); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var externalLib = __webpack_require__(2); - externalLib.doSomething(""); - var message = "Hello from submodule"; - module.exports = message; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.6/output.txt b/test/comparison-tests/basic/expectedOutput-1.6/output.txt deleted file mode 100644 index bfa5f236b..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.85 kB 0 [emitted] main -chunk {0} bundle.js (main) 318 bytes [rendered] - [0] ./.test/basic/app.ts 128 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 135 bytes {0} [built] - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.6/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-1.6/patch0/bundle.js deleted file mode 100644 index cc2a38054..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.6/patch0/bundle.js +++ /dev/null @@ -1,71 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var submodule = __webpack_require__(1); - var externalLib = __webpack_require__(2); - externalLib.doSomething2(submodule); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var externalLib = __webpack_require__(2); - externalLib.doSomething(""); - var message = "Hello from submodule"; - module.exports = message; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.6/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-1.6/patch0/output.transpiled.txt deleted file mode 100644 index 65ec5c625..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.6/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 319 bytes [rendered] - [0] ./.test/basic/app.ts 129 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 135 bytes {0} - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.6/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-1.6/patch0/output.txt deleted file mode 100644 index 8958cb977..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.6/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 319 bytes [rendered] - [0] ./.test/basic/app.ts 129 bytes {0} [built] [1 error] - [1] ./.test/basic/submodule/submodule.ts 135 bytes {0} - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} - -ERROR in ./.test/basic/app.ts -(3,13): error TS2339: Property 'doSomething2' does not exist on type 'typeof externalLib'. \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.6/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-1.6/patch1/bundle.js deleted file mode 100644 index f7c4963b9..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.6/patch1/bundle.js +++ /dev/null @@ -1,71 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var submodule = __webpack_require__(1); - var externalLib = __webpack_require__(2); - externalLib.doSomething(submodule); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var externalLib = __webpack_require__(2); - externalLib.doSomething(""); - var message = "Hello from submodule"; - module.exports = message; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.6/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-1.6/patch1/output.txt deleted file mode 100644 index a4d66dbf8..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.6/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.85 kB 0 [emitted] main -chunk {0} bundle.js (main) 318 bytes [rendered] - [0] ./.test/basic/app.ts 128 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 135 bytes {0} - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.7/bundle.js b/test/comparison-tests/basic/expectedOutput-1.7/bundle.js deleted file mode 100644 index f7c4963b9..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,71 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var submodule = __webpack_require__(1); - var externalLib = __webpack_require__(2); - externalLib.doSomething(submodule); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var externalLib = __webpack_require__(2); - externalLib.doSomething(""); - var message = "Hello from submodule"; - module.exports = message; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.7/output.txt b/test/comparison-tests/basic/expectedOutput-1.7/output.txt deleted file mode 100644 index bfa5f236b..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.85 kB 0 [emitted] main -chunk {0} bundle.js (main) 318 bytes [rendered] - [0] ./.test/basic/app.ts 128 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 135 bytes {0} [built] - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.7/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-1.7/patch0/bundle.js deleted file mode 100644 index cc2a38054..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.7/patch0/bundle.js +++ /dev/null @@ -1,71 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var submodule = __webpack_require__(1); - var externalLib = __webpack_require__(2); - externalLib.doSomething2(submodule); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var externalLib = __webpack_require__(2); - externalLib.doSomething(""); - var message = "Hello from submodule"; - module.exports = message; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.7/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-1.7/patch0/output.transpiled.txt deleted file mode 100644 index 65ec5c625..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 319 bytes [rendered] - [0] ./.test/basic/app.ts 129 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 135 bytes {0} - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.7/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-1.7/patch0/output.txt deleted file mode 100644 index 8958cb977..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.7/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 319 bytes [rendered] - [0] ./.test/basic/app.ts 129 bytes {0} [built] [1 error] - [1] ./.test/basic/submodule/submodule.ts 135 bytes {0} - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} - -ERROR in ./.test/basic/app.ts -(3,13): error TS2339: Property 'doSomething2' does not exist on type 'typeof externalLib'. \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.7/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-1.7/patch1/bundle.js deleted file mode 100644 index f7c4963b9..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.7/patch1/bundle.js +++ /dev/null @@ -1,71 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var submodule = __webpack_require__(1); - var externalLib = __webpack_require__(2); - externalLib.doSomething(submodule); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var externalLib = __webpack_require__(2); - externalLib.doSomething(""); - var message = "Hello from submodule"; - module.exports = message; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.7/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-1.7/patch1/output.txt deleted file mode 100644 index a4d66dbf8..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.7/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.85 kB 0 [emitted] main -chunk {0} bundle.js (main) 318 bytes [rendered] - [0] ./.test/basic/app.ts 128 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 135 bytes {0} - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.8/bundle.js b/test/comparison-tests/basic/expectedOutput-1.8/bundle.js deleted file mode 100644 index 28e82d2ab..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var submodule = __webpack_require__(1); - var externalLib = __webpack_require__(2); - externalLib.doSomething(submodule); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var externalLib = __webpack_require__(2); - externalLib.doSomething(""); - var message = "Hello from submodule"; - module.exports = message; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.8/output.txt b/test/comparison-tests/basic/expectedOutput-1.8/output.txt deleted file mode 100644 index 0506e94f6..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 346 bytes [rendered] - [0] ./.test/basic/app.ts 142 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} [built] - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.8/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-1.8/patch0/bundle.js deleted file mode 100644 index bf95c2e6a..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.8/patch0/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var submodule = __webpack_require__(1); - var externalLib = __webpack_require__(2); - externalLib.doSomething2(submodule); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var externalLib = __webpack_require__(2); - externalLib.doSomething(""); - var message = "Hello from submodule"; - module.exports = message; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.8/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-1.8/patch0/output.transpiled.txt deleted file mode 100644 index d8e7b226d..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 347 bytes [rendered] - [0] ./.test/basic/app.ts 143 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.8/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-1.8/patch0/output.txt deleted file mode 100644 index 7161fa22b..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.8/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 347 bytes [rendered] - [0] ./.test/basic/app.ts 143 bytes {0} [built] [1 error] - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} - -ERROR in ./.test/basic/app.ts -(3,13): error TS2339: Property 'doSomething2' does not exist on type 'typeof externalLib'. \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.8/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-1.8/patch1/bundle.js deleted file mode 100644 index 28e82d2ab..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.8/patch1/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var submodule = __webpack_require__(1); - var externalLib = __webpack_require__(2); - externalLib.doSomething(submodule); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var externalLib = __webpack_require__(2); - externalLib.doSomething(""); - var message = "Hello from submodule"; - module.exports = message; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-1.8/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-1.8/patch1/output.txt deleted file mode 100644 index dfbbaaee4..000000000 --- a/test/comparison-tests/basic/expectedOutput-1.8/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 346 bytes [rendered] - [0] ./.test/basic/app.ts 142 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.0/bundle.js b/test/comparison-tests/basic/expectedOutput-2.0/bundle.js deleted file mode 100644 index 28e82d2ab..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var submodule = __webpack_require__(1); - var externalLib = __webpack_require__(2); - externalLib.doSomething(submodule); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var externalLib = __webpack_require__(2); - externalLib.doSomething(""); - var message = "Hello from submodule"; - module.exports = message; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.0/output.txt b/test/comparison-tests/basic/expectedOutput-2.0/output.txt deleted file mode 100644 index 0506e94f6..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 346 bytes [rendered] - [0] ./.test/basic/app.ts 142 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} [built] - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.0/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-2.0/patch0/bundle.js deleted file mode 100644 index bf95c2e6a..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.0/patch0/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var submodule = __webpack_require__(1); - var externalLib = __webpack_require__(2); - externalLib.doSomething2(submodule); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var externalLib = __webpack_require__(2); - externalLib.doSomething(""); - var message = "Hello from submodule"; - module.exports = message; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.0/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.0/patch0/output.transpiled.txt deleted file mode 100644 index d8e7b226d..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 347 bytes [rendered] - [0] ./.test/basic/app.ts 143 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.0/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-2.0/patch0/output.txt deleted file mode 100644 index 7161fa22b..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.0/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 347 bytes [rendered] - [0] ./.test/basic/app.ts 143 bytes {0} [built] [1 error] - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} - -ERROR in ./.test/basic/app.ts -(3,13): error TS2339: Property 'doSomething2' does not exist on type 'typeof externalLib'. \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.0/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-2.0/patch1/bundle.js deleted file mode 100644 index 28e82d2ab..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.0/patch1/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var submodule = __webpack_require__(1); - var externalLib = __webpack_require__(2); - externalLib.doSomething(submodule); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var externalLib = __webpack_require__(2); - externalLib.doSomething(""); - var message = "Hello from submodule"; - module.exports = message; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.0/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-2.0/patch1/output.txt deleted file mode 100644 index dfbbaaee4..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.0/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 346 bytes [rendered] - [0] ./.test/basic/app.ts 142 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/lib/externalLib.js 55 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.1/bundle.js b/test/comparison-tests/basic/expectedOutput-2.1/bundle.js deleted file mode 100644 index bec82dc26..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var submodule = __webpack_require__(1); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.1/output.txt b/test/comparison-tests/basic/expectedOutput-2.1/output.txt deleted file mode 100644 index 03a0bca62..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3 kB 0 [emitted] main -chunk {0} bundle.js (main) 346 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} [built] - [2] ./.test/basic/app.ts 142 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.1/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-2.1/patch0/bundle.js deleted file mode 100644 index e9261ff68..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.1/patch0/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var submodule = __webpack_require__(1); -var externalLib = __webpack_require__(0); -externalLib.doSomething2(submodule); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.1/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.1/patch0/output.transpiled.txt deleted file mode 100644 index 1baa7ed9a..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3 kB 0 [emitted] main -chunk {0} bundle.js (main) 347 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/app.ts 143 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.1/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-2.1/patch0/output.txt deleted file mode 100644 index 9569c0b67..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.1/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3 kB 0 [emitted] main -chunk {0} bundle.js (main) 347 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/app.ts 143 bytes {0} [built] [1 error] - -ERROR in ./.test/basic/app.ts -(3,13): error TS2339: Property 'doSomething2' does not exist on type 'typeof externalLib'. \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.1/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-2.1/patch1/bundle.js deleted file mode 100644 index bec82dc26..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.1/patch1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var submodule = __webpack_require__(1); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.1/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-2.1/patch1/output.txt deleted file mode 100644 index 36df789cf..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.1/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3 kB 0 [emitted] main -chunk {0} bundle.js (main) 346 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/app.ts 142 bytes {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 deleted file mode 100644 index eb5a9ebf9..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(1); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.2/output.txt b/test/comparison-tests/basic/expectedOutput-2.2/output.txt deleted file mode 100644 index 64f9bdfe9..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.15 kB 0 [emitted] main -chunk {0} bundle.js (main) 373 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} [built] - [2] ./.test/basic/app.ts 169 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.2/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-2.2/patch0/bundle.js deleted file mode 100644 index 255f8fa5b..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.2/patch0/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(1); -var externalLib = __webpack_require__(0); -externalLib.doSomething2(submodule); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.2/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.2/patch0/output.transpiled.txt deleted file mode 100644 index 88f2dfebd..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.15 kB 0 [emitted] main -chunk {0} bundle.js (main) 374 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/app.ts 170 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.2/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-2.2/patch0/output.txt deleted file mode 100644 index cfdf1ee2a..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.2/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.15 kB 0 [emitted] main -chunk {0} bundle.js (main) 374 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/app.ts 170 bytes {0} [built] [1 error] - -ERROR in ./.test/basic/app.ts -(3,13): error TS2339: Property 'doSomething2' does not exist on type 'typeof externalLib'. \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.2/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-2.2/patch1/bundle.js deleted file mode 100644 index eb5a9ebf9..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.2/patch1/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(1); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.2/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-2.2/patch1/output.txt deleted file mode 100644 index bc0c40c5f..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.2/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.15 kB 0 [emitted] main -chunk {0} bundle.js (main) 373 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/app.ts 169 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.3/bundle.js b/test/comparison-tests/basic/expectedOutput-2.3/bundle.js deleted file mode 100644 index eb5a9ebf9..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(1); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.3/output.txt b/test/comparison-tests/basic/expectedOutput-2.3/output.txt deleted file mode 100644 index 64f9bdfe9..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.15 kB 0 [emitted] main -chunk {0} bundle.js (main) 373 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} [built] - [2] ./.test/basic/app.ts 169 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.3/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-2.3/patch0/bundle.js deleted file mode 100644 index 255f8fa5b..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.3/patch0/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(1); -var externalLib = __webpack_require__(0); -externalLib.doSomething2(submodule); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.3/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.3/patch0/output.transpiled.txt deleted file mode 100644 index 88f2dfebd..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.15 kB 0 [emitted] main -chunk {0} bundle.js (main) 374 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/app.ts 170 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.3/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-2.3/patch0/output.txt deleted file mode 100644 index cfdf1ee2a..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.3/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.15 kB 0 [emitted] main -chunk {0} bundle.js (main) 374 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/app.ts 170 bytes {0} [built] [1 error] - -ERROR in ./.test/basic/app.ts -(3,13): error TS2339: Property 'doSomething2' does not exist on type 'typeof externalLib'. \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.3/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-2.3/patch1/bundle.js deleted file mode 100644 index eb5a9ebf9..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.3/patch1/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(1); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.3/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-2.3/patch1/output.txt deleted file mode 100644 index bc0c40c5f..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.3/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.15 kB 0 [emitted] main -chunk {0} bundle.js (main) 373 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/app.ts 169 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.4/bundle.js b/test/comparison-tests/basic/expectedOutput-2.4/bundle.js deleted file mode 100644 index eb5a9ebf9..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(1); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.4/output.txt b/test/comparison-tests/basic/expectedOutput-2.4/output.txt deleted file mode 100644 index 64f9bdfe9..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.15 kB 0 [emitted] main -chunk {0} bundle.js (main) 373 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} [built] - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} [built] - [2] ./.test/basic/app.ts 169 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.4/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-2.4/patch0/bundle.js deleted file mode 100644 index 255f8fa5b..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.4/patch0/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(1); -var externalLib = __webpack_require__(0); -externalLib.doSomething2(submodule); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.4/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.4/patch0/output.transpiled.txt deleted file mode 100644 index 88f2dfebd..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.15 kB 0 [emitted] main -chunk {0} bundle.js (main) 374 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/app.ts 170 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.4/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-2.4/patch0/output.txt deleted file mode 100644 index 506b0cd0e..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.4/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.15 kB 0 [emitted] main -chunk {0} bundle.js (main) 374 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/app.ts 170 bytes {0} [built] [1 error] - -ERROR in ./.test/basic/app.ts -(3,13): error TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.4/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-2.4/patch1/bundle.js deleted file mode 100644 index eb5a9ebf9..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.4/patch1/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(1); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.4/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-2.4/patch1/output.txt deleted file mode 100644 index bc0c40c5f..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.4/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.15 kB 0 [emitted] main -chunk {0} bundle.js (main) 373 bytes [entry] [rendered] - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/submodule/submodule.ts 149 bytes {0} - [2] ./.test/basic/app.ts 169 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.5/bundle.js b/test/comparison-tests/basic/expectedOutput-2.5/bundle.js deleted file mode 100644 index 6024683a1..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(2); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.5/output.txt b/test/comparison-tests/basic/expectedOutput-2.5/output.txt deleted file mode 100644 index d9aa0aae1..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} [built] - [1] ./.test/basic/app.ts 169 bytes {0} [built] - [2] ./.test/basic/submodule/submodule.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.5/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-2.5/patch0/bundle.js deleted file mode 100644 index 0580fdcbb..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.5/patch0/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(2); -var externalLib = __webpack_require__(0); -externalLib.doSomething2(submodule); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.5/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.5/patch0/output.transpiled.txt deleted file mode 100644 index cd4c13bb3..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/app.ts 170 bytes {0} [built] - [2] ./.test/basic/submodule/submodule.ts 149 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.5/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-2.5/patch0/output.txt deleted file mode 100644 index ecb1c5698..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.5/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/app.ts 170 bytes {0} [built] [1 error] - [2] ./.test/basic/submodule/submodule.ts 149 bytes {0} - -ERROR in ./.test/basic/app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.5/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-2.5/patch1/bundle.js deleted file mode 100644 index 6024683a1..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.5/patch1/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(2); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.5/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-2.5/patch1/output.txt deleted file mode 100644 index 6de33c67e..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.5/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/app.ts 169 bytes {0} [built] - [2] ./.test/basic/submodule/submodule.ts 149 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.6/bundle.js b/test/comparison-tests/basic/expectedOutput-2.6/bundle.js deleted file mode 100644 index 6024683a1..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(2); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.6/output.txt b/test/comparison-tests/basic/expectedOutput-2.6/output.txt deleted file mode 100644 index d9aa0aae1..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} [built] - [1] ./.test/basic/app.ts 169 bytes {0} [built] - [2] ./.test/basic/submodule/submodule.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.6/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-2.6/patch0/bundle.js deleted file mode 100644 index 0580fdcbb..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.6/patch0/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(2); -var externalLib = __webpack_require__(0); -externalLib.doSomething2(submodule); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.6/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.6/patch0/output.transpiled.txt deleted file mode 100644 index cd4c13bb3..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.6/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/app.ts 170 bytes {0} [built] - [2] ./.test/basic/submodule/submodule.ts 149 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.6/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-2.6/patch0/output.txt deleted file mode 100644 index ecb1c5698..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.6/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/app.ts 170 bytes {0} [built] [1 error] - [2] ./.test/basic/submodule/submodule.ts 149 bytes {0} - -ERROR in ./.test/basic/app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.6/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-2.6/patch1/bundle.js deleted file mode 100644 index 6024683a1..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.6/patch1/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(2); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.6/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-2.6/patch1/output.txt deleted file mode 100644 index 6de33c67e..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.6/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/basic/lib/externalLib.js 55 bytes {0} - [1] ./.test/basic/app.ts 169 bytes {0} [built] - [2] ./.test/basic/submodule/submodule.ts 149 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.7/bundle.js b/test/comparison-tests/basic/expectedOutput-2.7/bundle.js deleted file mode 100644 index cd4249da3..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 6ce6696e6..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:15:52 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.7/output.txt b/test/comparison-tests/basic/expectedOutput-2.7/output.txt deleted file mode 100644 index 48f97cb85..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:15:46 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.7/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-2.7/patch0/bundle.js deleted file mode 100644 index 8fd50ab48..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.7/patch0/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.7/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.7/patch0/output.transpiled.txt deleted file mode 100644 index f9ce3d86b..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:15:55 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.7/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-2.7/patch0/output.txt deleted file mode 100644 index 90a589cdd..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.7/patch0/output.txt +++ /dev/null @@ -1,12 +0,0 @@ -Built at: 2018-3-18 09:15:49 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.7/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-2.7/patch1/bundle.js deleted file mode 100644 index cd4249da3..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.7/patch1/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.7/patch1/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.7/patch1/output.transpiled.txt deleted file mode 100644 index 7fed3c0c6..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.7/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:15:57 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.7/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-2.7/patch1/output.txt deleted file mode 100644 index 894cc792e..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.7/patch1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:15:51 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.8/bundle.js b/test/comparison-tests/basic/expectedOutput-2.8/bundle.js deleted file mode 100644 index cd4249da3..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 761579e13..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:40 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.8/output.txt b/test/comparison-tests/basic/expectedOutput-2.8/output.txt deleted file mode 100644 index 45f71eb54..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.8/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-2.8/patch0/bundle.js deleted file mode 100644 index 8fd50ab48..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.8/patch0/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.8/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.8/patch0/output.transpiled.txt deleted file mode 100644 index 20275e8d6..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.8/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-2.8/patch0/output.txt deleted file mode 100644 index cc4cb03f9..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.8/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.8/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-2.8/patch1/bundle.js deleted file mode 100644 index cd4249da3..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.8/patch1/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.8/patch1/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.8/patch1/output.transpiled.txt deleted file mode 100644 index e4a8b9fc4..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.8/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:45 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.8/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-2.8/patch1/output.txt deleted file mode 100644 index a900896de..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.8/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 761579e13..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:40 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.9/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.9/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.9/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.9/patch1/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-2.9/patch1/output.transpiled.txt deleted file mode 100644 index e4a8b9fc4..000000000 --- a/test/comparison-tests/basic/expectedOutput-2.9/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:45 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 761579e13..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:40 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.0/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.0/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.0/patch1/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.0/patch1/output.transpiled.txt deleted file mode 100644 index e4a8b9fc4..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.0/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:45 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.1/bundle.js b/test/comparison-tests/basic/expectedOutput-3.1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 761579e13..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:40 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.1/output.txt b/test/comparison-tests/basic/expectedOutput-3.1/output.txt deleted file mode 100644 index f33d2f14a..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.1/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-3.1/patch0/bundle.js deleted file mode 100644 index 69c4dcc59..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.1/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.1/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.1/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.1/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-3.1/patch0/output.txt deleted file mode 100644 index 9fac8da0d..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.1/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.1/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-3.1/patch1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.1/patch1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.1/patch1/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.1/patch1/output.transpiled.txt deleted file mode 100644 index e4a8b9fc4..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.1/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:45 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.1/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-3.1/patch1/output.txt deleted file mode 100644 index 1afd1cf5f..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.1/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.2/bundle.js b/test/comparison-tests/basic/expectedOutput-3.2/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 761579e13..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:40 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.2/output.txt b/test/comparison-tests/basic/expectedOutput-3.2/output.txt deleted file mode 100644 index f33d2f14a..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.2/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-3.2/patch0/bundle.js deleted file mode 100644 index 69c4dcc59..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.2/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.2/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.2/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.2/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-3.2/patch0/output.txt deleted file mode 100644 index 9fac8da0d..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.2/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.2/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-3.2/patch1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.2/patch1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.2/patch1/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.2/patch1/output.transpiled.txt deleted file mode 100644 index e4a8b9fc4..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.2/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:45 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.2/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-3.2/patch1/output.txt deleted file mode 100644 index 1afd1cf5f..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.2/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.3/bundle.js b/test/comparison-tests/basic/expectedOutput-3.3/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 761579e13..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:40 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.3/output.txt b/test/comparison-tests/basic/expectedOutput-3.3/output.txt deleted file mode 100644 index f33d2f14a..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.3/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-3.3/patch0/bundle.js deleted file mode 100644 index 69c4dcc59..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.3/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.3/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.3/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.3/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-3.3/patch0/output.txt deleted file mode 100644 index 9fac8da0d..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.3/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.3/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-3.3/patch1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.3/patch1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.3/patch1/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.3/patch1/output.transpiled.txt deleted file mode 100644 index e4a8b9fc4..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.3/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:45 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.3/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-3.3/patch1/output.txt deleted file mode 100644 index 1afd1cf5f..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.3/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.4/bundle.js b/test/comparison-tests/basic/expectedOutput-3.4/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 761579e13..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:40 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.4/output.txt b/test/comparison-tests/basic/expectedOutput-3.4/output.txt deleted file mode 100644 index f33d2f14a..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.4/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-3.4/patch0/bundle.js deleted file mode 100644 index 69c4dcc59..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.4/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.4/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.4/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.4/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-3.4/patch0/output.txt deleted file mode 100644 index 9fac8da0d..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.4/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.4/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-3.4/patch1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.4/patch1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.4/patch1/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.4/patch1/output.transpiled.txt deleted file mode 100644 index e4a8b9fc4..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.4/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:45 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.4/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-3.4/patch1/output.txt deleted file mode 100644 index 1afd1cf5f..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.4/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.5/bundle.js b/test/comparison-tests/basic/expectedOutput-3.5/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 761579e13..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:40 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.5/output.txt b/test/comparison-tests/basic/expectedOutput-3.5/output.txt deleted file mode 100644 index f33d2f14a..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.5/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-3.5/patch0/bundle.js deleted file mode 100644 index 69c4dcc59..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.5/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.5/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.5/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.5/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-3.5/patch0/output.txt deleted file mode 100644 index 9fac8da0d..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.5/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.5/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-3.5/patch1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.5/patch1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.5/patch1/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-3.5/patch1/output.transpiled.txt deleted file mode 100644 index e4a8b9fc4..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.5/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-4-7 18:31:45 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.5/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-3.5/patch1/output.txt deleted file mode 100644 index 1afd1cf5f..000000000 --- a/test/comparison-tests/basic/expectedOutput-3.5/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.9/bundle.js b/test/comparison-tests/basic/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/basic/expectedOutput-2.9/bundle.js rename to test/comparison-tests/basic/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/basic/expectedOutput-2.9/output.txt b/test/comparison-tests/basic/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/basic/expectedOutput-2.9/output.txt rename to test/comparison-tests/basic/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/basic/expectedOutput-2.9/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/basic/expectedOutput-2.9/patch0/bundle.js rename to test/comparison-tests/basic/expectedOutput-4.0/patch0/bundle.js diff --git a/test/comparison-tests/basic/expectedOutput-2.9/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/basic/expectedOutput-2.9/patch0/output.txt rename to test/comparison-tests/basic/expectedOutput-4.0/patch0/output.txt diff --git a/test/comparison-tests/basic/expectedOutput-2.9/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-4.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/basic/expectedOutput-2.9/patch1/bundle.js rename to test/comparison-tests/basic/expectedOutput-4.0/patch1/bundle.js diff --git a/test/comparison-tests/basic/expectedOutput-2.9/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-4.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/basic/expectedOutput-2.9/patch1/output.txt rename to test/comparison-tests/basic/expectedOutput-4.0/patch1/output.txt diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/basic/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..05355f590 --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/basic/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..77bfaf8ba --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.87 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} [built] +[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..8cc47b54f --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..82749e570 --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.87 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 206 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} +[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..05355f590 --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..1d7ef7e16 --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.87 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} +[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-1.6/1.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-1.6/1.bundle.js deleted file mode 100644 index d72f069fd..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-1.6/1.bundle.js +++ /dev/null @@ -1,19 +0,0 @@ -webpackJsonp([1],[ -/* 0 */, -/* 1 */, -/* 2 */, -/* 3 */ -/***/ function(module, exports) { - - module.exports = 'c'; - - -/***/ }, -/* 4 */ -/***/ function(module, exports) { - - module.exports = 'd'; - - -/***/ } -]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-1.6/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-1.6/bundle.js deleted file mode 100644 index d35b97c35..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,130 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, callbacks = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) -/******/ callbacks.push.apply(callbacks, installedChunks[chunkId]); -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules); -/******/ while(callbacks.length) -/******/ callbacks.shift().call(null, __webpack_require__); - -/******/ }; - -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // object to store loaded and loading chunks -/******/ // "0" means "already loaded" -/******/ // Array means "loading", array contains callbacks -/******/ var installedChunks = { -/******/ 0:0 -/******/ }; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId, callback) { -/******/ // "0" is the signal for "already loaded" -/******/ if(installedChunks[chunkId] === 0) -/******/ return callback.call(null, __webpack_require__); - -/******/ // an array means "currently loading". -/******/ if(installedChunks[chunkId] !== undefined) { -/******/ installedChunks[chunkId].push(callback); -/******/ } else { -/******/ // start chunk loading -/******/ installedChunks[chunkId] = [callback]; -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; - -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ head.appendChild(script); -/******/ } -/******/ }; - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var a = __webpack_require__(1); - var b = __webpack_require__(2); - console.log(a); - console.log(b); - __webpack_require__.e/* nsure */(1, function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... require` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - var cModule = __webpack_require__(3); - var dModule = __webpack_require__(4); - // cModule and dModule will typed as strings - console.log(cModule); - console.log(dModule); - }); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'a'; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = 'b'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-1.6/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-1.6/output.txt deleted file mode 100644 index cb562a614..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.32 kB 0 [emitted] main -1.bundle.js 202 bytes 1 [emitted] -chunk {0} bundle.js (main) 592 bytes [rendered] - [0] ./.test/codeSplitting/app.ts 548 bytes {0} [built] - [1] ./.test/codeSplitting/a.ts 22 bytes {0} [built] - [2] ./.test/codeSplitting/b.ts 22 bytes {0} [built] -chunk {1} 1.bundle.js 44 bytes {0} [rendered] - [3] ./.test/codeSplitting/c.ts 22 bytes {1} [built] - [4] ./.test/codeSplitting/d.ts 22 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-1.7/1.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-1.7/1.bundle.js deleted file mode 100644 index d72f069fd..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-1.7/1.bundle.js +++ /dev/null @@ -1,19 +0,0 @@ -webpackJsonp([1],[ -/* 0 */, -/* 1 */, -/* 2 */, -/* 3 */ -/***/ function(module, exports) { - - module.exports = 'c'; - - -/***/ }, -/* 4 */ -/***/ function(module, exports) { - - module.exports = 'd'; - - -/***/ } -]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-1.7/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-1.7/bundle.js deleted file mode 100644 index d35b97c35..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,130 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, callbacks = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) -/******/ callbacks.push.apply(callbacks, installedChunks[chunkId]); -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules); -/******/ while(callbacks.length) -/******/ callbacks.shift().call(null, __webpack_require__); - -/******/ }; - -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // object to store loaded and loading chunks -/******/ // "0" means "already loaded" -/******/ // Array means "loading", array contains callbacks -/******/ var installedChunks = { -/******/ 0:0 -/******/ }; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId, callback) { -/******/ // "0" is the signal for "already loaded" -/******/ if(installedChunks[chunkId] === 0) -/******/ return callback.call(null, __webpack_require__); - -/******/ // an array means "currently loading". -/******/ if(installedChunks[chunkId] !== undefined) { -/******/ installedChunks[chunkId].push(callback); -/******/ } else { -/******/ // start chunk loading -/******/ installedChunks[chunkId] = [callback]; -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; - -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ head.appendChild(script); -/******/ } -/******/ }; - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var a = __webpack_require__(1); - var b = __webpack_require__(2); - console.log(a); - console.log(b); - __webpack_require__.e/* nsure */(1, function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... require` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - var cModule = __webpack_require__(3); - var dModule = __webpack_require__(4); - // cModule and dModule will typed as strings - console.log(cModule); - console.log(dModule); - }); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'a'; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = 'b'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-1.7/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-1.7/output.txt deleted file mode 100644 index cb562a614..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.32 kB 0 [emitted] main -1.bundle.js 202 bytes 1 [emitted] -chunk {0} bundle.js (main) 592 bytes [rendered] - [0] ./.test/codeSplitting/app.ts 548 bytes {0} [built] - [1] ./.test/codeSplitting/a.ts 22 bytes {0} [built] - [2] ./.test/codeSplitting/b.ts 22 bytes {0} [built] -chunk {1} 1.bundle.js 44 bytes {0} [rendered] - [3] ./.test/codeSplitting/c.ts 22 bytes {1} [built] - [4] ./.test/codeSplitting/d.ts 22 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-1.8/1.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-1.8/1.bundle.js deleted file mode 100644 index 612797ff7..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-1.8/1.bundle.js +++ /dev/null @@ -1,21 +0,0 @@ -webpackJsonp([1],[ -/* 0 */, -/* 1 */, -/* 2 */, -/* 3 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'c'; - - -/***/ }, -/* 4 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'd'; - - -/***/ } -]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-1.8/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-1.8/bundle.js deleted file mode 100644 index 25d65137c..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,133 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, callbacks = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) -/******/ callbacks.push.apply(callbacks, installedChunks[chunkId]); -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules); -/******/ while(callbacks.length) -/******/ callbacks.shift().call(null, __webpack_require__); - -/******/ }; - -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // object to store loaded and loading chunks -/******/ // "0" means "already loaded" -/******/ // Array means "loading", array contains callbacks -/******/ var installedChunks = { -/******/ 0:0 -/******/ }; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId, callback) { -/******/ // "0" is the signal for "already loaded" -/******/ if(installedChunks[chunkId] === 0) -/******/ return callback.call(null, __webpack_require__); - -/******/ // an array means "currently loading". -/******/ if(installedChunks[chunkId] !== undefined) { -/******/ installedChunks[chunkId].push(callback); -/******/ } else { -/******/ // start chunk loading -/******/ installedChunks[chunkId] = [callback]; -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; - -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ head.appendChild(script); -/******/ } -/******/ }; - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var a = __webpack_require__(1); - var b = __webpack_require__(2); - console.log(a); - console.log(b); - __webpack_require__.e/* nsure */(1, function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... require` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - var cModule = __webpack_require__(3); - var dModule = __webpack_require__(4); - // cModule and dModule will typed as strings - console.log(cModule); - console.log(dModule); - }); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'a'; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'b'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-1.8/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-1.8/output.txt deleted file mode 100644 index 56ab0971f..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.36 kB 0 [emitted] main -1.bundle.js 232 bytes 1 [emitted] -chunk {0} bundle.js (main) 634 bytes [rendered] - [0] ./.test/codeSplitting/app.ts 562 bytes {0} [built] - [1] ./.test/codeSplitting/a.ts 36 bytes {0} [built] - [2] ./.test/codeSplitting/b.ts 36 bytes {0} [built] -chunk {1} 1.bundle.js 72 bytes {0} [rendered] - [3] ./.test/codeSplitting/c.ts 36 bytes {1} [built] - [4] ./.test/codeSplitting/d.ts 36 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.0/1.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.0/1.bundle.js deleted file mode 100644 index 612797ff7..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.0/1.bundle.js +++ /dev/null @@ -1,21 +0,0 @@ -webpackJsonp([1],[ -/* 0 */, -/* 1 */, -/* 2 */, -/* 3 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'c'; - - -/***/ }, -/* 4 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'd'; - - -/***/ } -]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.0/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.0/bundle.js deleted file mode 100644 index 25d65137c..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,133 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, callbacks = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) -/******/ callbacks.push.apply(callbacks, installedChunks[chunkId]); -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules); -/******/ while(callbacks.length) -/******/ callbacks.shift().call(null, __webpack_require__); - -/******/ }; - -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // object to store loaded and loading chunks -/******/ // "0" means "already loaded" -/******/ // Array means "loading", array contains callbacks -/******/ var installedChunks = { -/******/ 0:0 -/******/ }; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId, callback) { -/******/ // "0" is the signal for "already loaded" -/******/ if(installedChunks[chunkId] === 0) -/******/ return callback.call(null, __webpack_require__); - -/******/ // an array means "currently loading". -/******/ if(installedChunks[chunkId] !== undefined) { -/******/ installedChunks[chunkId].push(callback); -/******/ } else { -/******/ // start chunk loading -/******/ installedChunks[chunkId] = [callback]; -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; - -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ head.appendChild(script); -/******/ } -/******/ }; - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var a = __webpack_require__(1); - var b = __webpack_require__(2); - console.log(a); - console.log(b); - __webpack_require__.e/* nsure */(1, function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... require` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - var cModule = __webpack_require__(3); - var dModule = __webpack_require__(4); - // cModule and dModule will typed as strings - console.log(cModule); - console.log(dModule); - }); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'a'; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'b'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.0/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-2.0/output.txt deleted file mode 100644 index 56ab0971f..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.36 kB 0 [emitted] main -1.bundle.js 232 bytes 1 [emitted] -chunk {0} bundle.js (main) 634 bytes [rendered] - [0] ./.test/codeSplitting/app.ts 562 bytes {0} [built] - [1] ./.test/codeSplitting/a.ts 36 bytes {0} [built] - [2] ./.test/codeSplitting/b.ts 36 bytes {0} [built] -chunk {1} 1.bundle.js 72 bytes {0} [rendered] - [3] ./.test/codeSplitting/c.ts 36 bytes {1} [built] - [4] ./.test/codeSplitting/d.ts 36 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.1/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.1/0.bundle.js deleted file mode 100644 index 2694b6c6d..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.1/0.bundle.js +++ /dev/null @@ -1,20 +0,0 @@ -webpackJsonp([0],[ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'c'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'd'; - - -/***/ }) -]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.1/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.1/bundle.js deleted file mode 100644 index fbe500c9c..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,187 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) -/******/ resolves.shift()(); - -/******/ }; - -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 1: 0 -/******/ }; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ if(installedChunks[chunkId] === 0) -/******/ return Promise.resolve(); - -/******/ // an Promise means "currently loading". -/******/ if(installedChunks[chunkId]) { -/******/ return installedChunks[chunkId][2]; -/******/ } -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; - -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; - -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunks[chunkId][2] = promise; - -/******/ head.appendChild(script); -/******/ return promise; -/******/ }; - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 4); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'a'; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'b'; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var a = __webpack_require__(2); -var b = __webpack_require__(3); -console.log(a); -console.log(b); -__webpack_require__.e/* require.ensure */(0).then((function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... require` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - var cModule = __webpack_require__(0); - var dModule = __webpack_require__(1); - // cModule and dModule will typed as strings - console.log(cModule); - console.log(dModule); -}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.1/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-2.1/output.txt deleted file mode 100644 index 861cd5ba2..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -0.bundle.js 249 bytes 0 [emitted] - bundle.js 6.46 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] -chunk {1} bundle.js (main) 634 bytes [entry] [rendered] - [2] ./.test/codeSplitting/a.ts 36 bytes {1} [built] - [3] ./.test/codeSplitting/b.ts 36 bytes {1} [built] - [4] ./.test/codeSplitting/app.ts 562 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.2/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.2/0.bundle.js deleted file mode 100644 index 2694b6c6d..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.2/0.bundle.js +++ /dev/null @@ -1,20 +0,0 @@ -webpackJsonp([0],[ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'c'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'd'; - - -/***/ }) -]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.2/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.2/bundle.js deleted file mode 100644 index 7c4ad8f3c..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,195 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 1: 0 -/******/ }; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ if(installedChunks[chunkId] === 0) { -/******/ return Promise.resolve(); -/******/ } -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunks[chunkId]) { -/******/ return installedChunks[chunkId][2]; -/******/ } -/******/ -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunks[chunkId][2] = promise; -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ -/******/ return promise; -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 4); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'a'; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'b'; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(2); -var b = __webpack_require__(3); -console.log(a); -console.log(b); -__webpack_require__.e/* require.ensure */(0).then((function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... require` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - var cModule = __webpack_require__(0); - var dModule = __webpack_require__(1); - // cModule and dModule will typed as strings - console.log(cModule); - console.log(dModule); -}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.2/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-2.2/output.txt deleted file mode 100644 index 6e881db0a..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -0.bundle.js 249 bytes 0 [emitted] - 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] -chunk {1} bundle.js (main) 661 bytes [entry] [rendered] - [2] ./.test/codeSplitting/a.ts 36 bytes {1} [built] - [3] ./.test/codeSplitting/b.ts 36 bytes {1} [built] - [4] ./.test/codeSplitting/app.ts 589 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.3/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.3/0.bundle.js deleted file mode 100644 index 2694b6c6d..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.3/0.bundle.js +++ /dev/null @@ -1,20 +0,0 @@ -webpackJsonp([0],[ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'c'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'd'; - - -/***/ }) -]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.3/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.3/bundle.js deleted file mode 100644 index f360c43f2..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,196 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 1: 0 -/******/ }; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData === 0) { -/******/ return new Promise(function(resolve) { resolve(); }); -/******/ } -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ return installedChunkData[2]; -/******/ } -/******/ -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunkData[2] = promise; -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ -/******/ return promise; -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 4); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'a'; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'b'; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(2); -var b = __webpack_require__(3); -console.log(a); -console.log(b); -__webpack_require__.e/* require.ensure */(0).then((function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... require` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - var cModule = __webpack_require__(0); - var dModule = __webpack_require__(1); - // cModule and dModule will typed as strings - console.log(cModule); - console.log(dModule); -}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.3/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-2.3/output.txt deleted file mode 100644 index e202b2c97..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -0.bundle.js 249 bytes 0 [emitted] - bundle.js 6.89 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] -chunk {1} bundle.js (main) 661 bytes [entry] [rendered] - [2] ./.test/codeSplitting/a.ts 36 bytes {1} [built] - [3] ./.test/codeSplitting/b.ts 36 bytes {1} [built] - [4] ./.test/codeSplitting/app.ts 589 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.4/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.4/0.bundle.js deleted file mode 100644 index 2694b6c6d..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.4/0.bundle.js +++ /dev/null @@ -1,20 +0,0 @@ -webpackJsonp([0],[ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'c'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'd'; - - -/***/ }) -]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.4/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.4/bundle.js deleted file mode 100644 index f360c43f2..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,196 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 1: 0 -/******/ }; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData === 0) { -/******/ return new Promise(function(resolve) { resolve(); }); -/******/ } -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ return installedChunkData[2]; -/******/ } -/******/ -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunkData[2] = promise; -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ -/******/ return promise; -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 4); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'a'; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'b'; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(2); -var b = __webpack_require__(3); -console.log(a); -console.log(b); -__webpack_require__.e/* require.ensure */(0).then((function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... require` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - var cModule = __webpack_require__(0); - var dModule = __webpack_require__(1); - // cModule and dModule will typed as strings - console.log(cModule); - console.log(dModule); -}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.4/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-2.4/output.txt deleted file mode 100644 index e202b2c97..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -0.bundle.js 249 bytes 0 [emitted] - bundle.js 6.89 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] -chunk {1} bundle.js (main) 661 bytes [entry] [rendered] - [2] ./.test/codeSplitting/a.ts 36 bytes {1} [built] - [3] ./.test/codeSplitting/b.ts 36 bytes {1} [built] - [4] ./.test/codeSplitting/app.ts 589 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.5/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.5/0.bundle.js deleted file mode 100644 index 2694b6c6d..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.5/0.bundle.js +++ /dev/null @@ -1,20 +0,0 @@ -webpackJsonp([0],[ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'c'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'd'; - - -/***/ }) -]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.5/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.5/bundle.js deleted file mode 100644 index 8bbba4323..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,193 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 1: 0 -/******/ }; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData === 0) { -/******/ return new Promise(function(resolve) { resolve(); }); -/******/ } -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ return installedChunkData[2]; -/******/ } -/******/ -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunkData[2] = promise; -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ -/******/ return promise; -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(3); -var b = __webpack_require__(4); -console.log(a); -console.log(b); -__webpack_require__.e/* require.ensure */(0).then((function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... require` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - var cModule = __webpack_require__(0); - var dModule = __webpack_require__(1); - // cModule and dModule will typed as strings - console.log(cModule); - console.log(dModule); -}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); - - -/***/ }), -/* 3 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'a'; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'b'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.5/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-2.5/output.txt deleted file mode 100644 index 7eef3e231..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -0.bundle.js 249 bytes 0 [emitted] - bundle.js 6.73 kB 1 [emitted] main - [0] ./.test/codeSplitting/c.ts 36 bytes {0} [built] - [1] ./.test/codeSplitting/d.ts 36 bytes {0} [built] - [2] ./.test/codeSplitting/app.ts 589 bytes {1} [built] - [3] ./.test/codeSplitting/a.ts 36 bytes {1} [built] - [4] ./.test/codeSplitting/b.ts 36 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.6/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.6/0.bundle.js deleted file mode 100644 index 2694b6c6d..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.6/0.bundle.js +++ /dev/null @@ -1,20 +0,0 @@ -webpackJsonp([0],[ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'c'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'd'; - - -/***/ }) -]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.6/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.6/bundle.js deleted file mode 100644 index 8bbba4323..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,193 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 1: 0 -/******/ }; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData === 0) { -/******/ return new Promise(function(resolve) { resolve(); }); -/******/ } -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ return installedChunkData[2]; -/******/ } -/******/ -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunkData[2] = promise; -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ -/******/ return promise; -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(3); -var b = __webpack_require__(4); -console.log(a); -console.log(b); -__webpack_require__.e/* require.ensure */(0).then((function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... require` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - var cModule = __webpack_require__(0); - var dModule = __webpack_require__(1); - // cModule and dModule will typed as strings - console.log(cModule); - console.log(dModule); -}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); - - -/***/ }), -/* 3 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'a'; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'b'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.6/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-2.6/output.txt deleted file mode 100644 index 7eef3e231..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -0.bundle.js 249 bytes 0 [emitted] - bundle.js 6.73 kB 1 [emitted] main - [0] ./.test/codeSplitting/c.ts 36 bytes {0} [built] - [1] ./.test/codeSplitting/d.ts 36 bytes {0} [built] - [2] ./.test/codeSplitting/app.ts 589 bytes {1} [built] - [3] ./.test/codeSplitting/a.ts 36 bytes {1} [built] - [4] ./.test/codeSplitting/b.ts 36 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.7/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.7/bundle.js deleted file mode 100644 index 7a214e281..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,213 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1] -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete(event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.7/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-2.7/output.txt deleted file mode 100644 index a50efe9cd..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-3-18 09:16:04 - Asset Size Chunks Chunk Names - bundle.js 8.13 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.8/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.8/bundle.js deleted file mode 100644 index 210e29bea..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,213 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete(event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/codeSplitting/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index bdd359918..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-4-7 18:31:52 - Asset Size Chunks Chunk Names - bundle.js 8.12 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.8/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-2.8/output.txt deleted file mode 100644 index 92a3d1fec..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 8.12 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.9/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.9/0.bundle.js deleted file mode 100644 index 12682a0b5..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.9/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.9/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.9/bundle.js deleted file mode 100644 index c91e505b3..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,236 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/codeSplitting/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index bdd359918..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-4-7 18:31:52 - Asset Size Chunks Chunk Names - bundle.js 8.12 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.9/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-2.9/output.txt deleted file mode 100644 index 39ed1223c..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.39 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.0/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-3.0/0.bundle.js deleted file mode 100644 index 12682a0b5..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.0/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.0/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-3.0/bundle.js deleted file mode 100644 index 3ab91ca5a..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,238 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/codeSplitting/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index bdd359918..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-4-7 18:31:52 - Asset Size Chunks Chunk Names - bundle.js 8.12 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.0/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-3.0/output.txt deleted file mode 100644 index 6c34eca79..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.41 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.1/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-3.1/0.bundle.js deleted file mode 100644 index 12682a0b5..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.1/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.1/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-3.1/bundle.js deleted file mode 100644 index 3ab91ca5a..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,238 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/codeSplitting/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index bdd359918..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-4-7 18:31:52 - Asset Size Chunks Chunk Names - bundle.js 8.12 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.1/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-3.1/output.txt deleted file mode 100644 index 6c34eca79..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.41 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.2/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-3.2/0.bundle.js deleted file mode 100644 index 12682a0b5..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.2/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.2/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-3.2/bundle.js deleted file mode 100644 index 3ab91ca5a..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,238 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/codeSplitting/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index bdd359918..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-4-7 18:31:52 - Asset Size Chunks Chunk Names - bundle.js 8.12 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.2/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-3.2/output.txt deleted file mode 100644 index 6c34eca79..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.41 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.3/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-3.3/0.bundle.js deleted file mode 100644 index 12682a0b5..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.3/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.3/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-3.3/bundle.js deleted file mode 100644 index 3ab91ca5a..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,238 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/codeSplitting/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index bdd359918..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-4-7 18:31:52 - Asset Size Chunks Chunk Names - bundle.js 8.12 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.3/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-3.3/output.txt deleted file mode 100644 index 6c34eca79..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.41 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.4/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-3.4/0.bundle.js deleted file mode 100644 index 12682a0b5..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.4/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.4/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-3.4/bundle.js deleted file mode 100644 index 3ab91ca5a..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,238 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/codeSplitting/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index bdd359918..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-4-7 18:31:52 - Asset Size Chunks Chunk Names - bundle.js 8.12 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.4/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-3.4/output.txt deleted file mode 100644 index 6c34eca79..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.41 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.5/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-3.5/0.bundle.js deleted file mode 100644 index 12682a0b5..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.5/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.5/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-3.5/bundle.js deleted file mode 100644 index 3ab91ca5a..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,238 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/codeSplitting/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index bdd359918..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-4-7 18:31:52 - Asset Size Chunks Chunk Names - bundle.js 8.12 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.5/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-3.5/output.txt deleted file mode 100644 index 6c34eca79..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.41 KiB main [emitted] main -0.bundle.js 592 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 36 bytes {main} [built] -[./app.ts] 589 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./c.ts] 36 bytes {0} [built] -[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.7/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-4.0/0.bundle.js similarity index 100% rename from test/comparison-tests/codeSplitting/expectedOutput-2.7/0.bundle.js rename to test/comparison-tests/codeSplitting/expectedOutput-4.0/0.bundle.js diff --git a/test/comparison-tests/codeSplitting/expectedOutput-4.0/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..fdd55dcd7 --- /dev/null +++ b/test/comparison-tests/codeSplitting/expectedOutput-4.0/bundle.js @@ -0,0 +1,240 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // install a JSONP callback for chunk loading +/******/ function webpackJsonpCallback(data) { +/******/ var chunkIds = data[0]; +/******/ var moreModules = data[1]; +/******/ +/******/ +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0, resolves = []; +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ resolves.push(installedChunks[chunkId][0]); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ for(moduleId in moreModules) { +/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { +/******/ modules[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(parentJsonpFunction) parentJsonpFunction(data); +/******/ +/******/ while(resolves.length) { +/******/ resolves.shift()(); +/******/ } +/******/ +/******/ }; +/******/ +/******/ +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // Promise = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "main": 0 +/******/ }; +/******/ +/******/ +/******/ +/******/ // script path function +/******/ function jsonpScriptSrc(chunkId) { +/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" +/******/ } +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = function requireEnsure(chunkId) { +/******/ var promises = []; +/******/ +/******/ +/******/ // JSONP chunk loading for javascript +/******/ +/******/ var installedChunkData = installedChunks[chunkId]; +/******/ if(installedChunkData !== 0) { // 0 means "already installed". +/******/ +/******/ // a Promise means "currently loading". +/******/ if(installedChunkData) { +/******/ promises.push(installedChunkData[2]); +/******/ } else { +/******/ // setup Promise in chunk cache +/******/ var promise = new Promise(function(resolve, reject) { +/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; +/******/ }); +/******/ promises.push(installedChunkData[2] = promise); +/******/ +/******/ // start chunk loading +/******/ var script = document.createElement('script'); +/******/ var onScriptComplete; +/******/ +/******/ script.charset = 'utf-8'; +/******/ script.timeout = 120; +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ script.src = jsonpScriptSrc(chunkId); +/******/ +/******/ // create error before stack unwound to get useful stacktrace later +/******/ var error = new Error(); +/******/ onScriptComplete = function (event) { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var chunk = installedChunks[chunkId]; +/******/ if(chunk !== 0) { +/******/ if(chunk) { +/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ var realSrc = event && event.target && event.target.src; +/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; +/******/ error.name = 'ChunkLoadError'; +/******/ error.type = errorType; +/******/ error.request = realSrc; +/******/ chunk[1](error); +/******/ } +/******/ installedChunks[chunkId] = undefined; +/******/ } +/******/ }; +/******/ var timeout = setTimeout(function(){ +/******/ onScriptComplete({ type: 'timeout', target: script }); +/******/ }, 120000); +/******/ script.onerror = script.onload = onScriptComplete; +/******/ document.head.appendChild(script); +/******/ } +/******/ } +/******/ return Promise.all(promises); +/******/ }; +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // on error function for async loading +/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; +/******/ +/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; +/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); +/******/ jsonpArray.push = webpackJsonpCallback; +/******/ jsonpArray = jsonpArray.slice(); +/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); +/******/ var parentJsonpFunction = oldJsonpFunction; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./b.ts": +/*!**************!*\ + !*** ./b.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-4.0/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..c7bac7cb8 --- /dev/null +++ b/test/comparison-tests/codeSplitting/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +0.bundle.js 592 bytes 0 [emitted] + bundle.js 9.57 KiB main [emitted] main +Entrypoint main = bundle.js +[./a.ts] 36 bytes {main} [built] +[./app.ts] 589 bytes {main} [built] +[./b.ts] 36 bytes {main} [built] +[./c.ts] 36 bytes {0} [built] +[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.8/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.0/0.bundle.js similarity index 100% rename from test/comparison-tests/codeSplitting/expectedOutput-2.8/0.bundle.js rename to test/comparison-tests/codeSplitting/expectedOutput-transpile-4.0/0.bundle.js diff --git a/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..8b98434a9 --- /dev/null +++ b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,240 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // install a JSONP callback for chunk loading +/******/ function webpackJsonpCallback(data) { +/******/ var chunkIds = data[0]; +/******/ var moreModules = data[1]; +/******/ +/******/ +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0, resolves = []; +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ resolves.push(installedChunks[chunkId][0]); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ for(moduleId in moreModules) { +/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { +/******/ modules[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(parentJsonpFunction) parentJsonpFunction(data); +/******/ +/******/ while(resolves.length) { +/******/ resolves.shift()(); +/******/ } +/******/ +/******/ }; +/******/ +/******/ +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // Promise = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "main": 0 +/******/ }; +/******/ +/******/ +/******/ +/******/ // script path function +/******/ function jsonpScriptSrc(chunkId) { +/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" +/******/ } +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = function requireEnsure(chunkId) { +/******/ var promises = []; +/******/ +/******/ +/******/ // JSONP chunk loading for javascript +/******/ +/******/ var installedChunkData = installedChunks[chunkId]; +/******/ if(installedChunkData !== 0) { // 0 means "already installed". +/******/ +/******/ // a Promise means "currently loading". +/******/ if(installedChunkData) { +/******/ promises.push(installedChunkData[2]); +/******/ } else { +/******/ // setup Promise in chunk cache +/******/ var promise = new Promise(function(resolve, reject) { +/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; +/******/ }); +/******/ promises.push(installedChunkData[2] = promise); +/******/ +/******/ // start chunk loading +/******/ var script = document.createElement('script'); +/******/ var onScriptComplete; +/******/ +/******/ script.charset = 'utf-8'; +/******/ script.timeout = 120; +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ script.src = jsonpScriptSrc(chunkId); +/******/ +/******/ // create error before stack unwound to get useful stacktrace later +/******/ var error = new Error(); +/******/ onScriptComplete = function (event) { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var chunk = installedChunks[chunkId]; +/******/ if(chunk !== 0) { +/******/ if(chunk) { +/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ var realSrc = event && event.target && event.target.src; +/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; +/******/ error.name = 'ChunkLoadError'; +/******/ error.type = errorType; +/******/ error.request = realSrc; +/******/ chunk[1](error); +/******/ } +/******/ installedChunks[chunkId] = undefined; +/******/ } +/******/ }; +/******/ var timeout = setTimeout(function(){ +/******/ onScriptComplete({ type: 'timeout', target: script }); +/******/ }, 120000); +/******/ script.onerror = script.onload = onScriptComplete; +/******/ document.head.appendChild(script); +/******/ } +/******/ } +/******/ return Promise.all(promises); +/******/ }; +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // on error function for async loading +/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; +/******/ +/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; +/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); +/******/ jsonpArray.push = webpackJsonpCallback; +/******/ jsonpArray = jsonpArray.slice(); +/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); +/******/ var parentJsonpFunction = oldJsonpFunction; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./b.ts": +/*!**************!*\ + !*** ./b.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..010fd9d25 --- /dev/null +++ b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +0.bundle.js 592 bytes 0 [emitted] + bundle.js 9.61 KiB main [emitted] main +Entrypoint main = bundle.js +[./a.ts] 36 bytes {main} [built] +[./app.ts] 625 bytes {main} [built] +[./b.ts] 36 bytes {main} [built] +[./c.ts] 36 bytes {0} [built] +[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-2.5/bundle.js b/test/comparison-tests/colors/expectedOutput-2.5/bundle.js deleted file mode 100644 index a71840cae..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module parse failed: 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/colors/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/colors/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index 272509aac..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.62 kB 0 [emitted] main - [0] ./.test/colors/app.ts 147 bytes {0} [built] [failed] [2 errors] - -ERROR in ./.test/colors/app.ts -Module parse failed: Unexpected token (1:9) -You may need an appropriate loader to handle this file type. -| var a = == 0; -| - -ERROR in ./.test/colors/app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: '=' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-2.5/output.txt b/test/comparison-tests/colors/expectedOutput-2.5/output.txt deleted file mode 100644 index 6f37903e4..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.62 kB 0 [emitted] main - [0] ./.test/colors/app.ts 147 bytes {0} [built] [failed] [2 errors] - -ERROR in ./.test/colors/app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: '=' expected. - -ERROR in ./.test/colors/app.ts -Module parse failed: Unexpected token (1:9) -You may need an appropriate loader to handle this file type. -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-2.6/bundle.js b/test/comparison-tests/colors/expectedOutput-2.6/bundle.js deleted file mode 100644 index a71840cae..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module parse failed: 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/colors/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/colors/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index 272509aac..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.62 kB 0 [emitted] main - [0] ./.test/colors/app.ts 147 bytes {0} [built] [failed] [2 errors] - -ERROR in ./.test/colors/app.ts -Module parse failed: Unexpected token (1:9) -You may need an appropriate loader to handle this file type. -| var a = == 0; -| - -ERROR in ./.test/colors/app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: '=' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-2.6/output.txt b/test/comparison-tests/colors/expectedOutput-2.6/output.txt deleted file mode 100644 index 6f37903e4..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.62 kB 0 [emitted] main - [0] ./.test/colors/app.ts 147 bytes {0} [built] [failed] [2 errors] - -ERROR in ./.test/colors/app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: '=' expected. - -ERROR in ./.test/colors/app.ts -Module parse failed: Unexpected token (1:9) -You may need an appropriate loader to handle this file type. -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-2.7/bundle.js b/test/comparison-tests/colors/expectedOutput-2.7/bundle.js deleted file mode 100644 index e718a4fd3..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n| == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-2.7/output.txt b/test/comparison-tests/colors/expectedOutput-2.7/output.txt deleted file mode 100644 index 668f6a931..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,17 +0,0 @@ -Built at: 2018-3-18 09:16:10 - Asset Size Chunks Chunk Names -bundle.js 2.92 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -| == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-2.8/bundle.js b/test/comparison-tests/colors/expectedOutput-2.8/bundle.js deleted file mode 100644 index e718a4fd3..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n| == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/colors/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 2e02e269b..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,17 +0,0 @@ -Built at: 2018-4-7 18:31:57 - Asset Size Chunks Chunk Names -bundle.js 2.92 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -| == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-2.8/output.txt b/test/comparison-tests/colors/expectedOutput-2.8/output.txt deleted file mode 100644 index 44fd4685e..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.92 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -| == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-2.9/bundle.js b/test/comparison-tests/colors/expectedOutput-2.9/bundle.js deleted file mode 100644 index c785cd383..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n| == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/colors/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 2e02e269b..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,17 +0,0 @@ -Built at: 2018-4-7 18:31:57 - Asset Size Chunks Chunk Names -bundle.js 2.92 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -| == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-2.9/output.txt b/test/comparison-tests/colors/expectedOutput-2.9/output.txt deleted file mode 100644 index 85b2396b9..000000000 --- a/test/comparison-tests/colors/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -| == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-3.0/bundle.js b/test/comparison-tests/colors/expectedOutput-3.0/bundle.js deleted file mode 100644 index 2a238bb51..000000000 --- a/test/comparison-tests/colors/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-3.0/output.txt b/test/comparison-tests/colors/expectedOutput-3.0/output.txt deleted file mode 100644 index c4b5904e2..000000000 --- a/test/comparison-tests/colors/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-3.1/bundle.js b/test/comparison-tests/colors/expectedOutput-3.1/bundle.js deleted file mode 100644 index 2a238bb51..000000000 --- a/test/comparison-tests/colors/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-3.1/output.txt b/test/comparison-tests/colors/expectedOutput-3.1/output.txt deleted file mode 100644 index c4b5904e2..000000000 --- a/test/comparison-tests/colors/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-3.2/bundle.js b/test/comparison-tests/colors/expectedOutput-3.2/bundle.js deleted file mode 100644 index 2a238bb51..000000000 --- a/test/comparison-tests/colors/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-3.2/output.txt b/test/comparison-tests/colors/expectedOutput-3.2/output.txt deleted file mode 100644 index c4b5904e2..000000000 --- a/test/comparison-tests/colors/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-3.3/bundle.js b/test/comparison-tests/colors/expectedOutput-3.3/bundle.js deleted file mode 100644 index 2a238bb51..000000000 --- a/test/comparison-tests/colors/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-3.3/output.txt b/test/comparison-tests/colors/expectedOutput-3.3/output.txt deleted file mode 100644 index c4b5904e2..000000000 --- a/test/comparison-tests/colors/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-3.4/bundle.js b/test/comparison-tests/colors/expectedOutput-3.4/bundle.js deleted file mode 100644 index 2a238bb51..000000000 --- a/test/comparison-tests/colors/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-3.4/output.txt b/test/comparison-tests/colors/expectedOutput-3.4/output.txt deleted file mode 100644 index c4b5904e2..000000000 --- a/test/comparison-tests/colors/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-3.5/bundle.js b/test/comparison-tests/colors/expectedOutput-3.5/bundle.js deleted file mode 100644 index 2a238bb51..000000000 --- a/test/comparison-tests/colors/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-3.5/output.txt b/test/comparison-tests/colors/expectedOutput-3.5/output.txt deleted file mode 100644 index c4b5904e2..000000000 --- a/test/comparison-tests/colors/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-4.0/bundle.js b/test/comparison-tests/colors/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..012797ec7 --- /dev/null +++ b/test/comparison-tests/colors/expectedOutput-4.0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nFile was processed with these loaders:/n * ../../index.js/nYou may need an additional loader to handle the result of these loaders./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-4.0/output.txt b/test/comparison-tests/colors/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..117027d85 --- /dev/null +++ b/test/comparison-tests/colors/expectedOutput-4.0/output.txt @@ -0,0 +1,18 @@ + Asset Size Chunks Chunk Names +bundle.js 3.96 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 220 bytes {main} [built] [failed] [2 errors] + +ERROR in ./app.ts 2:1 +Module parse failed: Unexpected token (2:1) +File was processed with these loaders: + * ../../index.js +You may need an additional loader to handle the result of these loaders. +| var a; +> == 0; +| + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(1,7) + TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/colors/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..012797ec7 --- /dev/null +++ b/test/comparison-tests/colors/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nFile was processed with these loaders:/n * ../../index.js/nYou may need an additional loader to handle the result of these loaders./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/colors/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..117027d85 --- /dev/null +++ b/test/comparison-tests/colors/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,18 @@ + Asset Size Chunks Chunk Names +bundle.js 3.96 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 220 bytes {main} [built] [failed] [2 errors] + +ERROR in ./app.ts 2:1 +Module parse failed: Unexpected token (2:1) +File was processed with these loaders: + * ../../index.js +You may need an additional loader to handle the result of these loaders. +| var a; +> == 0; +| + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(1,7) + TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-1.6/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-1.6/bundle.js deleted file mode 100644 index 165e6bae3..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,18 +0,0 @@ -!function(modules) { - function __webpack_require__(moduleId) { - if (installedModules[moduleId]) return installedModules[moduleId].exports; - var module = installedModules[moduleId] = { - exports: {}, - id: moduleId, - loaded: !1 - }; - return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__), - module.loaded = !0, module.exports; - } - var installedModules = {}; - return __webpack_require__.m = modules, __webpack_require__.c = installedModules, - __webpack_require__.p = "", __webpack_require__(0); -}([ function(module, exports, __webpack_require__) { - console.log("do something"); - console.log("do something else"); -} ]); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-1.6/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-1.6/output.txt deleted file mode 100644 index a7ec7573c..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 740 bytes 0 [emitted] main -chunk {0} bundle.js (main) 271 bytes [rendered] - [0] ./.test/conditionalRequire/app.ts 271 bytes {0} [built] - -WARNING in bundle.js from UglifyJs -Condition always false [!./app.ts:4,0] -Dropping unreachable code [!./app.ts:4,0] -Declarations in unreachable code! [!./app.ts:5,0] -Dropping unused variable debug [!./app.ts:5,0] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-1.7/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-1.7/bundle.js deleted file mode 100644 index 165e6bae3..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,18 +0,0 @@ -!function(modules) { - function __webpack_require__(moduleId) { - if (installedModules[moduleId]) return installedModules[moduleId].exports; - var module = installedModules[moduleId] = { - exports: {}, - id: moduleId, - loaded: !1 - }; - return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__), - module.loaded = !0, module.exports; - } - var installedModules = {}; - return __webpack_require__.m = modules, __webpack_require__.c = installedModules, - __webpack_require__.p = "", __webpack_require__(0); -}([ function(module, exports, __webpack_require__) { - console.log("do something"); - console.log("do something else"); -} ]); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-1.7/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-1.7/output.txt deleted file mode 100644 index a7ec7573c..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 740 bytes 0 [emitted] main -chunk {0} bundle.js (main) 271 bytes [rendered] - [0] ./.test/conditionalRequire/app.ts 271 bytes {0} [built] - -WARNING in bundle.js from UglifyJs -Condition always false [!./app.ts:4,0] -Dropping unreachable code [!./app.ts:4,0] -Declarations in unreachable code! [!./app.ts:5,0] -Dropping unused variable debug [!./app.ts:5,0] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-1.8/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-1.8/bundle.js deleted file mode 100644 index d612e5be2..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,19 +0,0 @@ -!function(modules) { - function __webpack_require__(moduleId) { - if (installedModules[moduleId]) return installedModules[moduleId].exports; - var module = installedModules[moduleId] = { - exports: {}, - id: moduleId, - loaded: !1 - }; - return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__), - module.loaded = !0, module.exports; - } - var installedModules = {}; - return __webpack_require__.m = modules, __webpack_require__.c = installedModules, - __webpack_require__.p = "", __webpack_require__(0); -}([ function(module, exports, __webpack_require__) { - "use strict"; - console.log("do something"); - console.log("do something else"); -} ]); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-1.8/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-1.8/output.txt deleted file mode 100644 index 69c5c3306..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 758 bytes 0 [emitted] main -chunk {0} bundle.js (main) 285 bytes [rendered] - [0] ./.test/conditionalRequire/app.ts 285 bytes {0} [built] - -WARNING in bundle.js from UglifyJs -Condition always false [!./app.ts:5,0] -Dropping unreachable code [!./app.ts:5,0] -Declarations in unreachable code! [!./app.ts:6,0] -Dropping unused variable debug [!./app.ts:6,0] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.0/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-2.0/bundle.js deleted file mode 100644 index d612e5be2..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,19 +0,0 @@ -!function(modules) { - function __webpack_require__(moduleId) { - if (installedModules[moduleId]) return installedModules[moduleId].exports; - var module = installedModules[moduleId] = { - exports: {}, - id: moduleId, - loaded: !1 - }; - return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__), - module.loaded = !0, module.exports; - } - var installedModules = {}; - return __webpack_require__.m = modules, __webpack_require__.c = installedModules, - __webpack_require__.p = "", __webpack_require__(0); -}([ function(module, exports, __webpack_require__) { - "use strict"; - console.log("do something"); - console.log("do something else"); -} ]); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/conditionalRequire/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index 001560405..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 758 bytes 0 [emitted] main -chunk {0} bundle.js (main) 285 bytes [rendered] - [0] ./.test/conditionalRequire/app.ts 285 bytes {0} [built] - -WARNING in bundle.js from UglifyJs -Condition always false [?{"silent":true,"compilerOptions":{"newLine":"LF"},"transpileOnly":true}!./app.ts:5,0] -Dropping unreachable code [?{"silent":true,"compilerOptions":{"newLine":"LF"},"transpileOnly":true}!./app.ts:5,0] -Declarations in unreachable code! [?{"silent":true,"compilerOptions":{"newLine":"LF"},"transpileOnly":true}!./app.ts:6,0] -Dropping unused variable debug [?{"silent":true,"compilerOptions":{"newLine":"LF"},"transpileOnly":true}!./app.ts:6,0] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.0/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-2.0/output.txt deleted file mode 100644 index 2e9ab9066..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 758 bytes 0 [emitted] main -chunk {0} bundle.js (main) 285 bytes [rendered] - [0] ./.test/conditionalRequire/app.ts 285 bytes {0} [built] - -WARNING in bundle.js from UglifyJs -Condition always false [?{"silent":true,"compilerOptions":{"newLine":"LF"}}!./app.ts:5,0] -Dropping unreachable code [?{"silent":true,"compilerOptions":{"newLine":"LF"}}!./app.ts:5,0] -Declarations in unreachable code! [?{"silent":true,"compilerOptions":{"newLine":"LF"}}!./app.ts:6,0] -Dropping unused variable debug [?{"silent":true,"compilerOptions":{"newLine":"LF"}}!./app.ts:6,0] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.1/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-2.1/bundle.js deleted file mode 100644 index 94521ad5c..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,36 +0,0 @@ -!function(modules) { - function __webpack_require__(moduleId) { - if (installedModules[moduleId]) return installedModules[moduleId].exports; - var module = installedModules[moduleId] = { - i: moduleId, - l: !1, - exports: {} - }; - return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__), - module.l = !0, module.exports; - } - var installedModules = {}; - return __webpack_require__.m = modules, __webpack_require__.c = installedModules, - __webpack_require__.i = function(value) { - return value; - }, __webpack_require__.d = function(exports, name, getter) { - __webpack_require__.o(exports, name) || Object.defineProperty(exports, name, { - configurable: !1, - enumerable: !0, - get: getter - }); - }, __webpack_require__.n = function(module) { - var getter = module && module.__esModule ? function() { - return module.default; - } : function() { - return module; - }; - return __webpack_require__.d(getter, "a", getter), getter; - }, __webpack_require__.o = function(object, property) { - return Object.prototype.hasOwnProperty.call(object, property); - }, __webpack_require__.p = "", __webpack_require__(__webpack_require__.s = 0); -}([ function(module, exports, __webpack_require__) { - "use strict"; - console.log("do something"); - console.log("do something else"); -} ]); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.1/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-2.1/output.txt deleted file mode 100644 index 5fa28c62d..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.5 kB 0 [emitted] main -chunk {0} bundle.js (main) 285 bytes [entry] [rendered] - [0] ./.test/conditionalRequire/app.ts 285 bytes {0} [built] - -WARNING in bundle.js from UglifyJs -Condition always false [bundle.js:78,4] -Dropping unreachable code [bundle.js:78,11] -Declarations in unreachable code! [bundle.js:79,4] -Dropping unused variable debug [bundle.js:79,8] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.2/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-2.2/bundle.js deleted file mode 100644 index 6f2c25be1..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,35 +0,0 @@ -!function(modules) { - function __webpack_require__(moduleId) { - if (installedModules[moduleId]) return installedModules[moduleId].exports; - var module = installedModules[moduleId] = { - i: moduleId, - l: !1, - exports: {} - }; - return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__), - module.l = !0, module.exports; - } - var installedModules = {}; - __webpack_require__.m = modules, __webpack_require__.c = installedModules, __webpack_require__.i = function(value) { - return value; - }, __webpack_require__.d = function(exports, name, getter) { - __webpack_require__.o(exports, name) || Object.defineProperty(exports, name, { - configurable: !1, - enumerable: !0, - get: getter - }); - }, __webpack_require__.n = function(module) { - var getter = module && module.__esModule ? function() { - return module.default; - } : function() { - return module; - }; - return __webpack_require__.d(getter, "a", getter), getter; - }, __webpack_require__.o = function(object, property) { - return Object.prototype.hasOwnProperty.call(object, property); - }, __webpack_require__.p = "", __webpack_require__(__webpack_require__.s = 0); -}([ function(module, exports, __webpack_require__) { - "use strict"; - exports.__esModule = !0, console.log("do something"); - console.log("do something else"); -} ]); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.2/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-2.2/output.txt deleted file mode 100644 index 78a6e7370..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.51 kB 0 [emitted] main -chunk {0} bundle.js (main) 312 bytes [entry] [rendered] - [0] ./.test/conditionalRequire/app.ts 312 bytes {0} [built] - -WARNING in bundle.js from UglifyJs -Condition always false [bundle.js:79,4] -Dropping unreachable code [bundle.js:79,11] -Declarations in unreachable code! [bundle.js:80,4] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.3/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-2.3/bundle.js deleted file mode 100644 index 6f2c25be1..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,35 +0,0 @@ -!function(modules) { - function __webpack_require__(moduleId) { - if (installedModules[moduleId]) return installedModules[moduleId].exports; - var module = installedModules[moduleId] = { - i: moduleId, - l: !1, - exports: {} - }; - return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__), - module.l = !0, module.exports; - } - var installedModules = {}; - __webpack_require__.m = modules, __webpack_require__.c = installedModules, __webpack_require__.i = function(value) { - return value; - }, __webpack_require__.d = function(exports, name, getter) { - __webpack_require__.o(exports, name) || Object.defineProperty(exports, name, { - configurable: !1, - enumerable: !0, - get: getter - }); - }, __webpack_require__.n = function(module) { - var getter = module && module.__esModule ? function() { - return module.default; - } : function() { - return module; - }; - return __webpack_require__.d(getter, "a", getter), getter; - }, __webpack_require__.o = function(object, property) { - return Object.prototype.hasOwnProperty.call(object, property); - }, __webpack_require__.p = "", __webpack_require__(__webpack_require__.s = 0); -}([ function(module, exports, __webpack_require__) { - "use strict"; - exports.__esModule = !0, console.log("do something"); - console.log("do something else"); -} ]); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.3/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-2.3/output.txt deleted file mode 100644 index 78a6e7370..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.51 kB 0 [emitted] main -chunk {0} bundle.js (main) 312 bytes [entry] [rendered] - [0] ./.test/conditionalRequire/app.ts 312 bytes {0} [built] - -WARNING in bundle.js from UglifyJs -Condition always false [bundle.js:79,4] -Dropping unreachable code [bundle.js:79,11] -Declarations in unreachable code! [bundle.js:80,4] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.4/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-2.4/bundle.js deleted file mode 100644 index 6f2c25be1..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,35 +0,0 @@ -!function(modules) { - function __webpack_require__(moduleId) { - if (installedModules[moduleId]) return installedModules[moduleId].exports; - var module = installedModules[moduleId] = { - i: moduleId, - l: !1, - exports: {} - }; - return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__), - module.l = !0, module.exports; - } - var installedModules = {}; - __webpack_require__.m = modules, __webpack_require__.c = installedModules, __webpack_require__.i = function(value) { - return value; - }, __webpack_require__.d = function(exports, name, getter) { - __webpack_require__.o(exports, name) || Object.defineProperty(exports, name, { - configurable: !1, - enumerable: !0, - get: getter - }); - }, __webpack_require__.n = function(module) { - var getter = module && module.__esModule ? function() { - return module.default; - } : function() { - return module; - }; - return __webpack_require__.d(getter, "a", getter), getter; - }, __webpack_require__.o = function(object, property) { - return Object.prototype.hasOwnProperty.call(object, property); - }, __webpack_require__.p = "", __webpack_require__(__webpack_require__.s = 0); -}([ function(module, exports, __webpack_require__) { - "use strict"; - exports.__esModule = !0, console.log("do something"); - console.log("do something else"); -} ]); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.4/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-2.4/output.txt deleted file mode 100644 index 78a6e7370..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.51 kB 0 [emitted] main -chunk {0} bundle.js (main) 312 bytes [entry] [rendered] - [0] ./.test/conditionalRequire/app.ts 312 bytes {0} [built] - -WARNING in bundle.js from UglifyJs -Condition always false [bundle.js:79,4] -Dropping unreachable code [bundle.js:79,11] -Declarations in unreachable code! [bundle.js:80,4] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.5/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-2.5/bundle.js deleted file mode 100644 index c47049059..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,33 +0,0 @@ -!function(modules) { - function __webpack_require__(moduleId) { - if (installedModules[moduleId]) return installedModules[moduleId].exports; - var module = installedModules[moduleId] = { - i: moduleId, - l: !1, - exports: {} - }; - return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__), - module.l = !0, module.exports; - } - var installedModules = {}; - __webpack_require__.m = modules, __webpack_require__.c = installedModules, __webpack_require__.d = function(exports, name, getter) { - __webpack_require__.o(exports, name) || Object.defineProperty(exports, name, { - configurable: !1, - enumerable: !0, - get: getter - }); - }, __webpack_require__.n = function(module) { - var getter = module && module.__esModule ? function() { - return module.default; - } : function() { - return module; - }; - return __webpack_require__.d(getter, "a", getter), getter; - }, __webpack_require__.o = function(object, property) { - return Object.prototype.hasOwnProperty.call(object, property); - }, __webpack_require__.p = "", __webpack_require__(__webpack_require__.s = 0); -}([ function(module, exports, __webpack_require__) { - "use strict"; - exports.__esModule = !0, console.log("do something"); - console.log("do something else"); -} ]); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.5/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-2.5/output.txt deleted file mode 100644 index 8872d0b3b..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.44 kB 0 [emitted] main - [0] ./.test/conditionalRequire/app.ts 312 bytes {0} [built] - -WARNING in bundle.js from UglifyJs -Condition always false [bundle.js:76,4] -Dropping unreachable code [bundle.js:76,11] -Declarations in unreachable code! [bundle.js:77,4] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.6/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-2.6/bundle.js deleted file mode 100644 index c47049059..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,33 +0,0 @@ -!function(modules) { - function __webpack_require__(moduleId) { - if (installedModules[moduleId]) return installedModules[moduleId].exports; - var module = installedModules[moduleId] = { - i: moduleId, - l: !1, - exports: {} - }; - return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__), - module.l = !0, module.exports; - } - var installedModules = {}; - __webpack_require__.m = modules, __webpack_require__.c = installedModules, __webpack_require__.d = function(exports, name, getter) { - __webpack_require__.o(exports, name) || Object.defineProperty(exports, name, { - configurable: !1, - enumerable: !0, - get: getter - }); - }, __webpack_require__.n = function(module) { - var getter = module && module.__esModule ? function() { - return module.default; - } : function() { - return module; - }; - return __webpack_require__.d(getter, "a", getter), getter; - }, __webpack_require__.o = function(object, property) { - return Object.prototype.hasOwnProperty.call(object, property); - }, __webpack_require__.p = "", __webpack_require__(__webpack_require__.s = 0); -}([ function(module, exports, __webpack_require__) { - "use strict"; - exports.__esModule = !0, console.log("do something"); - console.log("do something else"); -} ]); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.6/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-2.6/output.txt deleted file mode 100644 index 8872d0b3b..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.44 kB 0 [emitted] main - [0] ./.test/conditionalRequire/app.ts 312 bytes {0} [built] - -WARNING in bundle.js from UglifyJs -Condition always false [bundle.js:76,4] -Dropping unreachable code [bundle.js:76,11] -Declarations in unreachable code! [bundle.js:77,4] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.7/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-2.7/bundle.js deleted file mode 100644 index f16ec6a6c..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/conditionalRequire/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index c37bebdd1..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:15 - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.7/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-2.7/output.txt deleted file mode 100644 index 3df69d782..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:14 - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.8/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-2.8/bundle.js deleted file mode 100644 index f16ec6a6c..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/conditionalRequire/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index c37bebdd1..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:15 - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.8/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-2.8/output.txt deleted file mode 100644 index fbe6243d4..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/conditionalRequire/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index c37bebdd1..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:15 - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.0/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-3.0/bundle.js deleted file mode 100644 index c37024a15..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/conditionalRequire/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index c37bebdd1..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:15 - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.0/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-3.0/output.txt deleted file mode 100644 index 99287c682..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.1/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-3.1/bundle.js deleted file mode 100644 index c37024a15..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/conditionalRequire/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index c37bebdd1..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:15 - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.1/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-3.1/output.txt deleted file mode 100644 index 99287c682..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.2/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-3.2/bundle.js deleted file mode 100644 index c37024a15..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/conditionalRequire/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index c37bebdd1..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:15 - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.2/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-3.2/output.txt deleted file mode 100644 index 99287c682..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.3/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-3.3/bundle.js deleted file mode 100644 index c37024a15..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/conditionalRequire/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index c37bebdd1..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:15 - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.3/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-3.3/output.txt deleted file mode 100644 index 99287c682..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.4/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-3.4/bundle.js deleted file mode 100644 index c37024a15..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/conditionalRequire/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index c37bebdd1..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:15 - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.4/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-3.4/output.txt deleted file mode 100644 index 99287c682..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.5/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-3.5/bundle.js deleted file mode 100644 index c37024a15..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/conditionalRequire/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index c37bebdd1..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:15 - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.5/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-3.5/output.txt deleted file mode 100644 index 99287c682..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.9/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/conditionalRequire/expectedOutput-2.9/bundle.js rename to test/comparison-tests/conditionalRequire/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-2.9/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/conditionalRequire/expectedOutput-2.9/output.txt rename to test/comparison-tests/conditionalRequire/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..afcf0e698 --- /dev/null +++ b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..cd9f0fd10 --- /dev/null +++ b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 4.06 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 348 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/bundle.js deleted file mode 100644 index 492b6e7de..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(1 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index 41ffea88a..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(exports.BarEnum || (exports.BarEnum = {})); - var BarEnum = exports.BarEnum; - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index e15f0a852..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.87 kB 0 [emitted] main -chunk {0} bundle.js (main) 310 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 157 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/bundle.transpiled.js deleted file mode 100644 index da935249f..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(exports.BarEnum || (exports.BarEnum = {})); - var BarEnum = exports.BarEnum; - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/output.transpiled.txt deleted file mode 100644 index 63773d231..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.87 kB 0 [emitted] main -chunk {0} bundle.js (main) 310 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 157 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.2/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.3/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.4/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.5/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.6/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.7/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.8/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.9/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.0/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.1/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.2/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.3/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.4/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/bundle.js deleted file mode 100644 index bd06df038..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log(1 /* Bar */); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/bundle.transpiled.js deleted file mode 100644 index ced96f0a0..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 1] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 880b69860..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} [built] - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} [built] - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/output.txt deleted file mode 100644 index f03c54463..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [entry] [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/bundle.js deleted file mode 100644 index f06a7bba3..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log(2 /* Bar */); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/bundle.transpiled.js deleted file mode 100644 index 6a9fddf08..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1.BarEnum.Bar); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var bar_1 = __webpack_require__(2); - exports.BarEnum = bar_1.BarEnum; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var BarEnum; - (function (BarEnum) { - BarEnum[BarEnum["Bar"] = 2] = "Bar"; - })(BarEnum = exports.BarEnum || (exports.BarEnum = {})); - ; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/output.transpiled.txt deleted file mode 100644 index c1f20fa51..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 302 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 76 bytes {0} - [1] ./.test/constEnumReExportWatch/foo.ts 77 bytes {0} - [2] ./.test/constEnumReExportWatch/bar.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/output.txt deleted file mode 100644 index c3c074468..000000000 --- a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.5/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 40 bytes [rendered] - [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/bundle.js rename to test/comparison-tests/constEnumReExportWatch/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/constEnumReExportWatch/expectedOutput-2.1/output.txt rename to test/comparison-tests/constEnumReExportWatch/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/patch0/bundle.js rename to test/comparison-tests/constEnumReExportWatch/expectedOutput-4.0/patch0/bundle.js diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/constEnumReExportWatch/expectedOutput-2.0/output.txt rename to test/comparison-tests/constEnumReExportWatch/expectedOutput-4.0/patch0/output.txt diff --git a/test/comparison-tests/create-and-execute-test.js b/test/comparison-tests/create-and-execute-test.js index b97d64095..f598c171a 100644 --- a/test/comparison-tests/create-and-execute-test.js +++ b/test/comparison-tests/create-and-execute-test.js @@ -268,10 +268,10 @@ function storeStats(stats, testState, paths) { function compareFiles(paths, test, patch) { if (saveOutputMode) { - const actualFiles = glob.sync('**/*', { cwd: paths.actualOutput, nodir: true, dot: true }), - expectedFiles = glob.sync('**/*', { cwd: paths.originalExpectedOutput, nodir: true, dot: true }) - .filter(function (file) { return !/^patch/.test(file); }), - allFiles = {}; + const actualFiles = glob.sync('**/*', { cwd: paths.actualOutput, nodir: true, dot: true }); + const expectedFiles = glob.sync('**/*', { cwd: paths.originalExpectedOutput, nodir: true, dot: true }) + .filter(function (file) { return !/^patch/.test(file); }); + const allFiles = {}; actualFiles.forEach(function (file) { allFiles[file] = true }); expectedFiles.forEach(function (file) { @@ -282,9 +282,11 @@ function compareFiles(paths, test, patch) { Object.keys(allFiles).forEach(function (file) { const actual = getNormalisedFileContent(file, paths.actualOutput); const expected = getNormalisedFileContent(file, paths.expectedOutput); - if (actual !== expected) { + + // I believe we always want to copy this + // if (actual !== expected) { fs.copySync(path.join(paths.actualOutput, file), path.join(paths.originalExpectedOutput, file)); - } + // } }); } else { diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.3/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.3/bundle.js deleted file mode 100644 index 6f4850711..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM ME!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.3/bundle.transpiled.js b/test/comparison-tests/customTransformer/expectedOutput-2.3/bundle.transpiled.js deleted file mode 100644 index ea93c308c..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.3/bundle.transpiled.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "Hello from me!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.3/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.3/output.txt deleted file mode 100644 index 7196dfcf8..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 54 bytes [entry] [rendered] - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.3/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.3/patch0/bundle.js deleted file mode 100644 index 553a36e58..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.3/patch0/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM HIM!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.3/patch0/bundle.transpiled.js b/test/comparison-tests/customTransformer/expectedOutput-2.3/patch0/bundle.transpiled.js deleted file mode 100644 index 18f1a663e..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.3/patch0/bundle.transpiled.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "Hello from him!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.3/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.3/patch0/output.txt deleted file mode 100644 index c17569629..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.3/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 55 bytes [entry] [rendered] - [0] ./.test/customTransformer/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.3/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.3/patch1/bundle.js deleted file mode 100644 index de6e20451..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.3/patch1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM US!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.3/patch1/bundle.transpiled.js b/test/comparison-tests/customTransformer/expectedOutput-2.3/patch1/bundle.transpiled.js deleted file mode 100644 index 5c4afd468..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.3/patch1/bundle.transpiled.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "Hello from us!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.3/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.3/patch1/output.txt deleted file mode 100644 index 7196dfcf8..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.3/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 54 bytes [entry] [rendered] - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.4/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.4/bundle.js deleted file mode 100644 index 6f4850711..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM ME!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.4/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.4/output.txt deleted file mode 100644 index 7196dfcf8..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 54 bytes [entry] [rendered] - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.4/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.4/patch0/bundle.js deleted file mode 100644 index 553a36e58..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.4/patch0/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM HIM!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.4/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.4/patch0/output.txt deleted file mode 100644 index c17569629..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.4/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 55 bytes [entry] [rendered] - [0] ./.test/customTransformer/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.4/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.4/patch1/bundle.js deleted file mode 100644 index de6e20451..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.4/patch1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM US!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.4/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.4/patch1/output.txt deleted file mode 100644 index 7196dfcf8..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.4/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 54 bytes [entry] [rendered] - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.5/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.5/bundle.js deleted file mode 100644 index 5de973a26..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM ME!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.5/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.5/output.txt deleted file mode 100644 index f2ad31a14..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.5/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.5/patch0/bundle.js deleted file mode 100644 index 8fe524a37..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.5/patch0/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM HIM!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.5/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.5/patch0/output.txt deleted file mode 100644 index 10fc70d49..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.5/patch0/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/customTransformer/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.5/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.5/patch1/bundle.js deleted file mode 100644 index cca1c43c7..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.5/patch1/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM US!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.5/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.5/patch1/output.txt deleted file mode 100644 index f2ad31a14..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.5/patch1/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.6/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.6/bundle.js deleted file mode 100644 index 5de973a26..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM ME!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.6/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.6/output.txt deleted file mode 100644 index f2ad31a14..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.6/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.6/patch0/bundle.js deleted file mode 100644 index 8fe524a37..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.6/patch0/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM HIM!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.6/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.6/patch0/output.txt deleted file mode 100644 index 10fc70d49..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.6/patch0/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/customTransformer/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.6/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.6/patch1/bundle.js deleted file mode 100644 index cca1c43c7..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.6/patch1/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM US!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.6/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.6/patch1/output.txt deleted file mode 100644 index f2ad31a14..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.6/patch1/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.7/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.7/bundle.js deleted file mode 100644 index 9c57c4a51..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 271d83656..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:27 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.7/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.7/output.txt deleted file mode 100644 index 3f06cdc12..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:21 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.7/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.7/patch0/bundle.js deleted file mode 100644 index f028a65aa..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.7/patch0/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.7/patch0/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-2.7/patch0/output.transpiled.txt deleted file mode 100644 index 56a852c3e..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:29 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.7/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.7/patch0/output.txt deleted file mode 100644 index ec80b3dc8..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.7/patch0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:24 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.7/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.7/patch1/bundle.js deleted file mode 100644 index 530f6981f..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.7/patch1/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.7/patch1/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-2.7/patch1/output.transpiled.txt deleted file mode 100644 index 827f6afea..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.7/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:32 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.7/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.7/patch1/output.txt deleted file mode 100644 index 03e7a5d59..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.7/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:26 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.8/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.8/bundle.js deleted file mode 100644 index 9c57c4a51..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 9cbd94dd1..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:15 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.8/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.8/output.txt deleted file mode 100644 index dd97227ab..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.8/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.8/patch0/bundle.js deleted file mode 100644 index f028a65aa..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.8/patch0/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.8/patch0/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-2.8/patch0/output.transpiled.txt deleted file mode 100644 index 6143f985e..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:18 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.8/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.8/patch0/output.txt deleted file mode 100644 index 363f37a27..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.8/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.8/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-2.8/patch1/bundle.js deleted file mode 100644 index 530f6981f..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.8/patch1/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.8/patch1/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-2.8/patch1/output.transpiled.txt deleted file mode 100644 index c8a3f6ad8..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.8/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:20 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.8/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-2.8/patch1/output.txt deleted file mode 100644 index dd97227ab..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.8/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 9cbd94dd1..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:15 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.9/patch0/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-2.9/patch0/output.transpiled.txt deleted file mode 100644 index 6143f985e..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.9/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:18 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.9/patch1/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-2.9/patch1/output.transpiled.txt deleted file mode 100644 index c8a3f6ad8..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-2.9/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:20 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 9cbd94dd1..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:15 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.0/patch0/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.0/patch0/output.transpiled.txt deleted file mode 100644 index 6143f985e..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:18 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.0/patch1/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.0/patch1/output.transpiled.txt deleted file mode 100644 index c8a3f6ad8..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.0/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:20 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 9cbd94dd1..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:15 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.1/patch0/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.1/patch0/output.transpiled.txt deleted file mode 100644 index 6143f985e..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:18 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.1/patch1/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.1/patch1/output.transpiled.txt deleted file mode 100644 index c8a3f6ad8..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.1/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:20 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 9cbd94dd1..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:15 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.2/patch0/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.2/patch0/output.transpiled.txt deleted file mode 100644 index 6143f985e..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:18 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.2/patch1/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.2/patch1/output.transpiled.txt deleted file mode 100644 index c8a3f6ad8..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.2/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:20 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.3/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-3.3/bundle.js deleted file mode 100644 index 98f9ec82e..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 9cbd94dd1..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:15 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.3/output.txt b/test/comparison-tests/customTransformer/expectedOutput-3.3/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.3/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-3.3/patch0/bundle.js deleted file mode 100644 index a659b2234..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.3/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.3/patch0/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.3/patch0/output.transpiled.txt deleted file mode 100644 index 6143f985e..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:18 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.3/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-3.3/patch0/output.txt deleted file mode 100644 index 2ab5de1d6..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.3/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.3/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-3.3/patch1/bundle.js deleted file mode 100644 index 5cb90e8ac..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.3/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.3/patch1/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.3/patch1/output.transpiled.txt deleted file mode 100644 index c8a3f6ad8..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.3/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:20 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.3/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-3.3/patch1/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.3/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.4/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-3.4/bundle.js deleted file mode 100644 index 98f9ec82e..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 9cbd94dd1..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:15 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.4/output.txt b/test/comparison-tests/customTransformer/expectedOutput-3.4/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.4/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-3.4/patch0/bundle.js deleted file mode 100644 index a659b2234..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.4/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.4/patch0/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.4/patch0/output.transpiled.txt deleted file mode 100644 index 6143f985e..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:18 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.4/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-3.4/patch0/output.txt deleted file mode 100644 index 2ab5de1d6..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.4/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.4/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-3.4/patch1/bundle.js deleted file mode 100644 index 5cb90e8ac..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.4/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.4/patch1/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.4/patch1/output.transpiled.txt deleted file mode 100644 index c8a3f6ad8..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.4/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:20 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.4/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-3.4/patch1/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.4/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.5/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-3.5/bundle.js deleted file mode 100644 index 98f9ec82e..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 9cbd94dd1..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:15 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.5/output.txt b/test/comparison-tests/customTransformer/expectedOutput-3.5/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.5/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-3.5/patch0/bundle.js deleted file mode 100644 index a659b2234..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.5/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.5/patch0/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.5/patch0/output.transpiled.txt deleted file mode 100644 index 6143f985e..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:18 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.5/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-3.5/patch0/output.txt deleted file mode 100644 index 2ab5de1d6..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.5/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.5/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-3.5/patch1/bundle.js deleted file mode 100644 index 5cb90e8ac..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.5/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.5/patch1/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-3.5/patch1/output.transpiled.txt deleted file mode 100644 index c8a3f6ad8..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.5/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:20 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.5/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-3.5/patch1/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformer/expectedOutput-3.5/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.9/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-2.9/bundle.js rename to test/comparison-tests/customTransformer/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.9/output.txt b/test/comparison-tests/customTransformer/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-2.9/output.txt rename to test/comparison-tests/customTransformer/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.9/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-2.9/patch0/bundle.js rename to test/comparison-tests/customTransformer/expectedOutput-4.0/patch0/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.9/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-2.9/patch0/output.txt rename to test/comparison-tests/customTransformer/expectedOutput-4.0/patch0/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.9/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-4.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-2.9/patch1/bundle.js rename to test/comparison-tests/customTransformer/expectedOutput-4.0/patch1/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-2.9/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-4.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-2.9/patch1/output.txt rename to test/comparison-tests/customTransformer/expectedOutput-4.0/patch1/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.0/bundle.js rename to test/comparison-tests/customTransformer/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.0/output.txt rename to test/comparison-tests/customTransformer/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.0/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.0/patch0/bundle.js rename to test/comparison-tests/customTransformer/expectedOutput-transpile-4.0/patch0/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.0/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.0/patch0/output.txt rename to test/comparison-tests/customTransformer/expectedOutput-transpile-4.0/patch0/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.0/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.0/patch1/bundle.js rename to test/comparison-tests/customTransformer/expectedOutput-transpile-4.0/patch1/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.0/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.0/patch1/output.txt rename to test/comparison-tests/customTransformer/expectedOutput-transpile-4.0/patch1/output.txt diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/bundle.js deleted file mode 100644 index 6f4850711..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM ME!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/bundle.transpiled.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/bundle.transpiled.js deleted file mode 100644 index ea93c308c..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/bundle.transpiled.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "Hello from me!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/output.txt deleted file mode 100644 index 7196dfcf8..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 54 bytes [entry] [rendered] - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch0/bundle.js deleted file mode 100644 index 553a36e58..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch0/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM HIM!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch0/bundle.transpiled.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch0/bundle.transpiled.js deleted file mode 100644 index 18f1a663e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch0/bundle.transpiled.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "Hello from him!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch0/output.txt deleted file mode 100644 index c17569629..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 55 bytes [entry] [rendered] - [0] ./.test/customTransformer/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch1/bundle.js deleted file mode 100644 index de6e20451..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM US!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch1/bundle.transpiled.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch1/bundle.transpiled.js deleted file mode 100644 index 5c4afd468..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch1/bundle.transpiled.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "Hello from us!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch1/output.txt deleted file mode 100644 index 7196dfcf8..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.3/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 54 bytes [entry] [rendered] - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/bundle.js deleted file mode 100644 index 6f4850711..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM ME!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/output.txt deleted file mode 100644 index 7196dfcf8..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 54 bytes [entry] [rendered] - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch0/bundle.js deleted file mode 100644 index 553a36e58..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch0/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM HIM!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch0/output.txt deleted file mode 100644 index c17569629..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 55 bytes [entry] [rendered] - [0] ./.test/customTransformer/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch1/bundle.js deleted file mode 100644 index de6e20451..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM US!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch1/output.txt deleted file mode 100644 index 7196dfcf8..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.4/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 54 bytes [entry] [rendered] - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/bundle.js deleted file mode 100644 index 5de973a26..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM ME!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/output.txt deleted file mode 100644 index f2ad31a14..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch0/bundle.js deleted file mode 100644 index 8fe524a37..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch0/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM HIM!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch0/output.txt deleted file mode 100644 index 10fc70d49..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch0/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/customTransformer/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch1/bundle.js deleted file mode 100644 index cca1c43c7..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch1/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM US!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch1/output.txt deleted file mode 100644 index f2ad31a14..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.5/patch1/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/bundle.js deleted file mode 100644 index 5de973a26..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM ME!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/output.txt deleted file mode 100644 index f2ad31a14..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch0/bundle.js deleted file mode 100644 index 8fe524a37..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch0/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM HIM!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch0/output.txt deleted file mode 100644 index 10fc70d49..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch0/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/customTransformer/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch1/bundle.js deleted file mode 100644 index cca1c43c7..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch1/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var message = "HELLO FROM US!"; -console.log(message); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch1/output.txt deleted file mode 100644 index f2ad31a14..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.6/patch1/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/customTransformer/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/bundle.js deleted file mode 100644 index 9c57c4a51..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index ff1c89ae0..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:43 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/output.txt deleted file mode 100644 index c8be16dac..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:38 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch0/bundle.js deleted file mode 100644 index f028a65aa..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch0/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch0/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch0/output.transpiled.txt deleted file mode 100644 index 338e1fcad..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:46 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch0/output.txt deleted file mode 100644 index 1ef8bcb1e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:40 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch1/bundle.js deleted file mode 100644 index 530f6981f..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch1/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch1/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch1/output.transpiled.txt deleted file mode 100644 index 0d19aab02..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:48 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch1/output.txt deleted file mode 100644 index ff1c89ae0..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.7/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:43 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/bundle.js deleted file mode 100644 index 9c57c4a51..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index f5b9cedcb..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:33 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/output.txt deleted file mode 100644 index dd97227ab..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch0/bundle.js deleted file mode 100644 index f028a65aa..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch0/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch0/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch0/output.transpiled.txt deleted file mode 100644 index 7fd4ddc80..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:35 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch0/output.txt deleted file mode 100644 index 363f37a27..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch1/bundle.js deleted file mode 100644 index 530f6981f..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch1/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch1/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch1/output.transpiled.txt deleted file mode 100644 index a9980d51e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:38 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch1/output.txt deleted file mode 100644 index dd97227ab..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.8/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/bundle.js deleted file mode 100644 index 98f9ec82e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index f5b9cedcb..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:33 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch0/bundle.js deleted file mode 100644 index a659b2234..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch0/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch0/output.transpiled.txt deleted file mode 100644 index 7fd4ddc80..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:35 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch0/output.txt deleted file mode 100644 index 2ab5de1d6..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch1/bundle.js deleted file mode 100644 index 5cb90e8ac..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch1/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch1/output.transpiled.txt deleted file mode 100644 index a9980d51e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:38 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch1/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-2.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/bundle.js deleted file mode 100644 index 98f9ec82e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index f5b9cedcb..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:33 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch0/bundle.js deleted file mode 100644 index a659b2234..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch0/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch0/output.transpiled.txt deleted file mode 100644 index 7fd4ddc80..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:35 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch0/output.txt deleted file mode 100644 index 2ab5de1d6..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch1/bundle.js deleted file mode 100644 index 5cb90e8ac..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch1/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch1/output.transpiled.txt deleted file mode 100644 index a9980d51e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:38 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch1/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.0/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/bundle.js deleted file mode 100644 index 98f9ec82e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index f5b9cedcb..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:33 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch0/bundle.js deleted file mode 100644 index a659b2234..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch0/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch0/output.transpiled.txt deleted file mode 100644 index 7fd4ddc80..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:35 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch0/output.txt deleted file mode 100644 index 2ab5de1d6..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch1/bundle.js deleted file mode 100644 index 5cb90e8ac..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch1/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch1/output.transpiled.txt deleted file mode 100644 index a9980d51e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:38 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch1/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.1/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/bundle.js deleted file mode 100644 index 98f9ec82e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index f5b9cedcb..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:33 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch0/bundle.js deleted file mode 100644 index a659b2234..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch0/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch0/output.transpiled.txt deleted file mode 100644 index 7fd4ddc80..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:35 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch0/output.txt deleted file mode 100644 index 2ab5de1d6..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch1/bundle.js deleted file mode 100644 index 5cb90e8ac..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch1/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch1/output.transpiled.txt deleted file mode 100644 index a9980d51e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:38 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch1/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.2/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/bundle.js deleted file mode 100644 index 98f9ec82e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index f5b9cedcb..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:33 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch0/bundle.js deleted file mode 100644 index a659b2234..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch0/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch0/output.transpiled.txt deleted file mode 100644 index 7fd4ddc80..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:35 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch0/output.txt deleted file mode 100644 index 2ab5de1d6..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch1/bundle.js deleted file mode 100644 index 5cb90e8ac..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch1/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch1/output.transpiled.txt deleted file mode 100644 index a9980d51e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:38 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch1/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.3/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/bundle.js deleted file mode 100644 index 98f9ec82e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index f5b9cedcb..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:33 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch0/bundle.js deleted file mode 100644 index a659b2234..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch0/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch0/output.transpiled.txt deleted file mode 100644 index 7fd4ddc80..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:35 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch0/output.txt deleted file mode 100644 index 2ab5de1d6..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch1/bundle.js deleted file mode 100644 index 5cb90e8ac..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch1/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch1/output.transpiled.txt deleted file mode 100644 index a9980d51e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:38 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch1/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.4/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/bundle.js deleted file mode 100644 index 98f9ec82e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index f5b9cedcb..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:33 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch0/bundle.js deleted file mode 100644 index a659b2234..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch0/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch0/output.transpiled.txt deleted file mode 100644 index 7fd4ddc80..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:35 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch0/output.txt deleted file mode 100644 index 2ab5de1d6..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch1/bundle.js deleted file mode 100644 index 5cb90e8ac..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch1/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch1/output.transpiled.txt deleted file mode 100644 index a9980d51e..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:32:38 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch1/output.txt deleted file mode 100644 index 9977baa4b..000000000 --- a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.5/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.1/bundle.js rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.1/output.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.1/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.1/patch0/bundle.js rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.0/patch0/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.1/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.1/patch0/output.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.0/patch0/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.1/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.1/patch1/bundle.js rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.0/patch1/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.1/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.1/patch1/output.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.0/patch1/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.2/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.2/bundle.js rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.2/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.2/output.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.2/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.2/patch0/bundle.js rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.0/patch0/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.2/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.2/patch0/output.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.0/patch0/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.2/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.2/patch1/bundle.js rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.0/patch1/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.2/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.2/patch1/output.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.0/patch1/output.txt diff --git a/test/comparison-tests/declarationDeps/expectedOutput-1.6/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-1.6/bundle.js deleted file mode 100644 index db2d009ac..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - Hello.sayHello('Hi'); - Hello.sayHi('Hi'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-1.6/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-1.6/output.transpiled.txt deleted file mode 100644 index 46b13068b..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-1.6/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 41 bytes [rendered] - [0] ./.test/declarationDeps/app.ts 41 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-1.6/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-1.6/output.txt deleted file mode 100644 index 05161874a..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 41 bytes [rendered] - [0] ./.test/declarationDeps/app.ts 41 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationDeps/app.ts -(2,7): error TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-1.7/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-1.7/bundle.js deleted file mode 100644 index db2d009ac..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - Hello.sayHello('Hi'); - Hello.sayHi('Hi'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-1.7/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-1.7/output.transpiled.txt deleted file mode 100644 index 46b13068b..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-1.7/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 41 bytes [rendered] - [0] ./.test/declarationDeps/app.ts 41 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-1.7/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-1.7/output.txt deleted file mode 100644 index 05161874a..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 41 bytes [rendered] - [0] ./.test/declarationDeps/app.ts 41 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationDeps/app.ts -(2,7): error TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-1.8/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-1.8/bundle.js deleted file mode 100644 index db2d009ac..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - Hello.sayHello('Hi'); - Hello.sayHi('Hi'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-1.8/bundle.transpiled.js b/test/comparison-tests/declarationDeps/expectedOutput-1.8/bundle.transpiled.js deleted file mode 100644 index ebad477a1..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-1.8/bundle.transpiled.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - Hello.sayHello('Hi'); - Hello.sayHi('Hi'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index 11851f989..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.45 kB 0 [emitted] main -chunk {0} bundle.js (main) 55 bytes [rendered] - [0] ./.test/declarationDeps/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-1.8/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-1.8/output.txt deleted file mode 100644 index 05161874a..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 41 bytes [rendered] - [0] ./.test/declarationDeps/app.ts 41 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationDeps/app.ts -(2,7): error TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.0/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-2.0/bundle.js deleted file mode 100644 index db2d009ac..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - Hello.sayHello('Hi'); - Hello.sayHi('Hi'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.0/bundle.transpiled.js b/test/comparison-tests/declarationDeps/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index ebad477a1..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - Hello.sayHello('Hi'); - Hello.sayHi('Hi'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index 11851f989..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.45 kB 0 [emitted] main -chunk {0} bundle.js (main) 55 bytes [rendered] - [0] ./.test/declarationDeps/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.0/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.0/output.txt deleted file mode 100644 index 05161874a..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 41 bytes [rendered] - [0] ./.test/declarationDeps/app.ts 41 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationDeps/app.ts -(2,7): error TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.1/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-2.1/bundle.js deleted file mode 100644 index 05d119858..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -Hello.sayHello('Hi'); -Hello.sayHi('Hi'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/declarationDeps/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index 0e60d3645..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Hello.sayHello('Hi'); -Hello.sayHi('Hi'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index 17ad3b7a0..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 55 bytes [entry] [rendered] - [0] ./.test/declarationDeps/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.1/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.1/output.txt deleted file mode 100644 index 733ce84c2..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.55 kB 0 [emitted] main -chunk {0} bundle.js (main) 41 bytes [entry] [rendered] - [0] ./.test/declarationDeps/app.ts 41 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationDeps/app.ts -(2,7): error TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.js deleted file mode 100644 index 3baa3e58e..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -Hello.sayHello('Hi'); -Hello.sayHi('Hi'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.transpiled.js deleted file mode 100644 index 23796772a..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -Hello.sayHello('Hi'); -Hello.sayHi('Hi'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index e19692e5f..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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 deleted file mode 100644 index bf1c9cc65..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/declarationDeps/app.ts -(2,7): error TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.3/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-2.3/bundle.js deleted file mode 100644 index 3baa3e58e..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -Hello.sayHello('Hi'); -Hello.sayHi('Hi'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index e22a4b68b..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.3/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.3/output.txt deleted file mode 100644 index bf1c9cc65..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/declarationDeps/app.ts -(2,7): error TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.4/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-2.4/bundle.js deleted file mode 100644 index 3baa3e58e..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -Hello.sayHello('Hi'); -Hello.sayHi('Hi'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index e22a4b68b..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.4/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.4/output.txt deleted file mode 100644 index bf1c9cc65..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/declarationDeps/app.ts -(2,7): error TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.5/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-2.5/bundle.js deleted file mode 100644 index 1484e55b2..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -Hello.sayHello('Hi'); -Hello.sayHi('Hi'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index 9446b1e6a..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.51 kB 0 [emitted] main - [0] ./.test/declarationDeps/app.ts 41 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.5/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.5/output.txt deleted file mode 100644 index e11abcad2..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.51 kB 0 [emitted] main - [0] ./.test/declarationDeps/app.ts 41 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationDeps/app.ts -[tsl] ERROR in app.ts(2,7) - TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.6/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-2.6/bundle.js deleted file mode 100644 index 1484e55b2..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -Hello.sayHello('Hi'); -Hello.sayHi('Hi'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index 9446b1e6a..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.51 kB 0 [emitted] main - [0] ./.test/declarationDeps/app.ts 41 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.6/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.6/output.txt deleted file mode 100644 index e11abcad2..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.51 kB 0 [emitted] main - [0] ./.test/declarationDeps/app.ts 41 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationDeps/app.ts -[tsl] ERROR in app.ts(2,7) - TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.7/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-2.7/bundle.js deleted file mode 100644 index cfb98301f..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("Hello.sayHello('Hi');\nHello.sayHi('Hi');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 0ef1ae498..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:16:53 - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.7/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.7/output.txt deleted file mode 100644 index 806adf815..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-3-18 09:16:53 - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,7) - TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.8/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-2.8/bundle.js deleted file mode 100644 index cfb98301f..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("Hello.sayHello('Hi');\nHello.sayHi('Hi');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 560454e76..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.8/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.8/output.txt deleted file mode 100644 index e1fdd724b..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,7) - TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 568a977d3..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.78 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.0/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-3.0/output.txt deleted file mode 100644 index 31af3d0b6..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.78 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,7) - TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.1/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-3.1/bundle.js deleted file mode 100644 index 2be063c80..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("Hello.sayHello('Hi');\nHello.sayHi('Hi');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 568a977d3..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.78 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.1/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-3.1/output.txt deleted file mode 100644 index 31af3d0b6..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.78 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,7) - TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.2/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-3.2/bundle.js deleted file mode 100644 index 2be063c80..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("Hello.sayHello('Hi');\nHello.sayHi('Hi');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 568a977d3..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.78 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.2/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-3.2/output.txt deleted file mode 100644 index 31af3d0b6..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.78 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,7) - TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.3/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-3.3/bundle.js deleted file mode 100644 index 2be063c80..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("Hello.sayHello('Hi');\nHello.sayHi('Hi');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 568a977d3..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.78 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.3/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-3.3/output.txt deleted file mode 100644 index 31af3d0b6..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.78 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,7) - TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.4/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-3.4/bundle.js deleted file mode 100644 index 2be063c80..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("Hello.sayHello('Hi');\nHello.sayHi('Hi');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 568a977d3..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.78 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.4/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-3.4/output.txt deleted file mode 100644 index 31af3d0b6..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.78 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,7) - TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.5/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-3.5/bundle.js deleted file mode 100644 index 2be063c80..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("Hello.sayHello('Hi');\nHello.sayHi('Hi');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 568a977d3..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.78 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.5/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-3.5/output.txt deleted file mode 100644 index 31af3d0b6..000000000 --- a/test/comparison-tests/declarationDeps/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.78 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 41 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,7) - TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.9/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/declarationDeps/expectedOutput-2.9/bundle.js rename to test/comparison-tests/declarationDeps/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.9/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/declarationDeps/expectedOutput-2.9/output.txt rename to test/comparison-tests/declarationDeps/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.0/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/declarationDeps/expectedOutput-3.0/bundle.js rename to test/comparison-tests/declarationDeps/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/declarationDeps/expectedOutput-2.9/output.transpiled.txt rename to test/comparison-tests/declarationDeps/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/declarationOutput/expectedOutput-1.6/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-1.6/bundle.js deleted file mode 100644 index 39231401f..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - var dep = __webpack_require__(1); - var Test = (function (_super) { - __extends(Test, _super); - function Test() { - _super.apply(this, arguments); - } - Test.prototype.doSomething = function () { - }; - return Test; - })(dep); - module.exports = Test; - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - var Test = (function () { - function Test() { - } - Test.prototype.doSomething = function () { - }; - return Test; - })(); - module.exports = Test; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-1.6/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-1.6/output.txt deleted file mode 100644 index a721e05c5..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] - bundle.js 2.16 kB 0 [emitted] main -chunk {0} bundle.js (main) 675 bytes [rendered] - [0] ./.test/declarationOutput/app.ts 521 bytes {0} [built] - [1] ./.test/declarationOutput/sub/dep.ts 154 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-1.7/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-1.7/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-1.7/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-1.7/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-1.7/bundle.js deleted file mode 100644 index 39231401f..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - var dep = __webpack_require__(1); - var Test = (function (_super) { - __extends(Test, _super); - function Test() { - _super.apply(this, arguments); - } - Test.prototype.doSomething = function () { - }; - return Test; - })(dep); - module.exports = Test; - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - var Test = (function () { - function Test() { - } - Test.prototype.doSomething = function () { - }; - return Test; - })(); - module.exports = Test; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-1.7/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-1.7/output.txt deleted file mode 100644 index a721e05c5..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] - bundle.js 2.16 kB 0 [emitted] main -chunk {0} bundle.js (main) 675 bytes [rendered] - [0] ./.test/declarationOutput/app.ts 521 bytes {0} [built] - [1] ./.test/declarationOutput/sub/dep.ts 154 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-1.7/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-1.7/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-1.7/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-1.8/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-1.8/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-1.8/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-1.8/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-1.8/bundle.js deleted file mode 100644 index aeb9072bf..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,82 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - var dep = __webpack_require__(1); - var Test = (function (_super) { - __extends(Test, _super); - function Test() { - _super.apply(this, arguments); - } - Test.prototype.doSomething = function () { - }; - return Test; - }(dep)); - module.exports = Test; - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - var Test = (function () { - function Test() { - } - Test.prototype.doSomething = function () { - }; - return Test; - }()); - module.exports = Test; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-1.8/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-1.8/output.txt deleted file mode 100644 index e43f4d2fc..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] - bundle.js 2.19 kB 0 [emitted] main -chunk {0} bundle.js (main) 703 bytes [rendered] - [0] ./.test/declarationOutput/app.ts 535 bytes {0} [built] - [1] ./.test/declarationOutput/sub/dep.ts 168 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-1.8/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-1.8/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-1.8/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.0/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.0/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.0/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.0/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-2.0/bundle.js deleted file mode 100644 index aeb9072bf..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,82 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - var dep = __webpack_require__(1); - var Test = (function (_super) { - __extends(Test, _super); - function Test() { - _super.apply(this, arguments); - } - Test.prototype.doSomething = function () { - }; - return Test; - }(dep)); - module.exports = Test; - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - var Test = (function () { - function Test() { - } - Test.prototype.doSomething = function () { - }; - return Test; - }()); - module.exports = Test; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.0/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-2.0/output.txt deleted file mode 100644 index a81340adb..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 2.19 kB 0 [emitted] main - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] -chunk {0} bundle.js (main) 703 bytes [rendered] - [0] ./.test/declarationOutput/app.ts 535 bytes {0} [built] - [1] ./.test/declarationOutput/sub/dep.ts 168 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.0/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.0/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.0/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.1/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.1/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.1/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.1/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-2.1/bundle.js deleted file mode 100644 index b10f5d539..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Test = (function () { - function Test() { - } - Test.prototype.doSomething = function () { - }; - return Test; -}()); -module.exports = Test; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -}; -var dep = __webpack_require__(0); -var Test = (function (_super) { - __extends(Test, _super); - function Test() { - return _super !== null && _super.apply(this, arguments) || this; - } - Test.prototype.doSomething = function () { - }; - return Test; -}(dep)); -module.exports = Test; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.1/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-2.1/output.txt deleted file mode 100644 index 507a540a9..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.35 kB 0 [emitted] main - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] -chunk {0} bundle.js (main) 737 bytes [entry] [rendered] - [0] ./.test/declarationOutput/sub/dep.ts 168 bytes {0} [built] - [1] ./.test/declarationOutput/app.ts 569 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.1/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.1/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.1/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.2/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.2/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.2/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.2/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-2.2/bundle.js deleted file mode 100644 index 2f4564cd5..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,115 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Test = (function () { - function Test() { - } - Test.prototype.doSomething = function () { - }; - return Test; -}()); -module.exports = Test; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var __extends = (this && this.__extends) || (function () { - var extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -var dep = __webpack_require__(0); -var Test = (function (_super) { - __extends(Test, _super); - function Test() { - return _super !== null && _super.apply(this, arguments) || this; - } - Test.prototype.doSomething = function () { - }; - return Test; -}(dep)); -module.exports = Test; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.2/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-2.2/output.txt deleted file mode 100644 index be2cbc61b..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - 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] - [0] ./.test/declarationOutput/sub/dep.ts 168 bytes {0} [built] - [1] ./.test/declarationOutput/app.ts 804 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.2/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.2/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.2/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.3/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.3/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.3/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.3/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-2.3/bundle.js deleted file mode 100644 index 2f4564cd5..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,115 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Test = (function () { - function Test() { - } - Test.prototype.doSomething = function () { - }; - return Test; -}()); -module.exports = Test; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var __extends = (this && this.__extends) || (function () { - var extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -var dep = __webpack_require__(0); -var Test = (function (_super) { - __extends(Test, _super); - function Test() { - return _super !== null && _super.apply(this, arguments) || this; - } - Test.prototype.doSomething = function () { - }; - return Test; -}(dep)); -module.exports = Test; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.3/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-2.3/output.txt deleted file mode 100644 index be2cbc61b..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - 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] - [0] ./.test/declarationOutput/sub/dep.ts 168 bytes {0} [built] - [1] ./.test/declarationOutput/app.ts 804 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.3/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.3/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.3/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.4/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.4/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.4/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.4/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-2.4/bundle.js deleted file mode 100644 index 2f4564cd5..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,115 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Test = (function () { - function Test() { - } - Test.prototype.doSomething = function () { - }; - return Test; -}()); -module.exports = Test; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var __extends = (this && this.__extends) || (function () { - var extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -var dep = __webpack_require__(0); -var Test = (function (_super) { - __extends(Test, _super); - function Test() { - return _super !== null && _super.apply(this, arguments) || this; - } - Test.prototype.doSomething = function () { - }; - return Test; -}(dep)); -module.exports = Test; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.4/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-2.4/output.txt deleted file mode 100644 index be2cbc61b..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - 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] - [0] ./.test/declarationOutput/sub/dep.ts 168 bytes {0} [built] - [1] ./.test/declarationOutput/app.ts 804 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.4/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.4/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.4/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.5/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.5/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.5/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.5/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-2.5/bundle.js deleted file mode 100644 index e614532f8..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var __extends = (this && this.__extends) || (function () { - var extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -var dep = __webpack_require__(1); -var Test = /** @class */ (function (_super) { - __extends(Test, _super); - function Test() { - return _super !== null && _super.apply(this, arguments) || this; - } - Test.prototype.doSomething = function () { - }; - return Test; -}(dep)); -module.exports = Test; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Test = /** @class */ (function () { - function Test() { - } - Test.prototype.doSomething = function () { - }; - return Test; -}()); -module.exports = Test; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.5/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-2.5/output.txt deleted file mode 100644 index 38af484e4..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.58 kB 0 [emitted] main - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] - [0] ./.test/declarationOutput/app.ts 818 bytes {0} [built] - [1] ./.test/declarationOutput/sub/dep.ts 182 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.5/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.5/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.5/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.6/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.6/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.6/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.6/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-2.6/bundle.js deleted file mode 100644 index e614532f8..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var __extends = (this && this.__extends) || (function () { - var extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -var dep = __webpack_require__(1); -var Test = /** @class */ (function (_super) { - __extends(Test, _super); - function Test() { - return _super !== null && _super.apply(this, arguments) || this; - } - Test.prototype.doSomething = function () { - }; - return Test; -}(dep)); -module.exports = Test; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Test = /** @class */ (function () { - function Test() { - } - Test.prototype.doSomething = function () { - }; - return Test; -}()); -module.exports = Test; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.6/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-2.6/output.txt deleted file mode 100644 index 38af484e4..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.58 kB 0 [emitted] main - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] - [0] ./.test/declarationOutput/app.ts 818 bytes {0} [built] - [1] ./.test/declarationOutput/sub/dep.ts 182 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.6/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.6/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.6/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.7/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.7/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.7/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.7/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-2.7/bundle.js deleted file mode 100644 index 2fa6b9745..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.7/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-2.7/output.txt deleted file mode 100644 index f6be2d901..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -Built at: 2018-3-18 09:16:58 - Asset Size Chunks Chunk Names - bundle.js 4.08 KiB main [emitted] main - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 818 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.7/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.7/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.7/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.8/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.8/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.8/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.8/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-2.8/bundle.js deleted file mode 100644 index 2fa6b9745..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.8/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-2.8/output.txt deleted file mode 100644 index 518cf8a7c..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.08 KiB main [emitted] main - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 818 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.8/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.8/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.8/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.9/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.9/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.9/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.9/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-2.9/bundle.js deleted file mode 100644 index 63f5a6d8d..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.9/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-2.9/output.txt deleted file mode 100644 index 3a161be20..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 5.04 KiB main [emitted] main - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 818 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.9/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-2.9/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.9/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.0/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-3.0/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.0/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.0/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-3.0/bundle.js deleted file mode 100644 index 64091a2cb..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n }\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.0/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-3.0/output.txt deleted file mode 100644 index 3da85c4b7..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 5.13 KiB main [emitted] main - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 910 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.0/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-3.0/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.0/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.1/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-3.1/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.1/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.1/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-3.1/bundle.js deleted file mode 100644 index 64091a2cb..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n }\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.1/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-3.1/output.txt deleted file mode 100644 index 3da85c4b7..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 5.13 KiB main [emitted] main - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 910 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.1/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-3.1/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.1/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.2/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-3.2/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.2/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.2/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-3.2/bundle.js deleted file mode 100644 index 577623a74..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.2/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-3.2/output.txt deleted file mode 100644 index 411feb2ac..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 5.14 KiB main [emitted] main - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 911 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.2/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-3.2/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.2/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.3/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-3.3/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.3/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.3/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-3.3/bundle.js deleted file mode 100644 index 577623a74..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.3/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-3.3/output.txt deleted file mode 100644 index 411feb2ac..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 5.14 KiB main [emitted] main - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 911 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.3/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-3.3/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.3/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.4/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-3.4/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.4/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.4/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-3.4/bundle.js deleted file mode 100644 index 577623a74..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.4/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-3.4/output.txt deleted file mode 100644 index 411feb2ac..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 5.14 KiB main [emitted] main - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 911 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.4/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-3.4/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.4/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.5/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-3.5/app.d.ts deleted file mode 100644 index 42c1b770a..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.5/app.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.5/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-3.5/bundle.js deleted file mode 100644 index 577623a74..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.5/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-3.5/output.txt deleted file mode 100644 index 411feb2ac..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 5.14 KiB main [emitted] main - app.d.ts 110 bytes [emitted] -sub/dep.d.ts 63 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 911 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-3.5/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-3.5/sub/dep.d.ts deleted file mode 100644 index 0d9a53ad0..000000000 --- a/test/comparison-tests/declarationOutput/expectedOutput-3.5/sub/dep.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-1.6/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-4.0/.output/app.d.ts similarity index 100% rename from test/comparison-tests/declarationOutput/expectedOutput-1.6/app.d.ts rename to test/comparison-tests/declarationOutput/expectedOutput-4.0/.output/app.d.ts diff --git a/test/comparison-tests/declarationOutput/expectedOutput-1.6/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-4.0/.output/sub/dep.d.ts similarity index 100% rename from test/comparison-tests/declarationOutput/expectedOutput-1.6/sub/dep.d.ts rename to test/comparison-tests/declarationOutput/expectedOutput-4.0/.output/sub/dep.d.ts diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.0/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..66229e8d6 --- /dev/null +++ b/test/comparison-tests/declarationOutput/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./sub/dep.ts": +/*!********************!*\ + !*** ./sub/dep.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.0/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..9a079e034 --- /dev/null +++ b/test/comparison-tests/declarationOutput/expectedOutput-4.0/output.txt @@ -0,0 +1,7 @@ + Asset Size Chunks Chunk Names + .output/app.d.ts 110 bytes [emitted] +.output/sub/dep.d.ts 63 bytes [emitted] + bundle.js 5.14 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 911 bytes {main} [built] +[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/bundle.js b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/bundle.js deleted file mode 100644 index 64091a2cb..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n }\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/output.txt b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/output.txt deleted file mode 100644 index eeeb27f95..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 5.13 KiB main [emitted] main - app.d.ts.map 197 bytes [emitted] - app.d.ts 143 bytes [emitted] -sub/dep.d.ts.map 152 bytes [emitted] - sub/dep.d.ts 96 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 910 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/app.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/app.d.ts deleted file mode 100644 index dffb18358..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/app.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; -//# sourceMappingURL=app.d.ts.map \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/app.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/app.d.ts.map deleted file mode 100644 index 48bc3c227..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/app.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,GAAG,QAAQ,WAAW,CAAC,CAAC;AAElC,cAAM,IAAK,SAAQ,GAAG;IACrB,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/bundle.js b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/bundle.js deleted file mode 100644 index 64091a2cb..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n }\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/output.txt b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/output.txt deleted file mode 100644 index eeeb27f95..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 5.13 KiB main [emitted] main - app.d.ts.map 197 bytes [emitted] - app.d.ts 143 bytes [emitted] -sub/dep.d.ts.map 152 bytes [emitted] - sub/dep.d.ts 96 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 910 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/sub/dep.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/sub/dep.d.ts deleted file mode 100644 index 5708986f8..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/sub/dep.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; -//# sourceMappingURL=dep.d.ts.map \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/sub/dep.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/sub/dep.d.ts.map deleted file mode 100644 index 9da4dc7f3..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.1/sub/dep.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"dep.d.ts","sourceRoot":"","sources":["../../sub/dep.ts"],"names":[],"mappings":"AACA,cAAM,IAAI;IACT,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/app.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/app.d.ts deleted file mode 100644 index dffb18358..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/app.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; -//# sourceMappingURL=app.d.ts.map \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/app.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/app.d.ts.map deleted file mode 100644 index 48bc3c227..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/app.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,GAAG,QAAQ,WAAW,CAAC,CAAC;AAElC,cAAM,IAAK,SAAQ,GAAG;IACrB,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/bundle.js b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/bundle.js deleted file mode 100644 index 577623a74..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/output.txt b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/output.txt deleted file mode 100644 index 2e52c2fdf..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 5.14 KiB main [emitted] main - app.d.ts.map 197 bytes [emitted] - app.d.ts 143 bytes [emitted] -sub/dep.d.ts.map 152 bytes [emitted] - sub/dep.d.ts 96 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 911 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/sub/dep.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/sub/dep.d.ts deleted file mode 100644 index 5708986f8..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/sub/dep.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; -//# sourceMappingURL=dep.d.ts.map \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/sub/dep.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/sub/dep.d.ts.map deleted file mode 100644 index 9da4dc7f3..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.2/sub/dep.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"dep.d.ts","sourceRoot":"","sources":["../../sub/dep.ts"],"names":[],"mappings":"AACA,cAAM,IAAI;IACT,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/app.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/app.d.ts deleted file mode 100644 index dffb18358..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/app.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; -//# sourceMappingURL=app.d.ts.map \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/app.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/app.d.ts.map deleted file mode 100644 index 48bc3c227..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/app.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,GAAG,QAAQ,WAAW,CAAC,CAAC;AAElC,cAAM,IAAK,SAAQ,GAAG;IACrB,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/bundle.js b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/bundle.js deleted file mode 100644 index 577623a74..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/output.txt b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/output.txt deleted file mode 100644 index 2e52c2fdf..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 5.14 KiB main [emitted] main - app.d.ts.map 197 bytes [emitted] - app.d.ts 143 bytes [emitted] -sub/dep.d.ts.map 152 bytes [emitted] - sub/dep.d.ts 96 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 911 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/sub/dep.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/sub/dep.d.ts deleted file mode 100644 index 5708986f8..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/sub/dep.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; -//# sourceMappingURL=dep.d.ts.map \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/sub/dep.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/sub/dep.d.ts.map deleted file mode 100644 index 9da4dc7f3..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.3/sub/dep.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"dep.d.ts","sourceRoot":"","sources":["../../sub/dep.ts"],"names":[],"mappings":"AACA,cAAM,IAAI;IACT,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/app.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/app.d.ts deleted file mode 100644 index dffb18358..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/app.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; -//# sourceMappingURL=app.d.ts.map \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/app.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/app.d.ts.map deleted file mode 100644 index 48bc3c227..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/app.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,GAAG,QAAQ,WAAW,CAAC,CAAC;AAElC,cAAM,IAAK,SAAQ,GAAG;IACrB,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/bundle.js b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/bundle.js deleted file mode 100644 index 577623a74..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/output.txt b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/output.txt deleted file mode 100644 index 2e52c2fdf..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 5.14 KiB main [emitted] main - app.d.ts.map 197 bytes [emitted] - app.d.ts 143 bytes [emitted] -sub/dep.d.ts.map 152 bytes [emitted] - sub/dep.d.ts 96 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 911 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/sub/dep.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/sub/dep.d.ts deleted file mode 100644 index 5708986f8..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/sub/dep.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; -//# sourceMappingURL=dep.d.ts.map \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/sub/dep.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/sub/dep.d.ts.map deleted file mode 100644 index 9da4dc7f3..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.4/sub/dep.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"dep.d.ts","sourceRoot":"","sources":["../../sub/dep.ts"],"names":[],"mappings":"AACA,cAAM,IAAI;IACT,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/app.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/app.d.ts deleted file mode 100644 index dffb18358..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/app.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import dep = require('./sub/dep'); -declare class Test extends dep { - doSomething(): void; -} -export = Test; -//# sourceMappingURL=app.d.ts.map \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/app.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/app.d.ts.map deleted file mode 100644 index 48bc3c227..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/app.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,GAAG,QAAQ,WAAW,CAAC,CAAC;AAElC,cAAM,IAAK,SAAQ,GAAG;IACrB,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/bundle.js b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/bundle.js deleted file mode 100644 index 577623a74..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/output.txt b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/output.txt deleted file mode 100644 index 2e52c2fdf..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 5.14 KiB main [emitted] main - app.d.ts.map 197 bytes [emitted] - app.d.ts 143 bytes [emitted] -sub/dep.d.ts.map 152 bytes [emitted] - sub/dep.d.ts 96 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 911 bytes {main} [built] -[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/sub/dep.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/sub/dep.d.ts deleted file mode 100644 index 5708986f8..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/sub/dep.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare class Test { - doSomething(): void; -} -export = Test; -//# sourceMappingURL=dep.d.ts.map \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/sub/dep.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/sub/dep.d.ts.map deleted file mode 100644 index 9da4dc7f3..000000000 --- a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.5/sub/dep.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"dep.d.ts","sourceRoot":"","sources":["../../sub/dep.ts"],"names":[],"mappings":"AACA,cAAM,IAAI;IACT,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/app.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/.output/app.d.ts similarity index 100% rename from test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/app.d.ts rename to test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/.output/app.d.ts diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/app.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/.output/app.d.ts.map similarity index 100% rename from test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/app.d.ts.map rename to test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/.output/app.d.ts.map diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/sub/dep.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/.output/sub/dep.d.ts similarity index 100% rename from test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/sub/dep.d.ts rename to test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/.output/sub/dep.d.ts diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/sub/dep.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/.output/sub/dep.d.ts.map similarity index 100% rename from test/comparison-tests/declarationOutputWithMaps/expectedOutput-3.0/sub/dep.d.ts.map rename to test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/.output/sub/dep.d.ts.map diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/bundle.js b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..66229e8d6 --- /dev/null +++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./sub/dep.ts": +/*!********************!*\ + !*** ./sub/dep.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/output.txt b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..ca3e2e714 --- /dev/null +++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + .output/app.d.ts 143 bytes [emitted] + .output/app.d.ts.map 197 bytes [emitted] + .output/sub/dep.d.ts 96 bytes [emitted] +.output/sub/dep.d.ts.map 152 bytes [emitted] + bundle.js 5.14 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 911 bytes {main} [built] +[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.6/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-1.6/bundle.js deleted file mode 100644 index e22befe59..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(1); - console.log(dep); - Thing.doSomething(); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - Thing.doSomething(); - module.exports = 'dep'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.6/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-1.6/output.txt deleted file mode 100644 index 111f00c5d..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.58 kB 0 [emitted] main -chunk {0} bundle.js (main) 112 bytes [rendered] - [0] ./.test/declarationWatch/app.ts 67 bytes {0} [built] - [1] ./.test/declarationWatch/dep.ts 45 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.6/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-1.6/patch0/bundle.js deleted file mode 100644 index e22befe59..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.6/patch0/bundle.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(1); - console.log(dep); - Thing.doSomething(); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - Thing.doSomething(); - module.exports = 'dep'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.6/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-1.6/patch0/output.txt deleted file mode 100644 index ff002e35f..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.6/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.58 kB 0 [emitted] main -chunk {0} bundle.js (main) 112 bytes [rendered] - [0] ./.test/declarationWatch/app.ts 67 bytes {0} [built] [1 error] - [1] ./.test/declarationWatch/dep.ts 45 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationWatch/dep.ts -(1,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in ./.test/declarationWatch/app.ts -(5,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.6/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-1.6/patch1/bundle.js deleted file mode 100644 index e22befe59..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.6/patch1/bundle.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(1); - console.log(dep); - Thing.doSomething(); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - Thing.doSomething(); - module.exports = 'dep'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.6/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-1.6/patch1/output.txt deleted file mode 100644 index 111f00c5d..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.6/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.58 kB 0 [emitted] main -chunk {0} bundle.js (main) 112 bytes [rendered] - [0] ./.test/declarationWatch/app.ts 67 bytes {0} [built] - [1] ./.test/declarationWatch/dep.ts 45 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.7/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-1.7/bundle.js deleted file mode 100644 index e22befe59..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(1); - console.log(dep); - Thing.doSomething(); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - Thing.doSomething(); - module.exports = 'dep'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.7/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-1.7/output.txt deleted file mode 100644 index 111f00c5d..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.58 kB 0 [emitted] main -chunk {0} bundle.js (main) 112 bytes [rendered] - [0] ./.test/declarationWatch/app.ts 67 bytes {0} [built] - [1] ./.test/declarationWatch/dep.ts 45 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.7/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-1.7/patch0/bundle.js deleted file mode 100644 index e22befe59..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.7/patch0/bundle.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(1); - console.log(dep); - Thing.doSomething(); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - Thing.doSomething(); - module.exports = 'dep'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.7/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-1.7/patch0/output.txt deleted file mode 100644 index ff002e35f..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.7/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.58 kB 0 [emitted] main -chunk {0} bundle.js (main) 112 bytes [rendered] - [0] ./.test/declarationWatch/app.ts 67 bytes {0} [built] [1 error] - [1] ./.test/declarationWatch/dep.ts 45 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationWatch/dep.ts -(1,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in ./.test/declarationWatch/app.ts -(5,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.7/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-1.7/patch1/bundle.js deleted file mode 100644 index e22befe59..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.7/patch1/bundle.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(1); - console.log(dep); - Thing.doSomething(); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - Thing.doSomething(); - module.exports = 'dep'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.7/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-1.7/patch1/output.txt deleted file mode 100644 index 111f00c5d..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.7/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.58 kB 0 [emitted] main -chunk {0} bundle.js (main) 112 bytes [rendered] - [0] ./.test/declarationWatch/app.ts 67 bytes {0} [built] - [1] ./.test/declarationWatch/dep.ts 45 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.8/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-1.8/bundle.js deleted file mode 100644 index 1fba797a5..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,63 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(1); - console.log(dep); - Thing.doSomething(); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - Thing.doSomething(); - module.exports = 'dep'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.8/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-1.8/output.txt deleted file mode 100644 index fd5f3c65f..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 140 bytes [rendered] - [0] ./.test/declarationWatch/app.ts 81 bytes {0} [built] - [1] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.8/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-1.8/patch0/bundle.js deleted file mode 100644 index 1fba797a5..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.8/patch0/bundle.js +++ /dev/null @@ -1,63 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(1); - console.log(dep); - Thing.doSomething(); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - Thing.doSomething(); - module.exports = 'dep'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.8/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-1.8/patch0/output.txt deleted file mode 100644 index 6d0d2db02..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.8/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 140 bytes [rendered] - [0] ./.test/declarationWatch/app.ts 81 bytes {0} [built] [1 error] - [1] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationWatch/dep.ts -(1,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in ./.test/declarationWatch/app.ts -(5,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.8/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-1.8/patch1/bundle.js deleted file mode 100644 index 1fba797a5..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.8/patch1/bundle.js +++ /dev/null @@ -1,63 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(1); - console.log(dep); - Thing.doSomething(); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - Thing.doSomething(); - module.exports = 'dep'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-1.8/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-1.8/patch1/output.txt deleted file mode 100644 index fd5f3c65f..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-1.8/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 140 bytes [rendered] - [0] ./.test/declarationWatch/app.ts 81 bytes {0} [built] - [1] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.0/bundle.js deleted file mode 100644 index 1fba797a5..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,63 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(1); - console.log(dep); - Thing.doSomething(); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - Thing.doSomething(); - module.exports = 'dep'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.0/output.txt deleted file mode 100644 index fd5f3c65f..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 140 bytes [rendered] - [0] ./.test/declarationWatch/app.ts 81 bytes {0} [built] - [1] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.0/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.0/patch0/bundle.js deleted file mode 100644 index 1fba797a5..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.0/patch0/bundle.js +++ /dev/null @@ -1,63 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(1); - console.log(dep); - Thing.doSomething(); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - Thing.doSomething(); - module.exports = 'dep'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.0/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.0/patch0/output.txt deleted file mode 100644 index 6d0d2db02..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.0/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 140 bytes [rendered] - [0] ./.test/declarationWatch/app.ts 81 bytes {0} [built] [1 error] - [1] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationWatch/dep.ts -(1,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in ./.test/declarationWatch/app.ts -(5,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.0/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.0/patch1/bundle.js deleted file mode 100644 index 1fba797a5..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.0/patch1/bundle.js +++ /dev/null @@ -1,63 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(1); - console.log(dep); - Thing.doSomething(); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - Thing.doSomething(); - module.exports = 'dep'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.0/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.0/patch1/output.txt deleted file mode 100644 index fd5f3c65f..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.0/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 140 bytes [rendered] - [0] ./.test/declarationWatch/app.ts 81 bytes {0} [built] - [1] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.1/bundle.js deleted file mode 100644 index 2e5271295..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,91 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(0); -console.log(dep); -Thing.doSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.1/output.txt deleted file mode 100644 index ef97ea45b..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main -chunk {0} bundle.js (main) 140 bytes [entry] [rendered] - [0] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] - [1] ./.test/declarationWatch/app.ts 81 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.1/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.1/patch0/bundle.js deleted file mode 100644 index 2e5271295..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.1/patch0/bundle.js +++ /dev/null @@ -1,91 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(0); -console.log(dep); -Thing.doSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.1/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.1/patch0/output.txt deleted file mode 100644 index fe9bc7beb..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.1/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main -chunk {0} bundle.js (main) 140 bytes [entry] [rendered] - [0] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] [1 error] - [1] ./.test/declarationWatch/app.ts 81 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationWatch/dep.ts -(1,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in ./.test/declarationWatch/app.ts -(5,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.1/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.1/patch1/bundle.js deleted file mode 100644 index 2e5271295..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.1/patch1/bundle.js +++ /dev/null @@ -1,91 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(0); -console.log(dep); -Thing.doSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.1/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.1/patch1/output.txt deleted file mode 100644 index ef97ea45b..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.1/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main -chunk {0} bundle.js (main) 140 bytes [entry] [rendered] - [0] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] - [1] ./.test/declarationWatch/app.ts 81 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.2/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.2/bundle.js deleted file mode 100644 index 5c502dabe..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -console.log(dep); -Thing.doSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.2/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.2/output.txt deleted file mode 100644 index 20ef01a45..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - 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/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch0/bundle.js deleted file mode 100644 index 38059daad..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch0/bundle.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -console.log(dep); -Thing.doSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch0/output.txt deleted file mode 100644 index bd8d3ae10..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.9 kB 0 [emitted] main -chunk {0} bundle.js (main) 167 bytes [entry] [rendered] - [0] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] [1 error] - [1] ./.test/declarationWatch/app.ts 108 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationWatch/app.ts -(5,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in ./.test/declarationWatch/dep.ts -(1,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ 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 deleted file mode 100644 index 5c502dabe..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/bundle.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -console.log(dep); -Thing.doSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/output.txt deleted file mode 100644 index 20ef01a45..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - 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.3/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.3/bundle.js deleted file mode 100644 index 5c502dabe..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -console.log(dep); -Thing.doSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.3/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.3/output.txt deleted file mode 100644 index 20ef01a45..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - 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.3/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.3/patch0/bundle.js deleted file mode 100644 index 38059daad..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.3/patch0/bundle.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -console.log(dep); -Thing.doSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.3/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.3/patch0/output.txt deleted file mode 100644 index bd8d3ae10..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.3/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.9 kB 0 [emitted] main -chunk {0} bundle.js (main) 167 bytes [entry] [rendered] - [0] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] [1 error] - [1] ./.test/declarationWatch/app.ts 108 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationWatch/app.ts -(5,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in ./.test/declarationWatch/dep.ts -(1,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.3/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.3/patch1/bundle.js deleted file mode 100644 index 5c502dabe..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.3/patch1/bundle.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -console.log(dep); -Thing.doSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.3/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.3/patch1/output.txt deleted file mode 100644 index 20ef01a45..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.3/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - 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.4/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.4/bundle.js deleted file mode 100644 index 5c502dabe..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -console.log(dep); -Thing.doSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.4/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.4/output.txt deleted file mode 100644 index 20ef01a45..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - 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.4/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.4/patch0/bundle.js deleted file mode 100644 index 38059daad..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.4/patch0/bundle.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -console.log(dep); -Thing.doSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.4/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.4/patch0/output.txt deleted file mode 100644 index bd8d3ae10..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.4/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.9 kB 0 [emitted] main -chunk {0} bundle.js (main) 167 bytes [entry] [rendered] - [0] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] [1 error] - [1] ./.test/declarationWatch/app.ts 108 bytes {0} [built] [1 error] - -ERROR in ./.test/declarationWatch/app.ts -(5,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in ./.test/declarationWatch/dep.ts -(1,7): error TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.4/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.4/patch1/bundle.js deleted file mode 100644 index 5c502dabe..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.4/patch1/bundle.js +++ /dev/null @@ -1,92 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -console.log(dep); -Thing.doSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.4/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.4/patch1/output.txt deleted file mode 100644 index 20ef01a45..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.4/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - 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.5/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.5/bundle.js deleted file mode 100644 index 97a6404a5..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(1); -console.log(dep); -Thing.doSomething(); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.5/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.5/output.txt deleted file mode 100644 index 341d0ecd6..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main - [0] ./.test/declarationWatch/app.ts 108 bytes {0} [built] - [1] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.5/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.5/patch1/bundle.js deleted file mode 100644 index 97a6404a5..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.5/patch1/bundle.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(1); -console.log(dep); -Thing.doSomething(); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.5/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.5/patch1/output.txt deleted file mode 100644 index 341d0ecd6..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.5/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main - [0] ./.test/declarationWatch/app.ts 108 bytes {0} [built] - [1] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.6/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.6/bundle.js deleted file mode 100644 index 97a6404a5..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(1); -console.log(dep); -Thing.doSomething(); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.6/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.6/output.txt deleted file mode 100644 index 341d0ecd6..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main - [0] ./.test/declarationWatch/app.ts 108 bytes {0} [built] - [1] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.6/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.6/patch1/bundle.js deleted file mode 100644 index 97a6404a5..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.6/patch1/bundle.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(1); -console.log(dep); -Thing.doSomething(); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Thing.doSomething(); -module.exports = 'dep'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.6/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.6/patch1/output.txt deleted file mode 100644 index 341d0ecd6..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.6/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main - [0] ./.test/declarationWatch/app.ts 108 bytes {0} [built] - [1] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.7/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.7/bundle.js deleted file mode 100644 index 5e6ce696a..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.7/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.7/output.txt deleted file mode 100644 index 29bbc9bf5..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:17:03 - Asset Size Chunks Chunk Names -bundle.js 3.22 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.7/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.7/patch0/bundle.js deleted file mode 100644 index 5e6ce696a..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.7/patch0/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.7/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.7/patch0/output.txt deleted file mode 100644 index 9c43da090..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.7/patch0/output.txt +++ /dev/null @@ -1,16 +0,0 @@ -Built at: 2018-3-18 09:17:06 - Asset Size Chunks Chunk Names -bundle.js 3.22 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] [1 error] -[./dep.ts] 59 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in dep.ts -./dep.ts -[tsl] ERROR in dep.ts(1,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.7/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.7/patch1/bundle.js deleted file mode 100644 index 5e6ce696a..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.7/patch1/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.7/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.7/patch1/output.txt deleted file mode 100644 index 1cb98e0c4..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.7/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:17:08 - Asset Size Chunks Chunk Names -bundle.js 3.22 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.8/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.8/bundle.js deleted file mode 100644 index 5e6ce696a..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.8/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.8/output.txt deleted file mode 100644 index 2756d6460..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.22 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.8/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.8/patch0/bundle.js deleted file mode 100644 index 5e6ce696a..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.8/patch0/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.8/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.8/patch0/output.txt deleted file mode 100644 index 577db1253..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.8/patch0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.22 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] [1 error] -[./dep.ts] 59 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in dep.ts -./dep.ts -[tsl] ERROR in dep.ts(1,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.8/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.8/patch1/bundle.js deleted file mode 100644 index 5e6ce696a..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.8/patch1/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.8/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.8/patch1/output.txt deleted file mode 100644 index 2756d6460..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.8/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.22 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.0/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.0/output.txt deleted file mode 100644 index c9b617373..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.0/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.0/patch0/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.0/patch0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.0/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.0/patch0/output.txt deleted file mode 100644 index f818ddc7c..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.0/patch0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] [1 error] -[./dep.ts] 59 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in dep.ts -./dep.ts -[tsl] ERROR in dep.ts(1,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.0/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.0/patch1/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.0/patch1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.0/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.0/patch1/output.txt deleted file mode 100644 index c9b617373..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.0/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.1/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.1/output.txt deleted file mode 100644 index c9b617373..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.1/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.1/patch0/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.1/patch0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.1/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.1/patch0/output.txt deleted file mode 100644 index f818ddc7c..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.1/patch0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] [1 error] -[./dep.ts] 59 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in dep.ts -./dep.ts -[tsl] ERROR in dep.ts(1,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.1/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.1/patch1/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.1/patch1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.1/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.1/patch1/output.txt deleted file mode 100644 index c9b617373..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.1/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.2/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.2/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.2/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.2/output.txt deleted file mode 100644 index c9b617373..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.2/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.2/patch0/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.2/patch0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.2/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.2/patch0/output.txt deleted file mode 100644 index f818ddc7c..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.2/patch0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] [1 error] -[./dep.ts] 59 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in dep.ts -./dep.ts -[tsl] ERROR in dep.ts(1,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.2/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.2/patch1/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.2/patch1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.2/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.2/patch1/output.txt deleted file mode 100644 index c9b617373..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.2/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.3/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.3/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.3/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.3/output.txt deleted file mode 100644 index c9b617373..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.3/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.3/patch0/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.3/patch0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.3/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.3/patch0/output.txt deleted file mode 100644 index f818ddc7c..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.3/patch0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] [1 error] -[./dep.ts] 59 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in dep.ts -./dep.ts -[tsl] ERROR in dep.ts(1,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.3/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.3/patch1/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.3/patch1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.3/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.3/patch1/output.txt deleted file mode 100644 index c9b617373..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.3/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.4/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.4/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.4/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.4/output.txt deleted file mode 100644 index c9b617373..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.4/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.4/patch0/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.4/patch0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.4/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.4/patch0/output.txt deleted file mode 100644 index f818ddc7c..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.4/patch0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] [1 error] -[./dep.ts] 59 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in dep.ts -./dep.ts -[tsl] ERROR in dep.ts(1,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.4/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.4/patch1/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.4/patch1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.4/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.4/patch1/output.txt deleted file mode 100644 index c9b617373..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.4/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.5/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.5/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.5/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.5/output.txt deleted file mode 100644 index c9b617373..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.5/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.5/patch0/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.5/patch0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.5/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.5/patch0/output.txt deleted file mode 100644 index f818ddc7c..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.5/patch0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] [1 error] -[./dep.ts] 59 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. - -ERROR in dep.ts -./dep.ts -[tsl] ERROR in dep.ts(1,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.5/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-3.5/patch1/bundle.js deleted file mode 100644 index 79d3f4450..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.5/patch1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-3.5/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-3.5/patch1/output.txt deleted file mode 100644 index c9b617373..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-3.5/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.18 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 108 bytes {main} [built] -[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.9/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/declarationWatch/expectedOutput-2.9/bundle.js rename to test/comparison-tests/declarationWatch/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.9/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/declarationWatch/expectedOutput-2.9/output.txt rename to test/comparison-tests/declarationWatch/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.9/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/declarationWatch/expectedOutput-2.9/patch0/bundle.js rename to test/comparison-tests/declarationWatch/expectedOutput-4.0/patch0/bundle.js diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.9/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/declarationWatch/expectedOutput-2.9/patch0/output.txt rename to test/comparison-tests/declarationWatch/expectedOutput-4.0/patch0/output.txt diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.9/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-4.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/declarationWatch/expectedOutput-2.9/patch1/bundle.js rename to test/comparison-tests/declarationWatch/expectedOutput-4.0/patch1/bundle.js diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.9/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/declarationWatch/expectedOutput-2.9/patch1/output.txt rename to test/comparison-tests/declarationWatch/expectedOutput-4.0/patch1/output.txt diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.6/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-1.6/bundle.js deleted file mode 100644 index e4e5ba015..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,72 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep1 = __webpack_require__(1); - var dep2 = __webpack_require__(2); - dep1(''); - dep2(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.6/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-1.6/output.transpiled.txt deleted file mode 100644 index d745f4aed..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.6/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 204 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 80 bytes {0} [built] - [1] ./.test/dependencyErrors/dep1.ts 62 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 62 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.6/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-1.6/output.txt deleted file mode 100644 index 52ac5df15..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,12 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 204 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 80 bytes {0} [built] [2 errors] - [1] ./.test/dependencyErrors/dep1.ts 62 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 62 bytes {0} [built] - -ERROR in ./.test/dependencyErrors/app.ts -(4,6): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.6/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-1.6/patch0/bundle.js deleted file mode 100644 index e4e5ba015..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.6/patch0/bundle.js +++ /dev/null @@ -1,72 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep1 = __webpack_require__(1); - var dep2 = __webpack_require__(2); - dep1(''); - dep2(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.6/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-1.6/patch0/output.transpiled.txt deleted file mode 100644 index 844bf801a..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.6/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 204 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 80 bytes {0} - [1] ./.test/dependencyErrors/dep1.ts 62 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 62 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.6/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-1.6/patch0/output.txt deleted file mode 100644 index d93270919..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.6/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 204 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 80 bytes {0} [built] [1 error] - [1] ./.test/dependencyErrors/dep1.ts 62 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 62 bytes {0} - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.7/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-1.7/bundle.js deleted file mode 100644 index e4e5ba015..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,72 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep1 = __webpack_require__(1); - var dep2 = __webpack_require__(2); - dep1(''); - dep2(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.7/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-1.7/output.transpiled.txt deleted file mode 100644 index d745f4aed..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.7/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 204 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 80 bytes {0} [built] - [1] ./.test/dependencyErrors/dep1.ts 62 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 62 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.7/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-1.7/output.txt deleted file mode 100644 index 52ac5df15..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,12 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 204 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 80 bytes {0} [built] [2 errors] - [1] ./.test/dependencyErrors/dep1.ts 62 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 62 bytes {0} [built] - -ERROR in ./.test/dependencyErrors/app.ts -(4,6): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.7/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-1.7/patch0/bundle.js deleted file mode 100644 index e4e5ba015..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.7/patch0/bundle.js +++ /dev/null @@ -1,72 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep1 = __webpack_require__(1); - var dep2 = __webpack_require__(2); - dep1(''); - dep2(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.7/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-1.7/patch0/output.transpiled.txt deleted file mode 100644 index 844bf801a..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 204 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 80 bytes {0} - [1] ./.test/dependencyErrors/dep1.ts 62 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 62 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.7/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-1.7/patch0/output.txt deleted file mode 100644 index d93270919..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.7/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 204 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 80 bytes {0} [built] [1 error] - [1] ./.test/dependencyErrors/dep1.ts 62 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 62 bytes {0} - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.8/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-1.8/bundle.js deleted file mode 100644 index 6b20d22bf..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep1 = __webpack_require__(1); - var dep2 = __webpack_require__(2); - dep1(''); - dep2(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index b9efa405e..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.78 kB 0 [emitted] main -chunk {0} bundle.js (main) 246 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 94 bytes {0} [built] - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.8/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-1.8/output.txt deleted file mode 100644 index 4a5022c65..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,12 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.78 kB 0 [emitted] main -chunk {0} bundle.js (main) 246 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 94 bytes {0} [built] [2 errors] - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} [built] - -ERROR in ./.test/dependencyErrors/app.ts -(4,6): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.8/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-1.8/patch0/bundle.js deleted file mode 100644 index 6b20d22bf..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.8/patch0/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep1 = __webpack_require__(1); - var dep2 = __webpack_require__(2); - dep1(''); - dep2(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.8/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-1.8/patch0/output.transpiled.txt deleted file mode 100644 index 3c6bb2dee..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.78 kB 0 [emitted] main -chunk {0} bundle.js (main) 246 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 94 bytes {0} - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-1.8/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-1.8/patch0/output.txt deleted file mode 100644 index fed341313..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-1.8/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.78 kB 0 [emitted] main -chunk {0} bundle.js (main) 246 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 94 bytes {0} [built] [1 error] - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.0/bundle.js deleted file mode 100644 index 6b20d22bf..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep1 = __webpack_require__(1); - var dep2 = __webpack_require__(2); - dep1(''); - dep2(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index b9efa405e..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.78 kB 0 [emitted] main -chunk {0} bundle.js (main) 246 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 94 bytes {0} [built] - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.0/output.txt deleted file mode 100644 index 4a5022c65..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,12 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.78 kB 0 [emitted] main -chunk {0} bundle.js (main) 246 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 94 bytes {0} [built] [2 errors] - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} [built] - -ERROR in ./.test/dependencyErrors/app.ts -(4,6): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.0/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.0/patch0/bundle.js deleted file mode 100644 index 6b20d22bf..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.0/patch0/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep1 = __webpack_require__(1); - var dep2 = __webpack_require__(2); - dep1(''); - dep2(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.0/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.0/patch0/output.transpiled.txt deleted file mode 100644 index 3c6bb2dee..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.78 kB 0 [emitted] main -chunk {0} bundle.js (main) 246 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 94 bytes {0} - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.0/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.0/patch0/output.txt deleted file mode 100644 index fed341313..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.0/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.78 kB 0 [emitted] main -chunk {0} bundle.js (main) 246 bytes [rendered] - [0] ./.test/dependencyErrors/app.ts 94 bytes {0} [built] [1 error] - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.1/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.1/bundle.js deleted file mode 100644 index 26e4f174d..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,104 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep1 = __webpack_require__(0); -var dep2 = __webpack_require__(1); -dep1(''); -dep2(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index 834db8d3e..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.94 kB 0 [emitted] main -chunk {0} bundle.js (main) 246 bytes [entry] [rendered] - [0] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [1] ./.test/dependencyErrors/dep2.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/app.ts 94 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.1/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.1/output.txt deleted file mode 100644 index b7fbfe407..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,12 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.94 kB 0 [emitted] main -chunk {0} bundle.js (main) 246 bytes [entry] [rendered] - [0] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [1] ./.test/dependencyErrors/dep2.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/app.ts 94 bytes {0} [built] [2 errors] - -ERROR in ./.test/dependencyErrors/app.ts -(4,6): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.1/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.1/patch0/bundle.js deleted file mode 100644 index 26e4f174d..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.1/patch0/bundle.js +++ /dev/null @@ -1,104 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep1 = __webpack_require__(0); -var dep2 = __webpack_require__(1); -dep1(''); -dep2(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.1/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.1/patch0/output.transpiled.txt deleted file mode 100644 index 1cce9ba6e..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.94 kB 0 [emitted] main -chunk {0} bundle.js (main) 246 bytes [entry] [rendered] - [0] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [1] ./.test/dependencyErrors/dep2.ts 76 bytes {0} - [2] ./.test/dependencyErrors/app.ts 94 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.1/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.1/patch0/output.txt deleted file mode 100644 index 74af0975c..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.1/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.94 kB 0 [emitted] main -chunk {0} bundle.js (main) 246 bytes [entry] [rendered] - [0] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [1] ./.test/dependencyErrors/dep2.ts 76 bytes {0} - [2] ./.test/dependencyErrors/app.ts 94 bytes {0} [built] [1 error] - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ 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 deleted file mode 100644 index f7b9a2058..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,105 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep1 = __webpack_require__(0); -var dep2 = __webpack_require__(1); -dep1(''); -dep2(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index 0dc3f8a8f..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - 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] - [2] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.txt deleted file mode 100644 index 5232a8d4b..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,12 +0,0 @@ - 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] - [2] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] [2 errors] - -ERROR in ./.test/dependencyErrors/app.ts -(4,6): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/bundle.js deleted file mode 100644 index f7b9a2058..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/bundle.js +++ /dev/null @@ -1,105 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep1 = __webpack_require__(0); -var dep2 = __webpack_require__(1); -dep1(''); -dep2(''); - - -/***/ }) -/******/ ]); \ No newline at end of file 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 deleted file mode 100644 index aa1b88511..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - 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} - [2] ./.test/dependencyErrors/app.ts 121 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.txt deleted file mode 100644 index 16d0b8827..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - 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} - [2] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] [1 error] - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.3/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.3/bundle.js deleted file mode 100644 index f7b9a2058..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,105 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep1 = __webpack_require__(0); -var dep2 = __webpack_require__(1); -dep1(''); -dep2(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index 0dc3f8a8f..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - 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] - [2] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.3/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.3/output.txt deleted file mode 100644 index 5232a8d4b..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,12 +0,0 @@ - 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] - [2] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] [2 errors] - -ERROR in ./.test/dependencyErrors/app.ts -(4,6): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.3/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.3/patch0/bundle.js deleted file mode 100644 index f7b9a2058..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.3/patch0/bundle.js +++ /dev/null @@ -1,105 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep1 = __webpack_require__(0); -var dep2 = __webpack_require__(1); -dep1(''); -dep2(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.3/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.3/patch0/output.transpiled.txt deleted file mode 100644 index aa1b88511..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - 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} - [2] ./.test/dependencyErrors/app.ts 121 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.3/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.3/patch0/output.txt deleted file mode 100644 index 16d0b8827..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.3/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - 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} - [2] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] [1 error] - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.4/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.4/bundle.js deleted file mode 100644 index f7b9a2058..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,105 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep1 = __webpack_require__(0); -var dep2 = __webpack_require__(1); -dep1(''); -dep2(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index 0dc3f8a8f..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - 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] - [2] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.4/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.4/output.txt deleted file mode 100644 index 5232a8d4b..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,12 +0,0 @@ - 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] - [2] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] [2 errors] - -ERROR in ./.test/dependencyErrors/app.ts -(4,6): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.4/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.4/patch0/bundle.js deleted file mode 100644 index f7b9a2058..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.4/patch0/bundle.js +++ /dev/null @@ -1,105 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep1 = __webpack_require__(0); -var dep2 = __webpack_require__(1); -dep1(''); -dep2(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.4/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.4/patch0/output.transpiled.txt deleted file mode 100644 index aa1b88511..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - 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} - [2] ./.test/dependencyErrors/app.ts 121 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.4/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.4/patch0/output.txt deleted file mode 100644 index 16d0b8827..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.4/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - 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} - [2] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] [1 error] - -ERROR in ./.test/dependencyErrors/app.ts -(5,6): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.5/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.5/bundle.js deleted file mode 100644 index e6eecfd5a..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep1 = __webpack_require__(1); -var dep2 = __webpack_require__(2); -dep1(''); -dep2(''); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index 8f1a61842..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.93 kB 0 [emitted] main - [0] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.5/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.5/output.txt deleted file mode 100644 index 00a926ade..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.93 kB 0 [emitted] main - [0] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] [2 errors] - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} [built] - -ERROR in ./.test/dependencyErrors/app.ts -[tsl] ERROR in app.ts(4,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in ./.test/dependencyErrors/app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.5/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.5/patch0/bundle.js deleted file mode 100644 index e6eecfd5a..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.5/patch0/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep1 = __webpack_require__(1); -var dep2 = __webpack_require__(2); -dep1(''); -dep2(''); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.5/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.5/patch0/output.transpiled.txt deleted file mode 100644 index 1279c2cf0..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.93 kB 0 [emitted] main - [0] ./.test/dependencyErrors/app.ts 121 bytes {0} - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.5/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.5/patch0/output.txt deleted file mode 100644 index b7f900f09..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.5/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.93 kB 0 [emitted] main - [0] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] [1 error] - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} - -ERROR in ./.test/dependencyErrors/app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.6/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.6/bundle.js deleted file mode 100644 index e6eecfd5a..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep1 = __webpack_require__(1); -var dep2 = __webpack_require__(2); -dep1(''); -dep2(''); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index 8f1a61842..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.93 kB 0 [emitted] main - [0] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.6/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.6/output.txt deleted file mode 100644 index 00a926ade..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.93 kB 0 [emitted] main - [0] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] [2 errors] - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} [built] - -ERROR in ./.test/dependencyErrors/app.ts -[tsl] ERROR in app.ts(4,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in ./.test/dependencyErrors/app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.6/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.6/patch0/bundle.js deleted file mode 100644 index e6eecfd5a..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.6/patch0/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep1 = __webpack_require__(1); -var dep2 = __webpack_require__(2); -dep1(''); -dep2(''); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.6/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.6/patch0/output.transpiled.txt deleted file mode 100644 index 1279c2cf0..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.6/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.93 kB 0 [emitted] main - [0] ./.test/dependencyErrors/app.ts 121 bytes {0} - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.6/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.6/patch0/output.txt deleted file mode 100644 index b7f900f09..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.6/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.93 kB 0 [emitted] main - [0] ./.test/dependencyErrors/app.ts 121 bytes {0} [built] [1 error] - [1] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] - [2] ./.test/dependencyErrors/dep2.ts 76 bytes {0} - -ERROR in ./.test/dependencyErrors/app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.7/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.7/bundle.js deleted file mode 100644 index ac668b771..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 663192c25..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:17:19 - Asset Size Chunks Chunk Names -bundle.js 3.6 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.7/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.7/output.txt deleted file mode 100644 index c6fe07f06..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,17 +0,0 @@ -Built at: 2018-3-18 09:17:15 - Asset Size Chunks Chunk Names -bundle.js 3.6 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [2 errors] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.7/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.7/patch0/bundle.js deleted file mode 100644 index ac668b771..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.7/patch0/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.7/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.7/patch0/output.transpiled.txt deleted file mode 100644 index 2d6f7b2fd..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:17:21 - Asset Size Chunks Chunk Names -bundle.js 3.6 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.7/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.7/patch0/output.txt deleted file mode 100644 index 8a5df31a8..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.7/patch0/output.txt +++ /dev/null @@ -1,12 +0,0 @@ -Built at: 2018-3-18 09:17:18 - Asset Size Chunks Chunk Names -bundle.js 3.6 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [1 error] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.8/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.8/bundle.js deleted file mode 100644 index ac668b771..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 530922dac..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.6 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.8/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.8/output.txt deleted file mode 100644 index e7f1ce0ce..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.6 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [2 errors] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.8/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.8/patch0/bundle.js deleted file mode 100644 index ac668b771..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.8/patch0/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.8/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.8/patch0/output.transpiled.txt deleted file mode 100644 index 446f50d9c..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.6 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.8/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.8/patch0/output.txt deleted file mode 100644 index 983ec3d69..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.8/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.6 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [1 error] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 0b346f752..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.9/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.9/output.txt deleted file mode 100644 index fd158815b..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [2 errors] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.9/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.9/patch0/output.transpiled.txt deleted file mode 100644 index 3be50af87..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.9/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.9/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.9/patch0/output.txt deleted file mode 100644 index f219c5537..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.9/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [1 error] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-3.0/bundle.js deleted file mode 100644 index 36ba9c651..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 0b346f752..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.0/output.txt deleted file mode 100644 index fd158815b..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [2 errors] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.0/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-3.0/patch0/bundle.js deleted file mode 100644 index 36ba9c651..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.0/patch0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.0/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.0/patch0/output.transpiled.txt deleted file mode 100644 index 3be50af87..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.0/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.0/patch0/output.txt deleted file mode 100644 index f219c5537..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.0/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [1 error] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.1/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-3.1/bundle.js deleted file mode 100644 index 36ba9c651..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 0b346f752..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.1/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.1/output.txt deleted file mode 100644 index fd158815b..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [2 errors] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.1/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-3.1/patch0/bundle.js deleted file mode 100644 index 36ba9c651..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.1/patch0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.1/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.1/patch0/output.transpiled.txt deleted file mode 100644 index 3be50af87..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.1/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.1/patch0/output.txt deleted file mode 100644 index f219c5537..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.1/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [1 error] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.2/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-3.2/bundle.js deleted file mode 100644 index 36ba9c651..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 0b346f752..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.2/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.2/output.txt deleted file mode 100644 index fd158815b..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [2 errors] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.2/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-3.2/patch0/bundle.js deleted file mode 100644 index 36ba9c651..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.2/patch0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.2/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.2/patch0/output.transpiled.txt deleted file mode 100644 index 3be50af87..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.2/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.2/patch0/output.txt deleted file mode 100644 index f219c5537..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.2/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [1 error] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.3/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-3.3/bundle.js deleted file mode 100644 index 36ba9c651..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 0b346f752..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.3/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.3/output.txt deleted file mode 100644 index fd158815b..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [2 errors] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.3/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-3.3/patch0/bundle.js deleted file mode 100644 index 36ba9c651..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.3/patch0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.3/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.3/patch0/output.transpiled.txt deleted file mode 100644 index 3be50af87..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.3/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.3/patch0/output.txt deleted file mode 100644 index f219c5537..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.3/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [1 error] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.4/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-3.4/bundle.js deleted file mode 100644 index 36ba9c651..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 0b346f752..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.4/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.4/output.txt deleted file mode 100644 index fd158815b..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [2 errors] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.4/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-3.4/patch0/bundle.js deleted file mode 100644 index 36ba9c651..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.4/patch0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.4/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.4/patch0/output.transpiled.txt deleted file mode 100644 index 3be50af87..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.4/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.4/patch0/output.txt deleted file mode 100644 index f219c5537..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.4/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [1 error] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.5/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-3.5/bundle.js deleted file mode 100644 index 36ba9c651..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 0b346f752..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.5/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.5/output.txt deleted file mode 100644 index fd158815b..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [2 errors] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.5/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-3.5/patch0/bundle.js deleted file mode 100644 index 36ba9c651..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.5/patch0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.5/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.5/patch0/output.transpiled.txt deleted file mode 100644 index 3be50af87..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.5/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-3.5/patch0/output.txt deleted file mode 100644 index f219c5537..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-3.5/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.56 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 121 bytes {main} [built] [1 error] -[./dep1.ts] 76 bytes {main} [built] -[./dep2.ts] 76 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.9/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/dependencyErrors/expectedOutput-2.9/bundle.js rename to test/comparison-tests/dependencyErrors/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..9bf366413 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.0/output.txt @@ -0,0 +1,16 @@ + Asset Size Chunks Chunk Names +bundle.js 4.56 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 121 bytes {main} [built] [2 errors] +[./dep1.ts] 76 bytes {main} [built] +[./dep2.ts] 76 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(4,6) + TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(5,6) + TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.9/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/dependencyErrors/expectedOutput-2.9/patch0/bundle.js rename to test/comparison-tests/dependencyErrors/expectedOutput-4.0/patch0/bundle.js diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..f4ea07b34 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.56 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 121 bytes {main} [built] [1 error] +[./dep1.ts] 76 bytes {main} [built] +[./dep2.ts] 76 bytes {main} + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(5,6) + TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..331e05118 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep1.ts": +/*!*****************!*\ + !*** ./dep1.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); + +/***/ }), + +/***/ "./dep2.ts": +/*!*****************!*\ + !*** ./dep2.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..13aad10d4 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.6 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 157 bytes {main} [built] +[./dep1.ts] 76 bytes {main} [built] +[./dep2.ts] 76 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..331e05118 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep1.ts": +/*!*****************!*\ + !*** ./dep1.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); + +/***/ }), + +/***/ "./dep2.ts": +/*!*****************!*\ + !*** ./dep2.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..b69ba60ea --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.6 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 157 bytes {main} +[./dep1.ts] 76 bytes {main} [built] +[./dep2.ts] 76 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.5/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-2.5/bundle.js deleted file mode 100644 index 5d2464598..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(1); -console.log(myComponent); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'myComponent'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/errorFormatter/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index 8abf64e79..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/errorFormatter/app.ts 120 bytes {0} [built] - [1] ./.test/errorFormatter/common/components/myComponent.ts 46 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.5/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-2.5/output.txt deleted file mode 100644 index 8f705b862..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/errorFormatter/app.ts 120 bytes {0} [built] [1 error] - [1] ./.test/errorFormatter/common/components/myComponent.ts 46 bytes {0} [built] - -ERROR in ./.test/errorFormatter/app.ts -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2'.,file: app.ts,line: 2,character: 31 \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.6/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-2.6/bundle.js deleted file mode 100644 index 5d2464598..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(1); -console.log(myComponent); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'myComponent'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/errorFormatter/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index 8abf64e79..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/errorFormatter/app.ts 120 bytes {0} [built] - [1] ./.test/errorFormatter/common/components/myComponent.ts 46 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.6/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-2.6/output.txt deleted file mode 100644 index 8f705b862..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/errorFormatter/app.ts 120 bytes {0} [built] [1 error] - [1] ./.test/errorFormatter/common/components/myComponent.ts 46 bytes {0} [built] - -ERROR in ./.test/errorFormatter/app.ts -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2'.,file: app.ts,line: 2,character: 31 \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.7/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-2.7/bundle.js deleted file mode 100644 index ec4907b0a..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/errorFormatter/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 5c1e0a5ec..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-4-7 18:02:50 - Asset Size Chunks Chunk Names -bundle.js 3.37 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.7/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-2.7/output.txt deleted file mode 100644 index c28cd7318..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-4-7 18:02:49 - Asset Size Chunks Chunk Names -bundle.js 3.37 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2'.,file: app.ts,line: 2,character: 31,context: .test\errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.8/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-2.8/bundle.js deleted file mode 100644 index ec4907b0a..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/errorFormatter/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 1262af951..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.37 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.8/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-2.8/output.txt deleted file mode 100644 index 615e8ff5c..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.37 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2'.,file: app.ts,line: 2,character: 31,context: .test\errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.9/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-2.9/bundle.js deleted file mode 100644 index 02dd408f1..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/errorFormatter/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-2.9/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-2.9/output.txt deleted file mode 100644 index f23e1578c..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2'.,file: app.ts,line: 2,character: 31,context: .test\errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.0/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-3.0/bundle.js deleted file mode 100644 index 02dd408f1..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/errorFormatter/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.0/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-3.0/output.txt deleted file mode 100644 index f23e1578c..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2'.,file: app.ts,line: 2,character: 31,context: .test\errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.1/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-3.1/bundle.js deleted file mode 100644 index 02dd408f1..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/errorFormatter/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.1/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-3.1/output.txt deleted file mode 100644 index f23e1578c..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2'.,file: app.ts,line: 2,character: 31,context: .test\errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.2/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-3.2/bundle.js deleted file mode 100644 index 02dd408f1..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/errorFormatter/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.2/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-3.2/output.txt deleted file mode 100644 index f23e1578c..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2'.,file: app.ts,line: 2,character: 31,context: .test\errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.3/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-3.3/bundle.js deleted file mode 100644 index 02dd408f1..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/errorFormatter/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.3/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-3.3/output.txt deleted file mode 100644 index f23e1578c..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2'.,file: app.ts,line: 2,character: 31,context: .test\errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.4/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-3.4/bundle.js deleted file mode 100644 index 02dd408f1..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/errorFormatter/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.4/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-3.4/output.txt deleted file mode 100644 index f23e1578c..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2'.,file: app.ts,line: 2,character: 31,context: .test\errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.5/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-3.5/bundle.js deleted file mode 100644 index 02dd408f1..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/errorFormatter/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 7daafbd66..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] -[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.5/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-3.5/output.txt deleted file mode 100644 index f23e1578c..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 120 bytes {main} [built] [1 error] -[./common/components/myComponent.ts] 46 bytes {main} [built] - -ERROR in app.ts -./app.ts -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2'.,file: app.ts,line: 2,character: 31,context: .test\errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.0/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/aliasResolution/expectedOutput-3.0/bundle.js rename to test/comparison-tests/errorFormatter/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/errorFormatter/expectedOutput-4.0/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..ce9b05006 --- /dev/null +++ b/test/comparison-tests/errorFormatter/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +bundle.js 4.33 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 120 bytes {main} [built] [1 error] +[./common/components/myComponent.ts] 46 bytes {main} [built] + +ERROR in app.ts +./app.ts +Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2' or its corresponding type declarations.,file: app.ts,line: 2,character: 31,context: .test/errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..4bcb44dd6 --- /dev/null +++ b/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/components/myComponent.ts": +/*!******************************************!*\ + !*** ./common/components/myComponent.ts ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..52173a13f --- /dev/null +++ b/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 156 bytes {main} [built] +[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-1.6/output.txt b/test/comparison-tests/errors/expectedOutput-1.6/output.txt deleted file mode 100644 index e2c37248c..000000000 --- a/test/comparison-tests/errors/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js!app.ts Line 1: Unexpected token == -You may need an appropriate loader to handle this file type. -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-1.7/output.txt b/test/comparison-tests/errors/expectedOutput-1.7/output.txt deleted file mode 100644 index e2c37248c..000000000 --- a/test/comparison-tests/errors/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js!app.ts Line 1: Unexpected token == -You may need an appropriate loader to handle this file type. -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index aaa127eb7..000000000 --- a/test/comparison-tests/errors/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js!app.ts Line 2: Unexpected token == -You may need an appropriate loader to handle this file type. -| "use strict"; -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-1.8/output.txt b/test/comparison-tests/errors/expectedOutput-1.8/output.txt deleted file mode 100644 index e2c37248c..000000000 --- a/test/comparison-tests/errors/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js!app.ts Line 1: Unexpected token == -You may need an appropriate loader to handle this file type. -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index 3086f170c..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,36 +0,0 @@ - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js!app.ts Unexpected token (2:9) -You may need an appropriate loader to handle this file type. -SyntaxError: Unexpected token (2:9) - at Parser.pp$4.raise (node_modules\acorn\dist\acorn.js:2221:15) - at Parser.pp.unexpected (node_modules\acorn\dist\acorn.js:603:10) - at Parser.pp$3.parseExprAtom (node_modules\acorn\dist\acorn.js:1822:12) - at Parser.pp$3.parseExprSubscripts (node_modules\acorn\dist\acorn.js:1715:21) - at Parser.pp$3.parseMaybeUnary (node_modules\acorn\dist\acorn.js:1692:19) - at Parser.pp$3.parseExprOps (node_modules\acorn\dist\acorn.js:1637:21) - at Parser.pp$3.parseMaybeConditional (node_modules\acorn\dist\acorn.js:1620:21) - at Parser.pp$3.parseMaybeAssign (node_modules\acorn\dist\acorn.js:1597:21) - at Parser.pp$1.parseVar (node_modules\acorn\dist\acorn.js:1034:28) - at Parser.pp$1.parseVarStatement (node_modules\acorn\dist\acorn.js:917:10) - at Parser.pp$1.parseStatement (node_modules\acorn\dist\acorn.js:706:19) - at Parser.pp$1.parseTopLevel (node_modules\acorn\dist\acorn.js:638:25) - at Parser.parse (node_modules\acorn\dist\acorn.js:516:17) - at Object.parse (node_modules\acorn\dist\acorn.js:3098:39) - at Parser.parse (node_modules\webpack\lib\Parser.js:902:15) - at NormalModule. (node_modules\webpack\lib\NormalModule.js:104:16) - at NormalModule.onModuleBuild (node_modules\webpack-core\lib\NormalModuleMixin.js:310:10) - at nextLoader (node_modules\webpack-core\lib\NormalModuleMixin.js:275:25) - at node_modules\webpack-core\lib\NormalModuleMixin.js:292:15 - at context.callback (node_modules\webpack-core\lib\NormalModuleMixin.js:148:14) - at Object.loader (dist\index.js:34:5) - at WEBPACK_CORE_LOADER_EXECUTION (node_modules\webpack-core\lib\NormalModuleMixin.js:155:71) - at runSyncOrAsync (node_modules\webpack-core\lib\NormalModuleMixin.js:155:93) - at nextLoader (node_modules\webpack-core\lib\NormalModuleMixin.js:290:3) - at node_modules\webpack-core\lib\NormalModuleMixin.js:259:5 - at Storage.finished (node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:38:16) - at node_modules\graceful-fs\graceful-fs.js:78:16 - at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:415:3) \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.0/output.txt b/test/comparison-tests/errors/expectedOutput-2.0/output.txt deleted file mode 100644 index 13676dbdb..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,36 +0,0 @@ - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js!app.ts Unexpected token (1:9) -You may need an appropriate loader to handle this file type. -SyntaxError: Unexpected token (1:9) - at Parser.pp$4.raise (node_modules\acorn\dist\acorn.js:2221:15) - at Parser.pp.unexpected (node_modules\acorn\dist\acorn.js:603:10) - at Parser.pp$3.parseExprAtom (node_modules\acorn\dist\acorn.js:1822:12) - at Parser.pp$3.parseExprSubscripts (node_modules\acorn\dist\acorn.js:1715:21) - at Parser.pp$3.parseMaybeUnary (node_modules\acorn\dist\acorn.js:1692:19) - at Parser.pp$3.parseExprOps (node_modules\acorn\dist\acorn.js:1637:21) - at Parser.pp$3.parseMaybeConditional (node_modules\acorn\dist\acorn.js:1620:21) - at Parser.pp$3.parseMaybeAssign (node_modules\acorn\dist\acorn.js:1597:21) - at Parser.pp$1.parseVar (node_modules\acorn\dist\acorn.js:1034:28) - at Parser.pp$1.parseVarStatement (node_modules\acorn\dist\acorn.js:917:10) - at Parser.pp$1.parseStatement (node_modules\acorn\dist\acorn.js:706:19) - at Parser.pp$1.parseTopLevel (node_modules\acorn\dist\acorn.js:638:25) - at Parser.parse (node_modules\acorn\dist\acorn.js:516:17) - at Object.parse (node_modules\acorn\dist\acorn.js:3098:39) - at Parser.parse (node_modules\webpack\lib\Parser.js:902:15) - at NormalModule. (node_modules\webpack\lib\NormalModule.js:104:16) - at NormalModule.onModuleBuild (node_modules\webpack-core\lib\NormalModuleMixin.js:310:10) - at nextLoader (node_modules\webpack-core\lib\NormalModuleMixin.js:275:25) - at node_modules\webpack-core\lib\NormalModuleMixin.js:292:15 - at context.callback (node_modules\webpack-core\lib\NormalModuleMixin.js:148:14) - at Object.loader (dist\index.js:34:5) - at WEBPACK_CORE_LOADER_EXECUTION (node_modules\webpack-core\lib\NormalModuleMixin.js:155:71) - at runSyncOrAsync (node_modules\webpack-core\lib\NormalModuleMixin.js:155:93) - at nextLoader (node_modules\webpack-core\lib\NormalModuleMixin.js:290:3) - at node_modules\webpack-core\lib\NormalModuleMixin.js:259:5 - at Storage.finished (node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:38:16) - at node_modules\graceful-fs\graceful-fs.js:78:16 - at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:415:3) \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.1/bundle.js b/test/comparison-tests/errors/expectedOutput-2.1/bundle.js deleted file mode 100644 index ce2df497b..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 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| "); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/errors/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index 77953dc15..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module parse failed: C:/source/ts-loader/index.js??ref--0!/errors.transpile/app.ts Unexpected token (2:9)\nYou may need an appropriate loader to handle this file type.\n| \"use strict\";\n| var a = == 0;\n| "); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index 7e308bef9..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,14 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.77 kB 0 [emitted] main -chunk {0} bundle.js (main) 261 bytes [entry] [rendered] - [0] ./.test/errors/app.ts 261 bytes {0} [built] [failed] [2 errors] - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js??ref--0!app.ts Unexpected token (2:9) -You may need an appropriate loader to handle this file type. -| "use strict"; -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.1/output.txt b/test/comparison-tests/errors/expectedOutput-2.1/output.txt deleted file mode 100644 index f01b5ccab..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.74 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] - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js??ref--0!app.ts Unexpected token (1:9) -You may need an appropriate loader to handle this file type. -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.2/bundle.js b/test/comparison-tests/errors/expectedOutput-2.2/bundle.js deleted file mode 100644 index eb7ec43b8..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 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| "); - -/***/ }) -/******/ ]); \ 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 deleted file mode 100644 index 3e867f501..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 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| "); - -/***/ }) -/******/ ]); \ 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 deleted file mode 100644 index e23d7719d..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js??ref--0!app.ts Unexpected token (3:9) -You may need an appropriate loader to handle this file type. -| "use strict"; -| exports.__esModule = true; -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.2/output.txt b/test/comparison-tests/errors/expectedOutput-2.2/output.txt deleted file mode 100644 index 1e7582ac0..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js??ref--0!app.ts Unexpected token (1:9) -You may need an appropriate loader to handle this file type. -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.3/bundle.js b/test/comparison-tests/errors/expectedOutput-2.3/bundle.js deleted file mode 100644 index dcdc3e3a5..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module parse failed: E:/Source/tmp/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.3/bundle.transpiled.js b/test/comparison-tests/errors/expectedOutput-2.3/bundle.transpiled.js deleted file mode 100644 index 0b4fc9e15..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.3/bundle.transpiled.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module parse failed: E:/Source/tmp/ts-loader/index.js??ref--0!/errors.transpile/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.3/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index 24c50dd46..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 252 bytes [entry] [rendered] - [0] ./.test/errors/app.ts 252 bytes {0} [built] [failed] [2 errors] - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js??ref--0!app.ts Unexpected token (1:9) -You may need an appropriate loader to handle this file type. -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.3/output.txt b/test/comparison-tests/errors/expectedOutput-2.3/output.txt deleted file mode 100644 index c429a45da..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main -chunk {0} bundle.js (main) 242 bytes [entry] [rendered] - [0] ./.test/errors/app.ts 242 bytes {0} [built] [failed] [2 errors] - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js??ref--0!app.ts Unexpected token (1:9) -You may need an appropriate loader to handle this file type. -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.4/bundle.js b/test/comparison-tests/errors/expectedOutput-2.4/bundle.js deleted file mode 100644 index 7558cdfc0..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 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| "); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.4/bundle.transpiled.js b/test/comparison-tests/errors/expectedOutput-2.4/bundle.transpiled.js deleted file mode 100644 index cbdd41866..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.4/bundle.transpiled.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module parse failed: C:/source/ts-loader/index.js??ref--0!/errors.transpile/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.4/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index c429a45da..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main -chunk {0} bundle.js (main) 242 bytes [entry] [rendered] - [0] ./.test/errors/app.ts 242 bytes {0} [built] [failed] [2 errors] - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js??ref--0!app.ts Unexpected token (1:9) -You may need an appropriate loader to handle this file type. -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.4/output.txt b/test/comparison-tests/errors/expectedOutput-2.4/output.txt deleted file mode 100644 index 1e7582ac0..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/errors/app.ts -(1,7): error TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: index.js??ref--0!app.ts Unexpected token (1:9) -You may need an appropriate loader to handle this file type. -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.5/bundle.js b/test/comparison-tests/errors/expectedOutput-2.5/bundle.js deleted file mode 100644 index a71840cae..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module parse failed: 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.5/output.txt b/test/comparison-tests/errors/expectedOutput-2.5/output.txt deleted file mode 100644 index 2f6d08f6c..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.62 kB 0 [emitted] main - [0] ./.test/errors/app.ts 147 bytes {0} [built] [failed] [2 errors] - -ERROR in ./.test/errors/app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: Unexpected token (1:9) -You may need an appropriate loader to handle this file type. -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.6/bundle.js b/test/comparison-tests/errors/expectedOutput-2.6/bundle.js deleted file mode 100644 index a71840cae..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module parse failed: 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.6/output.txt b/test/comparison-tests/errors/expectedOutput-2.6/output.txt deleted file mode 100644 index 2f6d08f6c..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.62 kB 0 [emitted] main - [0] ./.test/errors/app.ts 147 bytes {0} [built] [failed] [2 errors] - -ERROR in ./.test/errors/app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: '=' expected. - -ERROR in ./.test/errors/app.ts -Module parse failed: Unexpected token (1:9) -You may need an appropriate loader to handle this file type. -| var a = == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.7/bundle.js b/test/comparison-tests/errors/expectedOutput-2.7/bundle.js deleted file mode 100644 index e718a4fd3..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n| == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 159e7f536..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,17 +0,0 @@ -Built at: 2018-3-18 09:17:32 - Asset Size Chunks Chunk Names -bundle.js 2.92 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. - -ERROR in ./app.ts -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -| == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.7/output.txt b/test/comparison-tests/errors/expectedOutput-2.7/output.txt deleted file mode 100644 index 7aea8ca37..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,17 +0,0 @@ -Built at: 2018-3-18 09:17:32 - Asset Size Chunks Chunk Names -bundle.js 2.92 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -| == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.8/bundle.js b/test/comparison-tests/errors/expectedOutput-2.8/bundle.js deleted file mode 100644 index e718a4fd3..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n| == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index d64073e9c..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.92 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. - -ERROR in ./app.ts -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -| == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.8/output.txt b/test/comparison-tests/errors/expectedOutput-2.8/output.txt deleted file mode 100644 index 7d600669d..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.92 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -| == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.9/bundle.js b/test/comparison-tests/errors/expectedOutput-2.9/bundle.js deleted file mode 100644 index c785cd383..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n| == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index b754b038d..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. - -ERROR in ./app.ts -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -| == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.9/output.txt b/test/comparison-tests/errors/expectedOutput-2.9/output.txt deleted file mode 100644 index 9c464115f..000000000 --- a/test/comparison-tests/errors/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -| == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.0/bundle.js b/test/comparison-tests/errors/expectedOutput-3.0/bundle.js deleted file mode 100644 index 2a238bb51..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index e13f20c11..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.0/output.txt b/test/comparison-tests/errors/expectedOutput-3.0/output.txt deleted file mode 100644 index 66a640828..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.1/bundle.js b/test/comparison-tests/errors/expectedOutput-3.1/bundle.js deleted file mode 100644 index 2a238bb51..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index e13f20c11..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.1/output.txt b/test/comparison-tests/errors/expectedOutput-3.1/output.txt deleted file mode 100644 index 66a640828..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.2/bundle.js b/test/comparison-tests/errors/expectedOutput-3.2/bundle.js deleted file mode 100644 index 2a238bb51..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index e13f20c11..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.2/output.txt b/test/comparison-tests/errors/expectedOutput-3.2/output.txt deleted file mode 100644 index 66a640828..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.3/bundle.js b/test/comparison-tests/errors/expectedOutput-3.3/bundle.js deleted file mode 100644 index 2a238bb51..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index e13f20c11..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.3/output.txt b/test/comparison-tests/errors/expectedOutput-3.3/output.txt deleted file mode 100644 index 66a640828..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.4/bundle.js b/test/comparison-tests/errors/expectedOutput-3.4/bundle.js deleted file mode 100644 index 2a238bb51..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index e13f20c11..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.4/output.txt b/test/comparison-tests/errors/expectedOutput-3.4/output.txt deleted file mode 100644 index 66a640828..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.5/bundle.js b/test/comparison-tests/errors/expectedOutput-3.5/bundle.js deleted file mode 100644 index 2a238bb51..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index e13f20c11..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.5/output.txt b/test/comparison-tests/errors/expectedOutput-3.5/output.txt deleted file mode 100644 index 66a640828..000000000 --- a/test/comparison-tests/errors/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.89 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 149 bytes {main} [built] [failed] [2 errors] - -ERROR in ./app.ts 2:1 -Module parse failed: Unexpected token (2:1) -You may need an appropriate loader to handle this file type. -| var a; -> == 0; -| - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-4.0/bundle.js b/test/comparison-tests/errors/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..012797ec7 --- /dev/null +++ b/test/comparison-tests/errors/expectedOutput-4.0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nFile was processed with these loaders:/n * ../../index.js/nYou may need an additional loader to handle the result of these loaders./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-4.0/output.txt b/test/comparison-tests/errors/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..c48ec99d2 --- /dev/null +++ b/test/comparison-tests/errors/expectedOutput-4.0/output.txt @@ -0,0 +1,18 @@ + Asset Size Chunks Chunk Names +bundle.js 3.96 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 220 bytes {main} [built] [failed] [2 errors] + +ERROR in ./app.ts 2:1 +Module parse failed: Unexpected token (2:1) +File was processed with these loaders: + * ../../index.js +You may need an additional loader to handle the result of these loaders. +| var a; +> == 0; +| + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(1,7) + TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/errors/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..012797ec7 --- /dev/null +++ b/test/comparison-tests/errors/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nFile was processed with these loaders:/n * ../../index.js/nYou may need an additional loader to handle the result of these loaders./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/errors/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..ffab7fca9 --- /dev/null +++ b/test/comparison-tests/errors/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,18 @@ + Asset Size Chunks Chunk Names +bundle.js 3.96 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 220 bytes {main} [built] [failed] [2 errors] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(1,7) + TS1005: ',' expected. + +ERROR in ./app.ts 2:1 +Module parse failed: Unexpected token (2:1) +File was processed with these loaders: + * ../../index.js +You may need an additional loader to handle the result of these loaders. +| var a; +> == 0; +| \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-1.6/bundle.js b/test/comparison-tests/es3/expectedOutput-1.6/bundle.js deleted file mode 100644 index db0814d00..000000000 --- a/test/comparison-tests/es3/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - ({ get x() { return 1; } }); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-1.6/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-1.6/output.transpiled.txt deleted file mode 100644 index 9106f267a..000000000 --- a/test/comparison-tests/es3/expectedOutput-1.6/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 [emitted] main -chunk {0} bundle.js (main) 29 bytes [rendered] - [0] ./.test/es3/app.ts 29 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-1.6/output.txt b/test/comparison-tests/es3/expectedOutput-1.6/output.txt deleted file mode 100644 index 8304b442f..000000000 --- a/test/comparison-tests/es3/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 [emitted] main -chunk {0} bundle.js (main) 29 bytes [rendered] - [0] ./.test/es3/app.ts 29 bytes {0} [built] [1 error] - -ERROR in ./.test/es3/app.ts -(1,7): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-1.7/bundle.js b/test/comparison-tests/es3/expectedOutput-1.7/bundle.js deleted file mode 100644 index db0814d00..000000000 --- a/test/comparison-tests/es3/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - ({ get x() { return 1; } }); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-1.7/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-1.7/output.transpiled.txt deleted file mode 100644 index 9106f267a..000000000 --- a/test/comparison-tests/es3/expectedOutput-1.7/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 [emitted] main -chunk {0} bundle.js (main) 29 bytes [rendered] - [0] ./.test/es3/app.ts 29 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-1.7/output.txt b/test/comparison-tests/es3/expectedOutput-1.7/output.txt deleted file mode 100644 index 8304b442f..000000000 --- a/test/comparison-tests/es3/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 [emitted] main -chunk {0} bundle.js (main) 29 bytes [rendered] - [0] ./.test/es3/app.ts 29 bytes {0} [built] [1 error] - -ERROR in ./.test/es3/app.ts -(1,7): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-1.8/bundle.js b/test/comparison-tests/es3/expectedOutput-1.8/bundle.js deleted file mode 100644 index db0814d00..000000000 --- a/test/comparison-tests/es3/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - ({ get x() { return 1; } }); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-1.8/bundle.transpiled.js b/test/comparison-tests/es3/expectedOutput-1.8/bundle.transpiled.js deleted file mode 100644 index 9e45fa8a7..000000000 --- a/test/comparison-tests/es3/expectedOutput-1.8/bundle.transpiled.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - ({ get x() { return 1; } }); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index ce5f564f9..000000000 --- a/test/comparison-tests/es3/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [rendered] - [0] ./.test/es3/app.ts 43 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-1.8/output.txt b/test/comparison-tests/es3/expectedOutput-1.8/output.txt deleted file mode 100644 index 8304b442f..000000000 --- a/test/comparison-tests/es3/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 [emitted] main -chunk {0} bundle.js (main) 29 bytes [rendered] - [0] ./.test/es3/app.ts 29 bytes {0} [built] [1 error] - -ERROR in ./.test/es3/app.ts -(1,7): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.0/bundle.js b/test/comparison-tests/es3/expectedOutput-2.0/bundle.js deleted file mode 100644 index db0814d00..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - ({ get x() { return 1; } }); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.0/bundle.transpiled.js b/test/comparison-tests/es3/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index 9e45fa8a7..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - ({ get x() { return 1; } }); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index ce5f564f9..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [rendered] - [0] ./.test/es3/app.ts 43 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.0/output.txt b/test/comparison-tests/es3/expectedOutput-2.0/output.txt deleted file mode 100644 index 8304b442f..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 [emitted] main -chunk {0} bundle.js (main) 29 bytes [rendered] - [0] ./.test/es3/app.ts 29 bytes {0} [built] [1 error] - -ERROR in ./.test/es3/app.ts -(1,7): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.1/bundle.js b/test/comparison-tests/es3/expectedOutput-2.1/bundle.js deleted file mode 100644 index de53a529b..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/es3/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index f32c181db..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -({ get x() { return 1; } }); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index e6b275d1f..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [entry] [rendered] - [0] ./.test/es3/app.ts 43 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.1/output.txt b/test/comparison-tests/es3/expectedOutput-2.1/output.txt deleted file mode 100644 index 7c1aedfda..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.54 kB 0 [emitted] main -chunk {0} bundle.js (main) 29 bytes [entry] [rendered] - [0] ./.test/es3/app.ts 29 bytes {0} [built] [1 error] - -ERROR in ./.test/es3/app.ts -(1,7): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.2/bundle.js b/test/comparison-tests/es3/expectedOutput-2.2/bundle.js deleted file mode 100644 index 6e83d372b..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/es3/expectedOutput-2.2/bundle.transpiled.js deleted file mode 100644 index bc83e48b2..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -({ get x() { return 1; } }); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index 61056eedd..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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/es3/expectedOutput-2.2/output.txt b/test/comparison-tests/es3/expectedOutput-2.2/output.txt deleted file mode 100644 index 0874eee39..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 [emitted] main -chunk {0} bundle.js (main) 29 bytes [entry] [rendered] - [0] ./.test/es3/app.ts 29 bytes {0} [built] [1 error] - -ERROR in ./.test/es3/app.ts -(1,7): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.3/bundle.js b/test/comparison-tests/es3/expectedOutput-2.3/bundle.js deleted file mode 100644 index 6e83d372b..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index 62527bfb4..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 [emitted] main -chunk {0} bundle.js (main) 29 bytes [entry] [rendered] - [0] ./.test/es3/app.ts 29 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.3/output.txt b/test/comparison-tests/es3/expectedOutput-2.3/output.txt deleted file mode 100644 index 0874eee39..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 [emitted] main -chunk {0} bundle.js (main) 29 bytes [entry] [rendered] - [0] ./.test/es3/app.ts 29 bytes {0} [built] [1 error] - -ERROR in ./.test/es3/app.ts -(1,7): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.4/bundle.js b/test/comparison-tests/es3/expectedOutput-2.4/bundle.js deleted file mode 100644 index 6e83d372b..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index 62527bfb4..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 [emitted] main -chunk {0} bundle.js (main) 29 bytes [entry] [rendered] - [0] ./.test/es3/app.ts 29 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.4/output.txt b/test/comparison-tests/es3/expectedOutput-2.4/output.txt deleted file mode 100644 index 0874eee39..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 [emitted] main -chunk {0} bundle.js (main) 29 bytes [entry] [rendered] - [0] ./.test/es3/app.ts 29 bytes {0} [built] [1 error] - -ERROR in ./.test/es3/app.ts -(1,7): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.5/bundle.js b/test/comparison-tests/es3/expectedOutput-2.5/bundle.js deleted file mode 100644 index cd6250abb..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index 33ee77852..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.5 kB 0 [emitted] main - [0] ./.test/es3/app.ts 29 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.5/output.txt b/test/comparison-tests/es3/expectedOutput-2.5/output.txt deleted file mode 100644 index 4b6c2f15b..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.5 kB 0 [emitted] main - [0] ./.test/es3/app.ts 29 bytes {0} [built] [1 error] - -ERROR in ./.test/es3/app.ts -[tsl] ERROR in app.ts(1,7) - TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.6/bundle.js b/test/comparison-tests/es3/expectedOutput-2.6/bundle.js deleted file mode 100644 index cd6250abb..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index 33ee77852..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.5 kB 0 [emitted] main - [0] ./.test/es3/app.ts 29 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.6/output.txt b/test/comparison-tests/es3/expectedOutput-2.6/output.txt deleted file mode 100644 index 4b6c2f15b..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.5 kB 0 [emitted] main - [0] ./.test/es3/app.ts 29 bytes {0} [built] [1 error] - -ERROR in ./.test/es3/app.ts -[tsl] ERROR in app.ts(1,7) - TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.7/bundle.js b/test/comparison-tests/es3/expectedOutput-2.7/bundle.js deleted file mode 100644 index 80420d2f0..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 5d6dde73a..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:17:37 - Asset Size Chunks Chunk Names -bundle.js 2.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.7/output.txt b/test/comparison-tests/es3/expectedOutput-2.7/output.txt deleted file mode 100644 index c455fdcde..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-3-18 09:17:37 - Asset Size Chunks Chunk Names -bundle.js 2.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.8/bundle.js b/test/comparison-tests/es3/expectedOutput-2.8/bundle.js deleted file mode 100644 index 80420d2f0..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 0d1c13c38..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.8/output.txt b/test/comparison-tests/es3/expectedOutput-2.8/output.txt deleted file mode 100644 index dc936c066..000000000 --- a/test/comparison-tests/es3/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index d51d7f174..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.76 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.0/output.txt b/test/comparison-tests/es3/expectedOutput-3.0/output.txt deleted file mode 100644 index 12a3418dd..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.76 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.1/bundle.js b/test/comparison-tests/es3/expectedOutput-3.1/bundle.js deleted file mode 100644 index 1ccaf64d6..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index d51d7f174..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.76 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.1/output.txt b/test/comparison-tests/es3/expectedOutput-3.1/output.txt deleted file mode 100644 index 12a3418dd..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.76 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.2/bundle.js b/test/comparison-tests/es3/expectedOutput-3.2/bundle.js deleted file mode 100644 index 1ccaf64d6..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index d51d7f174..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.76 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.2/output.txt b/test/comparison-tests/es3/expectedOutput-3.2/output.txt deleted file mode 100644 index 12a3418dd..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.76 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.3/bundle.js b/test/comparison-tests/es3/expectedOutput-3.3/bundle.js deleted file mode 100644 index 1ccaf64d6..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index d51d7f174..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.76 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.3/output.txt b/test/comparison-tests/es3/expectedOutput-3.3/output.txt deleted file mode 100644 index 12a3418dd..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.76 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.4/bundle.js b/test/comparison-tests/es3/expectedOutput-3.4/bundle.js deleted file mode 100644 index 1ccaf64d6..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index d51d7f174..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.76 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.4/output.txt b/test/comparison-tests/es3/expectedOutput-3.4/output.txt deleted file mode 100644 index 12a3418dd..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.76 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.5/bundle.js b/test/comparison-tests/es3/expectedOutput-3.5/bundle.js deleted file mode 100644 index 1ccaf64d6..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index d51d7f174..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.76 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.5/output.txt b/test/comparison-tests/es3/expectedOutput-3.5/output.txt deleted file mode 100644 index 12a3418dd..000000000 --- a/test/comparison-tests/es3/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.76 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 29 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,7) - TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-2.9/bundle.js b/test/comparison-tests/es3/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/es3/expectedOutput-2.9/bundle.js rename to test/comparison-tests/es3/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/es3/expectedOutput-2.9/output.txt b/test/comparison-tests/es3/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/es3/expectedOutput-2.9/output.txt rename to test/comparison-tests/es3/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/es3/expectedOutput-3.0/bundle.js b/test/comparison-tests/es3/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/es3/expectedOutput-3.0/bundle.js rename to test/comparison-tests/es3/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/es3/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/es3/expectedOutput-2.9/output.transpiled.txt rename to test/comparison-tests/es3/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/es5/expectedOutput-1.6/bundle.js b/test/comparison-tests/es5/expectedOutput-1.6/bundle.js deleted file mode 100644 index 92daf228f..000000000 --- a/test/comparison-tests/es5/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - ({ get x() { return 1; } }); - Symbol; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-1.6/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-1.6/output.transpiled.txt deleted file mode 100644 index e6c1aee0c..000000000 --- a/test/comparison-tests/es5/expectedOutput-1.6/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [rendered] - [0] ./.test/es5/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-1.6/output.txt b/test/comparison-tests/es5/expectedOutput-1.6/output.txt deleted file mode 100644 index dd0f4b9ef..000000000 --- a/test/comparison-tests/es5/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [rendered] - [0] ./.test/es5/app.ts 37 bytes {0} [built] [1 error] - -ERROR in ./.test/es5/app.ts -(2,1): error TS2304: Cannot find name 'Symbol'. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-1.7/bundle.js b/test/comparison-tests/es5/expectedOutput-1.7/bundle.js deleted file mode 100644 index 92daf228f..000000000 --- a/test/comparison-tests/es5/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - ({ get x() { return 1; } }); - Symbol; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-1.7/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-1.7/output.transpiled.txt deleted file mode 100644 index e6c1aee0c..000000000 --- a/test/comparison-tests/es5/expectedOutput-1.7/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [rendered] - [0] ./.test/es5/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-1.7/output.txt b/test/comparison-tests/es5/expectedOutput-1.7/output.txt deleted file mode 100644 index dd0f4b9ef..000000000 --- a/test/comparison-tests/es5/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [rendered] - [0] ./.test/es5/app.ts 37 bytes {0} [built] [1 error] - -ERROR in ./.test/es5/app.ts -(2,1): error TS2304: Cannot find name 'Symbol'. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-1.8/bundle.js b/test/comparison-tests/es5/expectedOutput-1.8/bundle.js deleted file mode 100644 index 92daf228f..000000000 --- a/test/comparison-tests/es5/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - ({ get x() { return 1; } }); - Symbol; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-1.8/bundle.transpiled.js b/test/comparison-tests/es5/expectedOutput-1.8/bundle.transpiled.js deleted file mode 100644 index 1ff074227..000000000 --- a/test/comparison-tests/es5/expectedOutput-1.8/bundle.transpiled.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - ({ get x() { return 1; } }); - Symbol; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index 3eb959787..000000000 --- a/test/comparison-tests/es5/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.44 kB 0 [emitted] main -chunk {0} bundle.js (main) 51 bytes [rendered] - [0] ./.test/es5/app.ts 51 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-1.8/output.txt b/test/comparison-tests/es5/expectedOutput-1.8/output.txt deleted file mode 100644 index dd0f4b9ef..000000000 --- a/test/comparison-tests/es5/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [rendered] - [0] ./.test/es5/app.ts 37 bytes {0} [built] [1 error] - -ERROR in ./.test/es5/app.ts -(2,1): error TS2304: Cannot find name 'Symbol'. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.0/bundle.js b/test/comparison-tests/es5/expectedOutput-2.0/bundle.js deleted file mode 100644 index 92daf228f..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - ({ get x() { return 1; } }); - Symbol; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.0/bundle.transpiled.js b/test/comparison-tests/es5/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index 1ff074227..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - ({ get x() { return 1; } }); - Symbol; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index 3eb959787..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.44 kB 0 [emitted] main -chunk {0} bundle.js (main) 51 bytes [rendered] - [0] ./.test/es5/app.ts 51 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.0/output.txt b/test/comparison-tests/es5/expectedOutput-2.0/output.txt deleted file mode 100644 index dd0f4b9ef..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [rendered] - [0] ./.test/es5/app.ts 37 bytes {0} [built] [1 error] - -ERROR in ./.test/es5/app.ts -(2,1): error TS2304: Cannot find name 'Symbol'. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.1/bundle.js b/test/comparison-tests/es5/expectedOutput-2.1/bundle.js deleted file mode 100644 index bf12f34f3..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/es5/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index 478630b82..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index 533578fbc..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.58 kB 0 [emitted] main -chunk {0} bundle.js (main) 51 bytes [entry] [rendered] - [0] ./.test/es5/app.ts 51 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.1/output.txt b/test/comparison-tests/es5/expectedOutput-2.1/output.txt deleted file mode 100644 index 8d84e8620..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.55 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [entry] [rendered] - [0] ./.test/es5/app.ts 37 bytes {0} [built] [1 error] - -ERROR in ./.test/es5/app.ts -(2,1): error TS2304: Cannot find name 'Symbol'. \ 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 deleted file mode 100644 index 37b04a493..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/es5/expectedOutput-2.2/bundle.transpiled.js deleted file mode 100644 index 57bbf279a..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index 1da86e377..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.77 kB 0 [emitted] main -chunk {0} bundle.js (main) 114 bytes [entry] [rendered] - [0] ./.test/es5/app.ts 114 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.2/output.txt b/test/comparison-tests/es5/expectedOutput-2.2/output.txt deleted file mode 100644 index 273305b8b..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.67 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [entry] [rendered] - [0] ./.test/es5/app.ts 37 bytes {0} [built] [1 error] - -ERROR in ./.test/es5/app.ts -(2,1): error TS2304: Cannot find name 'Symbol'. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.3/bundle.js b/test/comparison-tests/es5/expectedOutput-2.3/bundle.js deleted file mode 100644 index 37b04a493..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index 8009aa26b..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.67 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [entry] [rendered] - [0] ./.test/es5/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.3/output.txt b/test/comparison-tests/es5/expectedOutput-2.3/output.txt deleted file mode 100644 index 273305b8b..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.67 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [entry] [rendered] - [0] ./.test/es5/app.ts 37 bytes {0} [built] [1 error] - -ERROR in ./.test/es5/app.ts -(2,1): error TS2304: Cannot find name 'Symbol'. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.4/bundle.js b/test/comparison-tests/es5/expectedOutput-2.4/bundle.js deleted file mode 100644 index 37b04a493..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index 8009aa26b..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.67 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [entry] [rendered] - [0] ./.test/es5/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.4/output.txt b/test/comparison-tests/es5/expectedOutput-2.4/output.txt deleted file mode 100644 index 273305b8b..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.67 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [entry] [rendered] - [0] ./.test/es5/app.ts 37 bytes {0} [built] [1 error] - -ERROR in ./.test/es5/app.ts -(2,1): error TS2304: Cannot find name 'Symbol'. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.5/bundle.js b/test/comparison-tests/es5/expectedOutput-2.5/bundle.js deleted file mode 100644 index 419bb5915..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index 0917fe842..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.51 kB 0 [emitted] main - [0] ./.test/es5/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.5/output.txt b/test/comparison-tests/es5/expectedOutput-2.5/output.txt deleted file mode 100644 index 7781824f1..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.51 kB 0 [emitted] main - [0] ./.test/es5/app.ts 37 bytes {0} [built] [1 error] - -ERROR in ./.test/es5/app.ts -[tsl] ERROR in app.ts(2,1) - TS2304: Cannot find name 'Symbol'. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.6/bundle.js b/test/comparison-tests/es5/expectedOutput-2.6/bundle.js deleted file mode 100644 index 419bb5915..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index 0917fe842..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.51 kB 0 [emitted] main - [0] ./.test/es5/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.6/output.txt b/test/comparison-tests/es5/expectedOutput-2.6/output.txt deleted file mode 100644 index 7781824f1..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.51 kB 0 [emitted] main - [0] ./.test/es5/app.ts 37 bytes {0} [built] [1 error] - -ERROR in ./.test/es5/app.ts -[tsl] ERROR in app.ts(2,1) - TS2304: Cannot find name 'Symbol'. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.7/bundle.js b/test/comparison-tests/es5/expectedOutput-2.7/bundle.js deleted file mode 100644 index 8331077f5..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nvar mapsDontExistYet = new Map();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index a4715b0b9..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:17:43 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.7/output.txt b/test/comparison-tests/es5/expectedOutput-2.7/output.txt deleted file mode 100644 index ad8d9d0d5..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-3-18 09:17:43 - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,30) - TS2304: Cannot find name 'Map'. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.8/bundle.js b/test/comparison-tests/es5/expectedOutput-2.8/bundle.js deleted file mode 100644 index 8331077f5..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nvar mapsDontExistYet = new Map();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index b93453757..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.8/output.txt b/test/comparison-tests/es5/expectedOutput-2.8/output.txt deleted file mode 100644 index 44f07f04c..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,30) - TS2304: Cannot find name 'Map'. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 67449578b..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.9/output.txt b/test/comparison-tests/es5/expectedOutput-2.9/output.txt deleted file mode 100644 index 29dfc2bea..000000000 --- a/test/comparison-tests/es5/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,30) - TS2304: Cannot find name 'Map'. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 67449578b..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.0/output.txt b/test/comparison-tests/es5/expectedOutput-3.0/output.txt deleted file mode 100644 index 29dfc2bea..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,30) - TS2304: Cannot find name 'Map'. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.1/bundle.js b/test/comparison-tests/es5/expectedOutput-3.1/bundle.js deleted file mode 100644 index 9e16aea65..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nvar mapsDontExistYet = new Map();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 67449578b..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.1/output.txt b/test/comparison-tests/es5/expectedOutput-3.1/output.txt deleted file mode 100644 index edfcd79fc..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,30) - TS2583: Cannot find name 'Map'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.2/bundle.js b/test/comparison-tests/es5/expectedOutput-3.2/bundle.js deleted file mode 100644 index 9e16aea65..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nvar mapsDontExistYet = new Map();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 67449578b..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.2/output.txt b/test/comparison-tests/es5/expectedOutput-3.2/output.txt deleted file mode 100644 index edfcd79fc..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(2,30) - TS2583: Cannot find name 'Map'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later. \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.3/bundle.js b/test/comparison-tests/es5/expectedOutput-3.3/bundle.js deleted file mode 100644 index 9e16aea65..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nvar mapsDontExistYet = new Map();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 67449578b..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.4/bundle.js b/test/comparison-tests/es5/expectedOutput-3.4/bundle.js deleted file mode 100644 index 9e16aea65..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nvar mapsDontExistYet = new Map();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 67449578b..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.5/bundle.js b/test/comparison-tests/es5/expectedOutput-3.5/bundle.js deleted file mode 100644 index 9e16aea65..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nvar mapsDontExistYet = new Map();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 67449578b..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.5/output.txt b/test/comparison-tests/es5/expectedOutput-3.5/output.txt deleted file mode 100644 index 67449578b..000000000 --- a/test/comparison-tests/es5/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 63 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.9/bundle.js b/test/comparison-tests/es5/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/es5/expectedOutput-2.9/bundle.js rename to test/comparison-tests/es5/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/es5/expectedOutput-3.3/output.txt b/test/comparison-tests/es5/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/es5/expectedOutput-3.3/output.txt rename to test/comparison-tests/es5/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/es5/expectedOutput-3.0/bundle.js b/test/comparison-tests/es5/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/es5/expectedOutput-3.0/bundle.js rename to test/comparison-tests/es5/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/es5/expectedOutput-3.4/output.txt b/test/comparison-tests/es5/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/es5/expectedOutput-3.4/output.txt rename to test/comparison-tests/es5/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/es6/expectedOutput-1.6/bundle.js b/test/comparison-tests/es6/expectedOutput-1.6/bundle.js deleted file mode 100644 index 92daf228f..000000000 --- a/test/comparison-tests/es6/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - ({ get x() { return 1; } }); - Symbol; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-1.6/output.txt b/test/comparison-tests/es6/expectedOutput-1.6/output.txt deleted file mode 100644 index 3307d456b..000000000 --- a/test/comparison-tests/es6/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [rendered] - [0] ./.test/es6/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-1.7/bundle.js b/test/comparison-tests/es6/expectedOutput-1.7/bundle.js deleted file mode 100644 index 92daf228f..000000000 --- a/test/comparison-tests/es6/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - ({ get x() { return 1; } }); - Symbol; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-1.7/output.txt b/test/comparison-tests/es6/expectedOutput-1.7/output.txt deleted file mode 100644 index 3307d456b..000000000 --- a/test/comparison-tests/es6/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [rendered] - [0] ./.test/es6/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-1.8/bundle.js b/test/comparison-tests/es6/expectedOutput-1.8/bundle.js deleted file mode 100644 index 92daf228f..000000000 --- a/test/comparison-tests/es6/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - ({ get x() { return 1; } }); - Symbol; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-1.8/output.txt b/test/comparison-tests/es6/expectedOutput-1.8/output.txt deleted file mode 100644 index 3307d456b..000000000 --- a/test/comparison-tests/es6/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [rendered] - [0] ./.test/es6/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.0/bundle.js b/test/comparison-tests/es6/expectedOutput-2.0/bundle.js deleted file mode 100644 index 92daf228f..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - ({ get x() { return 1; } }); - Symbol; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.0/output.txt b/test/comparison-tests/es6/expectedOutput-2.0/output.txt deleted file mode 100644 index 3307d456b..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [rendered] - [0] ./.test/es6/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.1/bundle.js b/test/comparison-tests/es6/expectedOutput-2.1/bundle.js deleted file mode 100644 index bf12f34f3..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.1/output.txt b/test/comparison-tests/es6/expectedOutput-2.1/output.txt deleted file mode 100644 index 10beb3a62..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.55 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [entry] [rendered] - [0] ./.test/es6/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.2/bundle.js b/test/comparison-tests/es6/expectedOutput-2.2/bundle.js deleted file mode 100644 index 37b04a493..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.2/output.txt b/test/comparison-tests/es6/expectedOutput-2.2/output.txt deleted file mode 100644 index cc8b7f517..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.67 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [entry] [rendered] - [0] ./.test/es6/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.3/bundle.js b/test/comparison-tests/es6/expectedOutput-2.3/bundle.js deleted file mode 100644 index 37b04a493..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.3/output.txt b/test/comparison-tests/es6/expectedOutput-2.3/output.txt deleted file mode 100644 index cc8b7f517..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.67 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [entry] [rendered] - [0] ./.test/es6/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.4/bundle.js b/test/comparison-tests/es6/expectedOutput-2.4/bundle.js deleted file mode 100644 index 37b04a493..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.4/output.txt b/test/comparison-tests/es6/expectedOutput-2.4/output.txt deleted file mode 100644 index cc8b7f517..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.67 kB 0 [emitted] main -chunk {0} bundle.js (main) 37 bytes [entry] [rendered] - [0] ./.test/es6/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.5/bundle.js b/test/comparison-tests/es6/expectedOutput-2.5/bundle.js deleted file mode 100644 index 419bb5915..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.5/output.txt b/test/comparison-tests/es6/expectedOutput-2.5/output.txt deleted file mode 100644 index 10b900fd7..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.51 kB 0 [emitted] main - [0] ./.test/es6/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.6/bundle.js b/test/comparison-tests/es6/expectedOutput-2.6/bundle.js deleted file mode 100644 index 419bb5915..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -({ get x() { return 1; } }); -Symbol; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.6/output.txt b/test/comparison-tests/es6/expectedOutput-2.6/output.txt deleted file mode 100644 index 10b900fd7..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.51 kB 0 [emitted] main - [0] ./.test/es6/app.ts 37 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.7/bundle.js b/test/comparison-tests/es6/expectedOutput-2.7/bundle.js deleted file mode 100644 index 61f554963..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nSymbol;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/es6/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index c49123e43..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:17:49 - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.7/output.txt b/test/comparison-tests/es6/expectedOutput-2.7/output.txt deleted file mode 100644 index 7d380f5ee..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:17:48 - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.8/bundle.js b/test/comparison-tests/es6/expectedOutput-2.8/bundle.js deleted file mode 100644 index 61f554963..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nSymbol;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/es6/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 35be49d90..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:38 - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.8/output.txt b/test/comparison-tests/es6/expectedOutput-2.8/output.txt deleted file mode 100644 index 846845a52..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/es6/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 35be49d90..000000000 --- a/test/comparison-tests/es6/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:38 - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/es6/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 35be49d90..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:38 - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.1/bundle.js b/test/comparison-tests/es6/expectedOutput-3.1/bundle.js deleted file mode 100644 index 6b32b06c7..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nSymbol;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/es6/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 35be49d90..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:38 - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.1/output.txt b/test/comparison-tests/es6/expectedOutput-3.1/output.txt deleted file mode 100644 index e60b401c7..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.77 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.2/bundle.js b/test/comparison-tests/es6/expectedOutput-3.2/bundle.js deleted file mode 100644 index 6b32b06c7..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nSymbol;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/es6/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 35be49d90..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:38 - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.2/output.txt b/test/comparison-tests/es6/expectedOutput-3.2/output.txt deleted file mode 100644 index e60b401c7..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.77 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.3/bundle.js b/test/comparison-tests/es6/expectedOutput-3.3/bundle.js deleted file mode 100644 index 6b32b06c7..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nSymbol;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/es6/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 35be49d90..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:38 - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.3/output.txt b/test/comparison-tests/es6/expectedOutput-3.3/output.txt deleted file mode 100644 index e60b401c7..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.77 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.4/bundle.js b/test/comparison-tests/es6/expectedOutput-3.4/bundle.js deleted file mode 100644 index 6b32b06c7..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nSymbol;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/es6/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 35be49d90..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:38 - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.4/output.txt b/test/comparison-tests/es6/expectedOutput-3.4/output.txt deleted file mode 100644 index e60b401c7..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.77 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.5/bundle.js b/test/comparison-tests/es6/expectedOutput-3.5/bundle.js deleted file mode 100644 index 6b32b06c7..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("({ get x() { return 1; } });\nSymbol;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/es6/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 35be49d90..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:38 - Asset Size Chunks Chunk Names -bundle.js 2.81 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.5/output.txt b/test/comparison-tests/es6/expectedOutput-3.5/output.txt deleted file mode 100644 index e60b401c7..000000000 --- a/test/comparison-tests/es6/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.77 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-2.9/bundle.js b/test/comparison-tests/es6/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/es6/expectedOutput-2.9/bundle.js rename to test/comparison-tests/es6/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/es6/expectedOutput-2.9/output.txt b/test/comparison-tests/es6/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/es6/expectedOutput-2.9/output.txt rename to test/comparison-tests/es6/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/es6/expectedOutput-3.0/bundle.js b/test/comparison-tests/es6/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/es6/expectedOutput-3.0/bundle.js rename to test/comparison-tests/es6/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/es6/expectedOutput-3.0/output.txt b/test/comparison-tests/es6/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/es6/expectedOutput-3.0/output.txt rename to test/comparison-tests/es6/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-1.6/1.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-1.6/1.bundle.js deleted file mode 100644 index 21bf403d0..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-1.6/1.bundle.js +++ /dev/null @@ -1,21 +0,0 @@ -webpackJsonp([1],[ -/* 0 */, -/* 1 */, -/* 2 */, -/* 3 */ -/***/ function(module, exports) { - - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'c'; - - -/***/ }, -/* 4 */ -/***/ function(module, exports) { - - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'd'; - - -/***/ } -]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-1.6/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-1.6/bundle.js deleted file mode 100644 index 75161473e..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,138 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, callbacks = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) -/******/ callbacks.push.apply(callbacks, installedChunks[chunkId]); -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules); -/******/ while(callbacks.length) -/******/ callbacks.shift().call(null, __webpack_require__); - -/******/ }; - -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // object to store loaded and loading chunks -/******/ // "0" means "already loaded" -/******/ // Array means "loading", array contains callbacks -/******/ var installedChunks = { -/******/ 0:0 -/******/ }; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId, callback) { -/******/ // "0" is the signal for "already loaded" -/******/ if(installedChunks[chunkId] === 0) -/******/ return callback.call(null, __webpack_require__); - -/******/ // an array means "currently loading". -/******/ if(installedChunks[chunkId] !== undefined) { -/******/ installedChunks[chunkId].push(callback); -/******/ } else { -/******/ // start chunk loading -/******/ installedChunks[chunkId] = [callback]; -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; - -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ head.appendChild(script); -/******/ } -/******/ }; - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var a_1 = __webpack_require__(1); - var b_1 = __webpack_require__(2); - console.log(a_1.default); - console.log(b_1.default); - __webpack_require__.e/* nsure */(1, function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... from` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - // Note that requiring an ES6 module always returns an object - // with the named exports. This means if you want to access - // the default export you have to do so manually. - // Since we used syntactic sugar for the default export for c, we - // go ahead and access the default property. - var cDefault = __webpack_require__(3)["default"]; - // For d, we imported the whole module so we don't access the default - // property yet. - var dModule = __webpack_require__(4); - console.log(cDefault); - console.log(dModule["default"]); - }); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'a'; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'b'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-1.6/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-1.6/output.txt deleted file mode 100644 index 844186205..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.85 kB 0 [emitted] main -1.bundle.js 332 bytes 1 [emitted] -chunk {0} bundle.js (main) 1.11 kB [rendered] - [0] ./.test/es6codeSplitting/app.ts 943 bytes {0} [built] - [1] ./.test/es6codeSplitting/a.ts 86 bytes {0} [built] - [2] ./.test/es6codeSplitting/b.ts 86 bytes {0} [built] -chunk {1} 1.bundle.js 172 bytes {0} [rendered] - [3] ./.test/es6codeSplitting/c.ts 86 bytes {1} [built] - [4] ./.test/es6codeSplitting/d.ts 86 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-1.7/1.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-1.7/1.bundle.js deleted file mode 100644 index 21bf403d0..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-1.7/1.bundle.js +++ /dev/null @@ -1,21 +0,0 @@ -webpackJsonp([1],[ -/* 0 */, -/* 1 */, -/* 2 */, -/* 3 */ -/***/ function(module, exports) { - - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'c'; - - -/***/ }, -/* 4 */ -/***/ function(module, exports) { - - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'd'; - - -/***/ } -]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-1.7/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-1.7/bundle.js deleted file mode 100644 index 75161473e..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,138 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, callbacks = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) -/******/ callbacks.push.apply(callbacks, installedChunks[chunkId]); -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules); -/******/ while(callbacks.length) -/******/ callbacks.shift().call(null, __webpack_require__); - -/******/ }; - -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // object to store loaded and loading chunks -/******/ // "0" means "already loaded" -/******/ // Array means "loading", array contains callbacks -/******/ var installedChunks = { -/******/ 0:0 -/******/ }; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId, callback) { -/******/ // "0" is the signal for "already loaded" -/******/ if(installedChunks[chunkId] === 0) -/******/ return callback.call(null, __webpack_require__); - -/******/ // an array means "currently loading". -/******/ if(installedChunks[chunkId] !== undefined) { -/******/ installedChunks[chunkId].push(callback); -/******/ } else { -/******/ // start chunk loading -/******/ installedChunks[chunkId] = [callback]; -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; - -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ head.appendChild(script); -/******/ } -/******/ }; - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var a_1 = __webpack_require__(1); - var b_1 = __webpack_require__(2); - console.log(a_1.default); - console.log(b_1.default); - __webpack_require__.e/* nsure */(1, function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... from` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - // Note that requiring an ES6 module always returns an object - // with the named exports. This means if you want to access - // the default export you have to do so manually. - // Since we used syntactic sugar for the default export for c, we - // go ahead and access the default property. - var cDefault = __webpack_require__(3)["default"]; - // For d, we imported the whole module so we don't access the default - // property yet. - var dModule = __webpack_require__(4); - console.log(cDefault); - console.log(dModule["default"]); - }); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'a'; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'b'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-1.7/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-1.7/output.txt deleted file mode 100644 index 844186205..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.85 kB 0 [emitted] main -1.bundle.js 332 bytes 1 [emitted] -chunk {0} bundle.js (main) 1.11 kB [rendered] - [0] ./.test/es6codeSplitting/app.ts 943 bytes {0} [built] - [1] ./.test/es6codeSplitting/a.ts 86 bytes {0} [built] - [2] ./.test/es6codeSplitting/b.ts 86 bytes {0} [built] -chunk {1} 1.bundle.js 172 bytes {0} [rendered] - [3] ./.test/es6codeSplitting/c.ts 86 bytes {1} [built] - [4] ./.test/es6codeSplitting/d.ts 86 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-1.8/1.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-1.8/1.bundle.js deleted file mode 100644 index 986736336..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-1.8/1.bundle.js +++ /dev/null @@ -1,23 +0,0 @@ -webpackJsonp([1],[ -/* 0 */, -/* 1 */, -/* 2 */, -/* 3 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'c'; - - -/***/ }, -/* 4 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'd'; - - -/***/ } -]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-1.8/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-1.8/bundle.js deleted file mode 100644 index b0d9510c9..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,141 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, callbacks = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) -/******/ callbacks.push.apply(callbacks, installedChunks[chunkId]); -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules); -/******/ while(callbacks.length) -/******/ callbacks.shift().call(null, __webpack_require__); - -/******/ }; - -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // object to store loaded and loading chunks -/******/ // "0" means "already loaded" -/******/ // Array means "loading", array contains callbacks -/******/ var installedChunks = { -/******/ 0:0 -/******/ }; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId, callback) { -/******/ // "0" is the signal for "already loaded" -/******/ if(installedChunks[chunkId] === 0) -/******/ return callback.call(null, __webpack_require__); - -/******/ // an array means "currently loading". -/******/ if(installedChunks[chunkId] !== undefined) { -/******/ installedChunks[chunkId].push(callback); -/******/ } else { -/******/ // start chunk loading -/******/ installedChunks[chunkId] = [callback]; -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; - -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ head.appendChild(script); -/******/ } -/******/ }; - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var a_1 = __webpack_require__(1); - var b_1 = __webpack_require__(2); - console.log(a_1.default); - console.log(b_1.default); - __webpack_require__.e/* nsure */(1, function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... from` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - // Note that requiring an ES6 module always returns an object - // with the named exports. This means if you want to access - // the default export you have to do so manually. - // Since we used syntactic sugar for the default export for c, we - // go ahead and access the default property. - var cDefault = __webpack_require__(3)["default"]; - // For d, we imported the whole module so we don't access the default - // property yet. - var dModule = __webpack_require__(4); - console.log(cDefault); - console.log(dModule["default"]); - }); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'a'; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'b'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-1.8/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-1.8/output.txt deleted file mode 100644 index a3abdc84c..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.89 kB 0 [emitted] main -1.bundle.js 362 bytes 1 [emitted] -chunk {0} bundle.js (main) 1.16 kB [rendered] - [0] ./.test/es6codeSplitting/app.ts 957 bytes {0} [built] - [1] ./.test/es6codeSplitting/a.ts 100 bytes {0} [built] - [2] ./.test/es6codeSplitting/b.ts 100 bytes {0} [built] -chunk {1} 1.bundle.js 200 bytes {0} [rendered] - [3] ./.test/es6codeSplitting/c.ts 100 bytes {1} [built] - [4] ./.test/es6codeSplitting/d.ts 100 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.0/1.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.0/1.bundle.js deleted file mode 100644 index 986736336..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.0/1.bundle.js +++ /dev/null @@ -1,23 +0,0 @@ -webpackJsonp([1],[ -/* 0 */, -/* 1 */, -/* 2 */, -/* 3 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'c'; - - -/***/ }, -/* 4 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'd'; - - -/***/ } -]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.0/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.0/bundle.js deleted file mode 100644 index b0d9510c9..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,141 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, callbacks = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) -/******/ callbacks.push.apply(callbacks, installedChunks[chunkId]); -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules); -/******/ while(callbacks.length) -/******/ callbacks.shift().call(null, __webpack_require__); - -/******/ }; - -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // object to store loaded and loading chunks -/******/ // "0" means "already loaded" -/******/ // Array means "loading", array contains callbacks -/******/ var installedChunks = { -/******/ 0:0 -/******/ }; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId, callback) { -/******/ // "0" is the signal for "already loaded" -/******/ if(installedChunks[chunkId] === 0) -/******/ return callback.call(null, __webpack_require__); - -/******/ // an array means "currently loading". -/******/ if(installedChunks[chunkId] !== undefined) { -/******/ installedChunks[chunkId].push(callback); -/******/ } else { -/******/ // start chunk loading -/******/ installedChunks[chunkId] = [callback]; -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; - -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ head.appendChild(script); -/******/ } -/******/ }; - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var a_1 = __webpack_require__(1); - var b_1 = __webpack_require__(2); - console.log(a_1.default); - console.log(b_1.default); - __webpack_require__.e/* nsure */(1, function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... from` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - // Note that requiring an ES6 module always returns an object - // with the named exports. This means if you want to access - // the default export you have to do so manually. - // Since we used syntactic sugar for the default export for c, we - // go ahead and access the default property. - var cDefault = __webpack_require__(3)["default"]; - // For d, we imported the whole module so we don't access the default - // property yet. - var dModule = __webpack_require__(4); - console.log(cDefault); - console.log(dModule["default"]); - }); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'a'; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'b'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.0/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.0/output.txt deleted file mode 100644 index a3abdc84c..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 4.89 kB 0 [emitted] main -1.bundle.js 362 bytes 1 [emitted] -chunk {0} bundle.js (main) 1.16 kB [rendered] - [0] ./.test/es6codeSplitting/app.ts 957 bytes {0} [built] - [1] ./.test/es6codeSplitting/a.ts 100 bytes {0} [built] - [2] ./.test/es6codeSplitting/b.ts 100 bytes {0} [built] -chunk {1} 1.bundle.js 200 bytes {0} [rendered] - [3] ./.test/es6codeSplitting/c.ts 100 bytes {1} [built] - [4] ./.test/es6codeSplitting/d.ts 100 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.1/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.1/0.bundle.js deleted file mode 100644 index f0bf54d6d..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.1/0.bundle.js +++ /dev/null @@ -1,22 +0,0 @@ -webpackJsonp([0],[ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'c'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'd'; - - -/***/ }) -]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.1/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.1/bundle.js deleted file mode 100644 index 2a8dde8c4..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,195 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) -/******/ resolves.shift()(); - -/******/ }; - -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 1: 0 -/******/ }; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ if(installedChunks[chunkId] === 0) -/******/ return Promise.resolve(); - -/******/ // an Promise means "currently loading". -/******/ if(installedChunks[chunkId]) { -/******/ return installedChunks[chunkId][2]; -/******/ } -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; - -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; - -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunks[chunkId][2] = promise; - -/******/ head.appendChild(script); -/******/ return promise; -/******/ }; - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 4); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'a'; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'b'; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var a_1 = __webpack_require__(2); -var b_1 = __webpack_require__(3); -console.log(a_1.default); -console.log(b_1.default); -__webpack_require__.e/* require.ensure */(0).then((function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... from` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - // Note that requiring an ES6 module always returns an object - // with the named exports. This means if you want to access - // the default export you have to do so manually. - // Since we used syntactic sugar for the default export for c, we - // go ahead and access the default property. - var cDefault = __webpack_require__(0)["default"]; - // For d, we imported the whole module so we don't access the default - // property yet. - var dModule = __webpack_require__(1); - console.log(cDefault); - console.log(dModule["default"]); -}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.1/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.1/output.txt deleted file mode 100644 index 543bf463d..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -0.bundle.js 377 bytes 0 [emitted] - bundle.js 6.98 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] -chunk {1} bundle.js (main) 1.16 kB [entry] [rendered] - [2] ./.test/es6codeSplitting/a.ts 100 bytes {1} [built] - [3] ./.test/es6codeSplitting/b.ts 100 bytes {1} [built] - [4] ./.test/es6codeSplitting/app.ts 957 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/0.bundle.js deleted file mode 100644 index f0bf54d6d..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/0.bundle.js +++ /dev/null @@ -1,22 +0,0 @@ -webpackJsonp([0],[ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'c'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'd'; - - -/***/ }) -]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/bundle.js deleted file mode 100644 index f0c75da20..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,203 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 1: 0 -/******/ }; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ if(installedChunks[chunkId] === 0) { -/******/ return Promise.resolve(); -/******/ } -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunks[chunkId]) { -/******/ return installedChunks[chunkId][2]; -/******/ } -/******/ -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunks[chunkId][2] = promise; -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ -/******/ return promise; -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 4); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'a'; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'b'; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -var a_1 = __webpack_require__(2); -var b_1 = __webpack_require__(3); -console.log(a_1.default); -console.log(b_1.default); -__webpack_require__.e/* require.ensure */(0).then((function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... from` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - // Note that requiring an ES6 module always returns an object - // with the named exports. This means if you want to access - // the default export you have to do so manually. - // Since we used syntactic sugar for the default export for c, we - // go ahead and access the default property. - var cDefault = __webpack_require__(0)["default"]; - // For d, we imported the whole module so we don't access the default - // property yet. - var dModule = __webpack_require__(1); - console.log(cDefault); - console.log(dModule["default"]); -}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/output.txt deleted file mode 100644 index 56a94447b..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -0.bundle.js 377 bytes 0 [emitted] - 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] -chunk {1} bundle.js (main) 1.22 kB [entry] [rendered] - [2] ./.test/es6codeSplitting/a.ts 100 bytes {1} [built] - [3] ./.test/es6codeSplitting/b.ts 100 bytes {1} [built] - [4] ./.test/es6codeSplitting/app.ts 1.02 kB {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.3/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.3/0.bundle.js deleted file mode 100644 index f0bf54d6d..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.3/0.bundle.js +++ /dev/null @@ -1,22 +0,0 @@ -webpackJsonp([0],[ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'c'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'd'; - - -/***/ }) -]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.3/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.3/bundle.js deleted file mode 100644 index 659935a34..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,204 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 1: 0 -/******/ }; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData === 0) { -/******/ return new Promise(function(resolve) { resolve(); }); -/******/ } -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ return installedChunkData[2]; -/******/ } -/******/ -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunkData[2] = promise; -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ -/******/ return promise; -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 4); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'a'; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'b'; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -var a_1 = __webpack_require__(2); -var b_1 = __webpack_require__(3); -console.log(a_1.default); -console.log(b_1.default); -__webpack_require__.e/* require.ensure */(0).then((function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... from` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - // Note that requiring an ES6 module always returns an object - // with the named exports. This means if you want to access - // the default export you have to do so manually. - // Since we used syntactic sugar for the default export for c, we - // go ahead and access the default property. - var cDefault = __webpack_require__(0)["default"]; - // For d, we imported the whole module so we don't access the default - // property yet. - var dModule = __webpack_require__(1); - console.log(cDefault); - console.log(dModule["default"]); -}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.3/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.3/output.txt deleted file mode 100644 index 912bab5ca..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -0.bundle.js 377 bytes 0 [emitted] - bundle.js 7.45 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] -chunk {1} bundle.js (main) 1.22 kB [entry] [rendered] - [2] ./.test/es6codeSplitting/a.ts 100 bytes {1} [built] - [3] ./.test/es6codeSplitting/b.ts 100 bytes {1} [built] - [4] ./.test/es6codeSplitting/app.ts 1.02 kB {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.4/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.4/0.bundle.js deleted file mode 100644 index f0bf54d6d..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.4/0.bundle.js +++ /dev/null @@ -1,22 +0,0 @@ -webpackJsonp([0],[ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'c'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'd'; - - -/***/ }) -]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.4/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.4/bundle.js deleted file mode 100644 index 659935a34..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,204 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 1: 0 -/******/ }; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData === 0) { -/******/ return new Promise(function(resolve) { resolve(); }); -/******/ } -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ return installedChunkData[2]; -/******/ } -/******/ -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunkData[2] = promise; -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ -/******/ return promise; -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 4); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'a'; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'b'; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -var a_1 = __webpack_require__(2); -var b_1 = __webpack_require__(3); -console.log(a_1.default); -console.log(b_1.default); -__webpack_require__.e/* require.ensure */(0).then((function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... from` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - // Note that requiring an ES6 module always returns an object - // with the named exports. This means if you want to access - // the default export you have to do so manually. - // Since we used syntactic sugar for the default export for c, we - // go ahead and access the default property. - var cDefault = __webpack_require__(0)["default"]; - // For d, we imported the whole module so we don't access the default - // property yet. - var dModule = __webpack_require__(1); - console.log(cDefault); - console.log(dModule["default"]); -}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.4/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.4/output.txt deleted file mode 100644 index 912bab5ca..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -0.bundle.js 377 bytes 0 [emitted] - bundle.js 7.45 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] -chunk {1} bundle.js (main) 1.22 kB [entry] [rendered] - [2] ./.test/es6codeSplitting/a.ts 100 bytes {1} [built] - [3] ./.test/es6codeSplitting/b.ts 100 bytes {1} [built] - [4] ./.test/es6codeSplitting/app.ts 1.02 kB {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.5/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.5/0.bundle.js deleted file mode 100644 index f0bf54d6d..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.5/0.bundle.js +++ /dev/null @@ -1,22 +0,0 @@ -webpackJsonp([0],[ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'c'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'd'; - - -/***/ }) -]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.5/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.5/bundle.js deleted file mode 100644 index d2fb4c7d5..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,201 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 1: 0 -/******/ }; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData === 0) { -/******/ return new Promise(function(resolve) { resolve(); }); -/******/ } -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ return installedChunkData[2]; -/******/ } -/******/ -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunkData[2] = promise; -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ -/******/ return promise; -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -var a_1 = __webpack_require__(3); -var b_1 = __webpack_require__(4); -console.log(a_1.default); -console.log(b_1.default); -__webpack_require__.e/* require.ensure */(0).then((function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... from` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - // Note that requiring an ES6 module always returns an object - // with the named exports. This means if you want to access - // the default export you have to do so manually. - // Since we used syntactic sugar for the default export for c, we - // go ahead and access the default property. - var cDefault = __webpack_require__(0)["default"]; - // For d, we imported the whole module so we don't access the default - // property yet. - var dModule = __webpack_require__(1); - console.log(cDefault); - console.log(dModule["default"]); -}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); - - -/***/ }), -/* 3 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'a'; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'b'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.5/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.5/output.txt deleted file mode 100644 index 32d2dceec..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -0.bundle.js 377 bytes 0 [emitted] - bundle.js 7.29 kB 1 [emitted] main - [0] ./.test/es6codeSplitting/c.ts 100 bytes {0} [built] - [1] ./.test/es6codeSplitting/d.ts 100 bytes {0} [built] - [2] ./.test/es6codeSplitting/app.ts 1.02 kB {1} [built] - [3] ./.test/es6codeSplitting/a.ts 100 bytes {1} [built] - [4] ./.test/es6codeSplitting/b.ts 100 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.6/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.6/0.bundle.js deleted file mode 100644 index f0bf54d6d..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.6/0.bundle.js +++ /dev/null @@ -1,22 +0,0 @@ -webpackJsonp([0],[ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'c'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'd'; - - -/***/ }) -]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.6/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.6/bundle.js deleted file mode 100644 index d2fb4c7d5..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,201 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 1: 0 -/******/ }; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData === 0) { -/******/ return new Promise(function(resolve) { resolve(); }); -/******/ } -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ return installedChunkData[2]; -/******/ } -/******/ -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunkData[2] = promise; -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ -/******/ return promise; -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */, -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -var a_1 = __webpack_require__(3); -var b_1 = __webpack_require__(4); -console.log(a_1.default); -console.log(b_1.default); -__webpack_require__.e/* require.ensure */(0).then((function (require) { - // These require calls are emitted (note these are NOT TypeScript - // `import ... from` statements). `require.ensure` is defined in - // require.d.ts. Webpack sees this and automatically puts c and d - // into a separate chunk. - // Note that requiring an ES6 module always returns an object - // with the named exports. This means if you want to access - // the default export you have to do so manually. - // Since we used syntactic sugar for the default export for c, we - // go ahead and access the default property. - var cDefault = __webpack_require__(0)["default"]; - // For d, we imported the whole module so we don't access the default - // property yet. - var dModule = __webpack_require__(1); - console.log(cDefault); - console.log(dModule["default"]); -}).bind(null, __webpack_require__)).catch(__webpack_require__.oe); - - -/***/ }), -/* 3 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'a'; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'b'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.6/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.6/output.txt deleted file mode 100644 index 32d2dceec..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -0.bundle.js 377 bytes 0 [emitted] - bundle.js 7.29 kB 1 [emitted] main - [0] ./.test/es6codeSplitting/c.ts 100 bytes {0} [built] - [1] ./.test/es6codeSplitting/d.ts 100 bytes {0} [built] - [2] ./.test/es6codeSplitting/app.ts 1.02 kB {1} [built] - [3] ./.test/es6codeSplitting/a.ts 100 bytes {1} [built] - [4] ./.test/es6codeSplitting/b.ts 100 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.7/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.7/bundle.js deleted file mode 100644 index bc856cdd2..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,213 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1] -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete(event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index d64a57e61..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-2-11 17:53:07 - Asset Size Chunks Chunk Names - bundle.js 8.69 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.7/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.7/output.txt deleted file mode 100644 index 00c0bbcbd..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-3-18 09:17:55 - Asset Size Chunks Chunk Names - bundle.js 8.69 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.8/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.8/bundle.js deleted file mode 100644 index 08eaf3ef0..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,213 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".bundle.js"; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete(event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index d64a57e61..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-2-11 17:53:07 - Asset Size Chunks Chunk Names - bundle.js 8.69 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.8/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.8/output.txt deleted file mode 100644 index 05d7fb0ac..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 8.69 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.9/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.9/0.bundle.js deleted file mode 100644 index 9a5b38037..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.9/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.9/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.9/bundle.js deleted file mode 100644 index 92c5253e5..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,236 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index d64a57e61..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-2-11 17:53:07 - Asset Size Chunks Chunk Names - bundle.js 8.69 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.9/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.9/output.txt deleted file mode 100644 index 93e7aab2f..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.96 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.0/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-3.0/0.bundle.js deleted file mode 100644 index 9a5b38037..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.0/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.0/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-3.0/bundle.js deleted file mode 100644 index a5bc8f4c0..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,238 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index d64a57e61..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-2-11 17:53:07 - Asset Size Chunks Chunk Names - bundle.js 8.69 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.0/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-3.0/output.txt deleted file mode 100644 index 58eb63d1e..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.97 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.1/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-3.1/0.bundle.js deleted file mode 100644 index 9a5b38037..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.1/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.1/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-3.1/bundle.js deleted file mode 100644 index a5bc8f4c0..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,238 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index d64a57e61..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-2-11 17:53:07 - Asset Size Chunks Chunk Names - bundle.js 8.69 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.1/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-3.1/output.txt deleted file mode 100644 index 58eb63d1e..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.97 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.2/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-3.2/0.bundle.js deleted file mode 100644 index 9a5b38037..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.2/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.2/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-3.2/bundle.js deleted file mode 100644 index a5bc8f4c0..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,238 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index d64a57e61..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-2-11 17:53:07 - Asset Size Chunks Chunk Names - bundle.js 8.69 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.2/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-3.2/output.txt deleted file mode 100644 index 58eb63d1e..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.97 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.3/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-3.3/0.bundle.js deleted file mode 100644 index 9a5b38037..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.3/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.3/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-3.3/bundle.js deleted file mode 100644 index a5bc8f4c0..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,238 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index d64a57e61..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-2-11 17:53:07 - Asset Size Chunks Chunk Names - bundle.js 8.69 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.3/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-3.3/output.txt deleted file mode 100644 index 58eb63d1e..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.97 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.4/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-3.4/0.bundle.js deleted file mode 100644 index 9a5b38037..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.4/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.4/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-3.4/bundle.js deleted file mode 100644 index a5bc8f4c0..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,238 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index d64a57e61..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-2-11 17:53:07 - Asset Size Chunks Chunk Names - bundle.js 8.69 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.4/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-3.4/output.txt deleted file mode 100644 index 58eb63d1e..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.97 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.5/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-3.5/0.bundle.js deleted file mode 100644 index 9a5b38037..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.5/0.bundle.js +++ /dev/null @@ -1,27 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ - -/***/ "./c.ts": -/*!**************!*\ - !*** ./c.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); - -/***/ }), - -/***/ "./d.ts": -/*!**************!*\ - !*** ./d.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); - -/***/ }) - -}]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.5/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-3.5/bundle.js deleted file mode 100644 index a5bc8f4c0..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,238 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ function webpackJsonpCallback(data) { -/******/ var chunkIds = data[0]; -/******/ var moreModules = data[1]; -/******/ -/******/ -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = []; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(data); -/******/ -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ -/******/ }; -/******/ -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // Promise = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ -/******/ -/******/ // script path function -/******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" -/******/ } -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var promises = []; -/******/ -/******/ -/******/ // JSONP chunk loading for javascript -/******/ -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ var onScriptComplete; -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = jsonpScriptSrc(chunkId); -/******/ -/******/ onScriptComplete = function (event) { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ chunk[1](error); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ var timeout = setTimeout(function(){ -/******/ onScriptComplete({ type: 'timeout', target: script }); -/******/ }, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ head.appendChild(script); -/******/ } -/******/ } -/******/ return Promise.all(promises); -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ -/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; -/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); -/******/ jsonpArray.push = webpackJsonpCallback; -/******/ jsonpArray = jsonpArray.slice(); -/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); -/******/ var parentJsonpFunction = oldJsonpFunction; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index d64a57e61..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-2-11 17:53:07 - Asset Size Chunks Chunk Names - bundle.js 8.69 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.5/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-3.5/output.txt deleted file mode 100644 index 58eb63d1e..000000000 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 9.97 KiB main [emitted] main -0.bundle.js 726 bytes 0 [emitted] -Entrypoint main = bundle.js -[./a.ts] 100 bytes {main} [built] -[./app.ts] 1020 bytes {main} [built] -[./b.ts] 100 bytes {main} [built] -[./c.ts] 100 bytes {0} [built] -[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.7/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-4.0/0.bundle.js similarity index 100% rename from test/comparison-tests/es6codeSplitting/expectedOutput-2.7/0.bundle.js rename to test/comparison-tests/es6codeSplitting/expectedOutput-4.0/0.bundle.js diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-4.0/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..4cccbf92f --- /dev/null +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-4.0/bundle.js @@ -0,0 +1,240 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // install a JSONP callback for chunk loading +/******/ function webpackJsonpCallback(data) { +/******/ var chunkIds = data[0]; +/******/ var moreModules = data[1]; +/******/ +/******/ +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0, resolves = []; +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ resolves.push(installedChunks[chunkId][0]); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ for(moduleId in moreModules) { +/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { +/******/ modules[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(parentJsonpFunction) parentJsonpFunction(data); +/******/ +/******/ while(resolves.length) { +/******/ resolves.shift()(); +/******/ } +/******/ +/******/ }; +/******/ +/******/ +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // Promise = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "main": 0 +/******/ }; +/******/ +/******/ +/******/ +/******/ // script path function +/******/ function jsonpScriptSrc(chunkId) { +/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" +/******/ } +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = function requireEnsure(chunkId) { +/******/ var promises = []; +/******/ +/******/ +/******/ // JSONP chunk loading for javascript +/******/ +/******/ var installedChunkData = installedChunks[chunkId]; +/******/ if(installedChunkData !== 0) { // 0 means "already installed". +/******/ +/******/ // a Promise means "currently loading". +/******/ if(installedChunkData) { +/******/ promises.push(installedChunkData[2]); +/******/ } else { +/******/ // setup Promise in chunk cache +/******/ var promise = new Promise(function(resolve, reject) { +/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; +/******/ }); +/******/ promises.push(installedChunkData[2] = promise); +/******/ +/******/ // start chunk loading +/******/ var script = document.createElement('script'); +/******/ var onScriptComplete; +/******/ +/******/ script.charset = 'utf-8'; +/******/ script.timeout = 120; +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ script.src = jsonpScriptSrc(chunkId); +/******/ +/******/ // create error before stack unwound to get useful stacktrace later +/******/ var error = new Error(); +/******/ onScriptComplete = function (event) { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var chunk = installedChunks[chunkId]; +/******/ if(chunk !== 0) { +/******/ if(chunk) { +/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ var realSrc = event && event.target && event.target.src; +/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; +/******/ error.name = 'ChunkLoadError'; +/******/ error.type = errorType; +/******/ error.request = realSrc; +/******/ chunk[1](error); +/******/ } +/******/ installedChunks[chunkId] = undefined; +/******/ } +/******/ }; +/******/ var timeout = setTimeout(function(){ +/******/ onScriptComplete({ type: 'timeout', target: script }); +/******/ }, 120000); +/******/ script.onerror = script.onload = onScriptComplete; +/******/ document.head.appendChild(script); +/******/ } +/******/ } +/******/ return Promise.all(promises); +/******/ }; +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // on error function for async loading +/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; +/******/ +/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; +/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); +/******/ jsonpArray.push = webpackJsonpCallback; +/******/ jsonpArray = jsonpArray.slice(); +/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); +/******/ var parentJsonpFunction = oldJsonpFunction; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./b.ts": +/*!**************!*\ + !*** ./b.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-4.0/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..e9af4df21 --- /dev/null +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +0.bundle.js 726 bytes 0 [emitted] + bundle.js 10.1 KiB main [emitted] main +Entrypoint main = bundle.js +[./a.ts] 100 bytes {main} [built] +[./app.ts] 1020 bytes {main} [built] +[./b.ts] 100 bytes {main} [built] +[./c.ts] 100 bytes {0} [built] +[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.8/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.0/0.bundle.js similarity index 100% rename from test/comparison-tests/es6codeSplitting/expectedOutput-2.8/0.bundle.js rename to test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.0/0.bundle.js diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..4cccbf92f --- /dev/null +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,240 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // install a JSONP callback for chunk loading +/******/ function webpackJsonpCallback(data) { +/******/ var chunkIds = data[0]; +/******/ var moreModules = data[1]; +/******/ +/******/ +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0, resolves = []; +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ resolves.push(installedChunks[chunkId][0]); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ for(moduleId in moreModules) { +/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { +/******/ modules[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(parentJsonpFunction) parentJsonpFunction(data); +/******/ +/******/ while(resolves.length) { +/******/ resolves.shift()(); +/******/ } +/******/ +/******/ }; +/******/ +/******/ +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // Promise = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "main": 0 +/******/ }; +/******/ +/******/ +/******/ +/******/ // script path function +/******/ function jsonpScriptSrc(chunkId) { +/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" +/******/ } +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = function requireEnsure(chunkId) { +/******/ var promises = []; +/******/ +/******/ +/******/ // JSONP chunk loading for javascript +/******/ +/******/ var installedChunkData = installedChunks[chunkId]; +/******/ if(installedChunkData !== 0) { // 0 means "already installed". +/******/ +/******/ // a Promise means "currently loading". +/******/ if(installedChunkData) { +/******/ promises.push(installedChunkData[2]); +/******/ } else { +/******/ // setup Promise in chunk cache +/******/ var promise = new Promise(function(resolve, reject) { +/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; +/******/ }); +/******/ promises.push(installedChunkData[2] = promise); +/******/ +/******/ // start chunk loading +/******/ var script = document.createElement('script'); +/******/ var onScriptComplete; +/******/ +/******/ script.charset = 'utf-8'; +/******/ script.timeout = 120; +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ script.src = jsonpScriptSrc(chunkId); +/******/ +/******/ // create error before stack unwound to get useful stacktrace later +/******/ var error = new Error(); +/******/ onScriptComplete = function (event) { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var chunk = installedChunks[chunkId]; +/******/ if(chunk !== 0) { +/******/ if(chunk) { +/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ var realSrc = event && event.target && event.target.src; +/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; +/******/ error.name = 'ChunkLoadError'; +/******/ error.type = errorType; +/******/ error.request = realSrc; +/******/ chunk[1](error); +/******/ } +/******/ installedChunks[chunkId] = undefined; +/******/ } +/******/ }; +/******/ var timeout = setTimeout(function(){ +/******/ onScriptComplete({ type: 'timeout', target: script }); +/******/ }, 120000); +/******/ script.onerror = script.onload = onScriptComplete; +/******/ document.head.appendChild(script); +/******/ } +/******/ } +/******/ return Promise.all(promises); +/******/ }; +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // on error function for async loading +/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; +/******/ +/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; +/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); +/******/ jsonpArray.push = webpackJsonpCallback; +/******/ jsonpArray = jsonpArray.slice(); +/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); +/******/ var parentJsonpFunction = oldJsonpFunction; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./b.ts": +/*!**************!*\ + !*** ./b.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..e9af4df21 --- /dev/null +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +0.bundle.js 726 bytes 0 [emitted] + bundle.js 10.1 KiB main [emitted] main +Entrypoint main = bundle.js +[./a.ts] 100 bytes {main} [built] +[./app.ts] 1020 bytes {main} [built] +[./b.ts] 100 bytes {main} [built] +[./c.ts] 100 bytes {0} [built] +[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-1.6/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-1.6/output.txt deleted file mode 100644 index 863f4ef0c..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - -ERROR in ./.test/es6withCJS/app.ts -Module parse failed: index.js!app.ts Line 1: Unexpected token -You may need an appropriate loader to handle this file type. -| export default 'a'; -| \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-1.7/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-1.7/bundle.js deleted file mode 100644 index 5951836e4..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - exports.default = 'a'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-1.7/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-1.7/output.txt deleted file mode 100644 index 68141e943..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.41 kB 0 [emitted] main -chunk {0} bundle.js (main) 23 bytes [rendered] - [0] ./.test/es6withCJS/app.ts 23 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-1.8/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-1.8/bundle.js deleted file mode 100644 index 02c18d8c2..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'a'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-1.8/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-1.8/output.txt deleted file mode 100644 index 3b17aece2..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.49 kB 0 [emitted] main -chunk {0} bundle.js (main) 100 bytes [rendered] - [0] ./.test/es6withCJS/app.ts 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.0/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-2.0/bundle.js deleted file mode 100644 index 02c18d8c2..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = 'a'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.0/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-2.0/output.txt deleted file mode 100644 index 3b17aece2..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.49 kB 0 [emitted] main -chunk {0} bundle.js (main) 100 bytes [rendered] - [0] ./.test/es6withCJS/app.ts 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.1/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-2.1/bundle.js deleted file mode 100644 index c5dfacf8e..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'a'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.1/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-2.1/output.txt deleted file mode 100644 index 60d3805cc..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.63 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/es6withCJS/expectedOutput-2.2/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-2.2/bundle.js deleted file mode 100644 index f167e9c47..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'a'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.2/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-2.2/output.txt deleted file mode 100644 index 8124226d3..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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/es6withCJS/expectedOutput-2.3/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-2.3/bundle.js deleted file mode 100644 index f167e9c47..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'a'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.3/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-2.3/output.txt deleted file mode 100644 index 8124226d3..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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/es6withCJS/expectedOutput-2.4/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-2.4/bundle.js deleted file mode 100644 index f167e9c47..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'a'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.4/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-2.4/output.txt deleted file mode 100644 index 8124226d3..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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/es6withCJS/expectedOutput-2.5/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-2.5/bundle.js deleted file mode 100644 index b3a70e11c..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'a'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.5/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-2.5/output.txt deleted file mode 100644 index 4ef582c1e..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.6 kB 0 [emitted] main - [0] ./.test/es6withCJS/app.ts 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.6/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-2.6/bundle.js deleted file mode 100644 index b3a70e11c..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = 'a'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.6/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-2.6/output.txt deleted file mode 100644 index 4ef582c1e..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.6 kB 0 [emitted] main - [0] ./.test/es6withCJS/app.ts 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.7/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-2.7/bundle.js deleted file mode 100644 index b0eed5b4b..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/es6withCJS/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 9a29ad731..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:02 - Asset Size Chunks Chunk Names -bundle.js 2.9 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.7/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-2.7/output.txt deleted file mode 100644 index 480d389ae..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:01 - Asset Size Chunks Chunk Names -bundle.js 2.9 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.8/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-2.8/bundle.js deleted file mode 100644 index b0eed5b4b..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/es6withCJS/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 42ba6817b..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:49 - Asset Size Chunks Chunk Names -bundle.js 2.9 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.8/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-2.8/output.txt deleted file mode 100644 index ec455885d..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.9 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/es6withCJS/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 42ba6817b..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:49 - Asset Size Chunks Chunk Names -bundle.js 2.9 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/es6withCJS/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 42ba6817b..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:49 - Asset Size Chunks Chunk Names -bundle.js 2.9 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.1/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-3.1/bundle.js deleted file mode 100644 index 2ecaec7ac..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/es6withCJS/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 42ba6817b..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:49 - Asset Size Chunks Chunk Names -bundle.js 2.9 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.1/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-3.1/output.txt deleted file mode 100644 index d5765659c..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.86 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.2/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-3.2/bundle.js deleted file mode 100644 index 2ecaec7ac..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/es6withCJS/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 42ba6817b..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:49 - Asset Size Chunks Chunk Names -bundle.js 2.9 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.2/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-3.2/output.txt deleted file mode 100644 index d5765659c..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.86 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.3/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-3.3/bundle.js deleted file mode 100644 index 2ecaec7ac..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/es6withCJS/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 42ba6817b..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:49 - Asset Size Chunks Chunk Names -bundle.js 2.9 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.3/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-3.3/output.txt deleted file mode 100644 index d5765659c..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.86 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.4/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-3.4/bundle.js deleted file mode 100644 index 2ecaec7ac..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/es6withCJS/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 42ba6817b..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:49 - Asset Size Chunks Chunk Names -bundle.js 2.9 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.4/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-3.4/output.txt deleted file mode 100644 index d5765659c..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.86 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.5/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-3.5/bundle.js deleted file mode 100644 index 2ecaec7ac..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/es6withCJS/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 42ba6817b..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-4-7 18:33:49 - Asset Size Chunks Chunk Names -bundle.js 2.9 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.5/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-3.5/output.txt deleted file mode 100644 index d5765659c..000000000 --- a/test/comparison-tests/es6withCJS/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.86 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.9/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/es6withCJS/expectedOutput-2.9/bundle.js rename to test/comparison-tests/es6withCJS/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.9/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/es6withCJS/expectedOutput-2.9/output.txt rename to test/comparison-tests/es6withCJS/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.0/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/es6withCJS/expectedOutput-3.0/bundle.js rename to test/comparison-tests/es6withCJS/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.0/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/es6withCJS/expectedOutput-3.0/output.txt rename to test/comparison-tests/es6withCJS/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/externals/expectedOutput-1.6/bundle.js b/test/comparison-tests/externals/expectedOutput-1.6/bundle.js deleted file mode 100644 index adf94d963..000000000 --- a/test/comparison-tests/externals/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,58 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var hello = __webpack_require__(1); - var msg = hello.sayHello('World'); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = hello; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-1.6/output.txt b/test/comparison-tests/externals/expectedOutput-1.6/output.txt deleted file mode 100644 index 97f7ab007..000000000 --- a/test/comparison-tests/externals/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.56 kB 0 [emitted] main -chunk {0} bundle.js (main) 107 bytes [rendered] - [0] ./.test/externals/app.ts 65 bytes {0} [built] - [1] external "hello" 42 bytes {0} [not cacheable] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-1.7/bundle.js b/test/comparison-tests/externals/expectedOutput-1.7/bundle.js deleted file mode 100644 index adf94d963..000000000 --- a/test/comparison-tests/externals/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,58 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var hello = __webpack_require__(1); - var msg = hello.sayHello('World'); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = hello; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-1.7/output.txt b/test/comparison-tests/externals/expectedOutput-1.7/output.txt deleted file mode 100644 index 97f7ab007..000000000 --- a/test/comparison-tests/externals/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.56 kB 0 [emitted] main -chunk {0} bundle.js (main) 107 bytes [rendered] - [0] ./.test/externals/app.ts 65 bytes {0} [built] - [1] external "hello" 42 bytes {0} [not cacheable] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-1.8/bundle.js b/test/comparison-tests/externals/expectedOutput-1.8/bundle.js deleted file mode 100644 index 96b4d56ab..000000000 --- a/test/comparison-tests/externals/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,59 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var hello = __webpack_require__(1); - var msg = hello.sayHello('World'); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = hello; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-1.8/output.txt b/test/comparison-tests/externals/expectedOutput-1.8/output.txt deleted file mode 100644 index 033a0b60b..000000000 --- a/test/comparison-tests/externals/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 121 bytes [rendered] - [0] ./.test/externals/app.ts 79 bytes {0} [built] - [1] external "hello" 42 bytes {0} [not cacheable] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.0/bundle.js b/test/comparison-tests/externals/expectedOutput-2.0/bundle.js deleted file mode 100644 index 96b4d56ab..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,59 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var hello = __webpack_require__(1); - var msg = hello.sayHello('World'); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = hello; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.0/output.txt b/test/comparison-tests/externals/expectedOutput-2.0/output.txt deleted file mode 100644 index 033a0b60b..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 121 bytes [rendered] - [0] ./.test/externals/app.ts 79 bytes {0} [built] - [1] external "hello" 42 bytes {0} [not cacheable] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.1/bundle.js b/test/comparison-tests/externals/expectedOutput-2.1/bundle.js deleted file mode 100644 index 37b27e446..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = hello; - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var hello = __webpack_require__(0); -var msg = hello.sayHello('World'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.1/output.txt b/test/comparison-tests/externals/expectedOutput-2.1/output.txt deleted file mode 100644 index c1fcb354a..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 121 bytes [entry] [rendered] - [0] external "hello" 42 bytes {0} [not cacheable] - [1] ./.test/externals/app.ts 79 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 deleted file mode 100644 index aba7da368..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = hello; - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var hello = __webpack_require__(0); -var msg = hello.sayHello('World'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.2/output.txt b/test/comparison-tests/externals/expectedOutput-2.2/output.txt deleted file mode 100644 index f9baa0aca..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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/externals/expectedOutput-2.3/bundle.js b/test/comparison-tests/externals/expectedOutput-2.3/bundle.js deleted file mode 100644 index aba7da368..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = hello; - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var hello = __webpack_require__(0); -var msg = hello.sayHello('World'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.3/output.txt b/test/comparison-tests/externals/expectedOutput-2.3/output.txt deleted file mode 100644 index f9baa0aca..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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/externals/expectedOutput-2.4/bundle.js b/test/comparison-tests/externals/expectedOutput-2.4/bundle.js deleted file mode 100644 index aba7da368..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = hello; - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var hello = __webpack_require__(0); -var msg = hello.sayHello('World'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.4/output.txt b/test/comparison-tests/externals/expectedOutput-2.4/output.txt deleted file mode 100644 index f9baa0aca..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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/externals/expectedOutput-2.5/bundle.js b/test/comparison-tests/externals/expectedOutput-2.5/bundle.js deleted file mode 100644 index a13a69589..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,84 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var hello = __webpack_require__(1); -var msg = hello.sayHello('World'); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = hello; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.5/output.txt b/test/comparison-tests/externals/expectedOutput-2.5/output.txt deleted file mode 100644 index a7501fff1..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main - [0] ./.test/externals/app.ts 106 bytes {0} [built] - [1] external "hello" 42 bytes {0} [not cacheable] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.6/bundle.js b/test/comparison-tests/externals/expectedOutput-2.6/bundle.js deleted file mode 100644 index a13a69589..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,84 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var hello = __webpack_require__(1); -var msg = hello.sayHello('World'); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = hello; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.6/output.txt b/test/comparison-tests/externals/expectedOutput-2.6/output.txt deleted file mode 100644 index a7501fff1..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main - [0] ./.test/externals/app.ts 106 bytes {0} [built] - [1] external "hello" 42 bytes {0} [not cacheable] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.7/bundle.js b/test/comparison-tests/externals/expectedOutput-2.7/bundle.js deleted file mode 100644 index 3343bee03..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,97 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "hello": -/*!************************!*\ - !*** external "hello" ***! - \************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = hello;\n\n//# sourceURL=webpack:///external_%22hello%22?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/externals/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 7dc41e252..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:18:08 - Asset Size Chunks Chunk Names -bundle.js 3.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.7/output.txt b/test/comparison-tests/externals/expectedOutput-2.7/output.txt deleted file mode 100644 index 43ec5fbbe..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:18:07 - Asset Size Chunks Chunk Names -bundle.js 3.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.8/bundle.js b/test/comparison-tests/externals/expectedOutput-2.8/bundle.js deleted file mode 100644 index 3343bee03..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,97 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "hello": -/*!************************!*\ - !*** external "hello" ***! - \************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = hello;\n\n//# sourceURL=webpack:///external_%22hello%22?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/externals/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 7dc41e252..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:18:08 - Asset Size Chunks Chunk Names -bundle.js 3.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.8/output.txt b/test/comparison-tests/externals/expectedOutput-2.8/output.txt deleted file mode 100644 index 95148cbca..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/externals/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 7dc41e252..000000000 --- a/test/comparison-tests/externals/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:18:08 - Asset Size Chunks Chunk Names -bundle.js 3.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.0/bundle.js b/test/comparison-tests/externals/expectedOutput-3.0/bundle.js deleted file mode 100644 index 008e763d4..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "hello": -/*!************************!*\ - !*** external "hello" ***! - \************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = hello;\n\n//# sourceURL=webpack:///external_%22hello%22?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/externals/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 7dc41e252..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:18:08 - Asset Size Chunks Chunk Names -bundle.js 3.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.0/output.txt b/test/comparison-tests/externals/expectedOutput-3.0/output.txt deleted file mode 100644 index 31d7acc68..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.15 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.1/bundle.js b/test/comparison-tests/externals/expectedOutput-3.1/bundle.js deleted file mode 100644 index 008e763d4..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "hello": -/*!************************!*\ - !*** external "hello" ***! - \************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = hello;\n\n//# sourceURL=webpack:///external_%22hello%22?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/externals/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 7dc41e252..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:18:08 - Asset Size Chunks Chunk Names -bundle.js 3.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.1/output.txt b/test/comparison-tests/externals/expectedOutput-3.1/output.txt deleted file mode 100644 index 31d7acc68..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.15 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.2/bundle.js b/test/comparison-tests/externals/expectedOutput-3.2/bundle.js deleted file mode 100644 index 008e763d4..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "hello": -/*!************************!*\ - !*** external "hello" ***! - \************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = hello;\n\n//# sourceURL=webpack:///external_%22hello%22?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/externals/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 7dc41e252..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:18:08 - Asset Size Chunks Chunk Names -bundle.js 3.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.2/output.txt b/test/comparison-tests/externals/expectedOutput-3.2/output.txt deleted file mode 100644 index 31d7acc68..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.15 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.3/bundle.js b/test/comparison-tests/externals/expectedOutput-3.3/bundle.js deleted file mode 100644 index 008e763d4..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "hello": -/*!************************!*\ - !*** external "hello" ***! - \************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = hello;\n\n//# sourceURL=webpack:///external_%22hello%22?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/externals/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 7dc41e252..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:18:08 - Asset Size Chunks Chunk Names -bundle.js 3.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.3/output.txt b/test/comparison-tests/externals/expectedOutput-3.3/output.txt deleted file mode 100644 index 31d7acc68..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.15 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.4/bundle.js b/test/comparison-tests/externals/expectedOutput-3.4/bundle.js deleted file mode 100644 index 008e763d4..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "hello": -/*!************************!*\ - !*** external "hello" ***! - \************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = hello;\n\n//# sourceURL=webpack:///external_%22hello%22?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/externals/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 7dc41e252..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:18:08 - Asset Size Chunks Chunk Names -bundle.js 3.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.4/output.txt b/test/comparison-tests/externals/expectedOutput-3.4/output.txt deleted file mode 100644 index 31d7acc68..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.15 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.5/bundle.js b/test/comparison-tests/externals/expectedOutput-3.5/bundle.js deleted file mode 100644 index 008e763d4..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "hello": -/*!************************!*\ - !*** external "hello" ***! - \************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = hello;\n\n//# sourceURL=webpack:///external_%22hello%22?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/externals/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 7dc41e252..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:18:08 - Asset Size Chunks Chunk Names -bundle.js 3.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-3.5/output.txt b/test/comparison-tests/externals/expectedOutput-3.5/output.txt deleted file mode 100644 index 31d7acc68..000000000 --- a/test/comparison-tests/externals/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.15 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 106 bytes {main} [built] -[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.9/bundle.js b/test/comparison-tests/externals/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/externals/expectedOutput-2.9/bundle.js rename to test/comparison-tests/externals/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/externals/expectedOutput-2.9/output.txt b/test/comparison-tests/externals/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/externals/expectedOutput-2.9/output.txt rename to test/comparison-tests/externals/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/externals/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/externals/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..3595e0ba6 --- /dev/null +++ b/test/comparison-tests/externals/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "hello": +/*!************************!*\ + !*** external "hello" ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = hello;\n\n//# sourceURL=webpack:///external_%22hello%22?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/externals/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..e71d89dc0 --- /dev/null +++ b/test/comparison-tests/externals/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.19 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 142 bytes {main} [built] +[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.6/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-1.6/bundle.js deleted file mode 100644 index 3b76e1bde..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - console.log("hello"); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.6/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-1.6/output.txt deleted file mode 100644 index 4349517c1..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,12 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 1.41 kB 0 [emitted] main -index.html 182 bytes [emitted] -chunk {0} bundle.js (main) 22 bytes [rendered] - [0] ./.test/html-webpack-plugin/app.ts 22 bytes {0} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 534 kB 0 - chunk {0} index.html 516 kB [rendered] - [0] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 550 bytes {0} [built] - [1] ./~/html-webpack-plugin/~/lodash/lodash.js 516 kB {0} [built] - [2] (webpack)/buildin/module.js 241 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.7/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-1.7/bundle.js deleted file mode 100644 index 3b76e1bde..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - console.log("hello"); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.7/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-1.7/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.7/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.7/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-1.7/output.txt deleted file mode 100644 index 4349517c1..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,12 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 1.41 kB 0 [emitted] main -index.html 182 bytes [emitted] -chunk {0} bundle.js (main) 22 bytes [rendered] - [0] ./.test/html-webpack-plugin/app.ts 22 bytes {0} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 534 kB 0 - chunk {0} index.html 516 kB [rendered] - [0] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 550 bytes {0} [built] - [1] ./~/html-webpack-plugin/~/lodash/lodash.js 516 kB {0} [built] - [2] (webpack)/buildin/module.js 241 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/bundle.js deleted file mode 100644 index 3b76e1bde..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - console.log("hello"); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/bundle.transpiled.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/bundle.transpiled.js deleted file mode 100644 index 56c9a1b99..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/bundle.transpiled.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log("hello"); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index 118479c8a..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,12 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 1.43 kB 0 [emitted] main -index.html 182 bytes [emitted] -chunk {0} bundle.js (main) 36 bytes [rendered] - [0] ./.test/html-webpack-plugin/app.ts 36 bytes {0} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 534 kB 0 - chunk {0} index.html 516 kB [rendered] - [0] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 550 bytes {0} [built] - [1] ./~/html-webpack-plugin/~/lodash/lodash.js 516 kB {0} [built] - [2] (webpack)/buildin/module.js 241 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/output.txt deleted file mode 100644 index 4349517c1..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,12 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 1.41 kB 0 [emitted] main -index.html 182 bytes [emitted] -chunk {0} bundle.js (main) 22 bytes [rendered] - [0] ./.test/html-webpack-plugin/app.ts 22 bytes {0} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 534 kB 0 - chunk {0} index.html 516 kB [rendered] - [0] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 550 bytes {0} [built] - [1] ./~/html-webpack-plugin/~/lodash/lodash.js 516 kB {0} [built] - [2] (webpack)/buildin/module.js 241 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/bundle.js deleted file mode 100644 index 3b76e1bde..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - console.log("hello"); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/bundle.transpiled.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index 56c9a1b99..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log("hello"); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index 44a1ae461..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,12 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 1.43 kB 0 [emitted] main -index.html 182 bytes [emitted] -chunk {0} bundle.js (main) 36 bytes [rendered] - [0] ./.test/html-webpack-plugin/app.ts 36 bytes {0} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 558 kB 0 - chunk {0} index.html 540 kB [rendered] - [0] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 540 bytes {0} [built] - [1] ./~/lodash/lodash.js 539 kB {0} [built] - [2] (webpack)/buildin/module.js 241 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/output.txt deleted file mode 100644 index af9792b3f..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,12 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 1.41 kB 0 [emitted] main -index.html 182 bytes [emitted] -chunk {0} bundle.js (main) 22 bytes [rendered] - [0] ./.test/html-webpack-plugin/app.ts 22 bytes {0} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 558 kB 0 - chunk {0} index.html 540 kB [rendered] - [0] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 540 bytes {0} [built] - [1] ./~/lodash/lodash.js 539 kB {0} [built] - [2] (webpack)/buildin/module.js 241 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/bundle.js deleted file mode 100644 index c7a843a7a..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log("hello"); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index 45c981453..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log("hello"); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index 4dd6a57e4..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 2.57 kB 0 [emitted] main -index.html 182 bytes [emitted] -chunk {0} bundle.js (main) 36 bytes [entry] [rendered] - [0] ./.test/html-webpack-plugin/app.ts 36 bytes {0} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 544 kB 0 - chunk {0} index.html 541 kB [entry] [rendered] - [0] ./~/lodash/lodash.js 540 kB {0} [built] - [1] (webpack)/buildin/global.js 488 bytes {0} [built] - [2] (webpack)/buildin/module.js 495 bytes {0} [built] - [3] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 540 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/output.txt deleted file mode 100644 index 75b114b5b..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 2.53 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] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 544 kB 0 - chunk {0} index.html 541 kB [entry] [rendered] - [0] ./~/lodash/lodash.js 540 kB {0} [built] - [1] (webpack)/buildin/global.js 488 bytes {0} [built] - [2] (webpack)/buildin/module.js 495 bytes {0} [built] - [3] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 540 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 deleted file mode 100644 index cbe28689d..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log("hello"); - - -/***/ }) -/******/ ]); \ No newline at end of file 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 deleted file mode 100644 index 7bcfc6650..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -console.log("hello"); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file 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 deleted file mode 100644 index 12c96eaa8..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names - 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] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 544 kB 0 - chunk {0} index.html 541 kB [entry] [rendered] - [0] ./~/lodash/lodash.js 540 kB {0} [built] - [1] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 538 bytes {0} [built] - [2] (webpack)/buildin/global.js 488 bytes {0} [built] - [3] (webpack)/buildin/module.js 495 bytes {0} [built] \ No newline at end of file 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 deleted file mode 100644 index c370cd31c..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names - 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] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 544 kB 0 - chunk {0} index.html 541 kB [entry] [rendered] - [0] ./~/lodash/lodash.js 540 kB {0} [built] - [1] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 538 bytes {0} [built] - [2] (webpack)/buildin/global.js 488 bytes {0} [built] - [3] (webpack)/buildin/module.js 495 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/bundle.js deleted file mode 100644 index cbe28689d..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log("hello"); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/bundle.transpiled.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/bundle.transpiled.js deleted file mode 100644 index 7bcfc6650..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/bundle.transpiled.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -console.log("hello"); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index 12c96eaa8..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names - 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] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 544 kB 0 - chunk {0} index.html 541 kB [entry] [rendered] - [0] ./~/lodash/lodash.js 540 kB {0} [built] - [1] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 538 bytes {0} [built] - [2] (webpack)/buildin/global.js 488 bytes {0} [built] - [3] (webpack)/buildin/module.js 495 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/output.txt deleted file mode 100644 index c370cd31c..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names - 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] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 544 kB 0 - chunk {0} index.html 541 kB [entry] [rendered] - [0] ./~/lodash/lodash.js 540 kB {0} [built] - [1] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 538 bytes {0} [built] - [2] (webpack)/buildin/global.js 488 bytes {0} [built] - [3] (webpack)/buildin/module.js 495 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/bundle.js deleted file mode 100644 index cbe28689d..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log("hello"); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/bundle.transpiled.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/bundle.transpiled.js deleted file mode 100644 index 7bcfc6650..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/bundle.transpiled.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -console.log("hello"); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index 12c96eaa8..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names - 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] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 544 kB 0 - chunk {0} index.html 541 kB [entry] [rendered] - [0] ./~/lodash/lodash.js 540 kB {0} [built] - [1] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 538 bytes {0} [built] - [2] (webpack)/buildin/global.js 488 bytes {0} [built] - [3] (webpack)/buildin/module.js 495 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/output.txt deleted file mode 100644 index c370cd31c..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names - 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] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 544 kB 0 - chunk {0} index.html 541 kB [entry] [rendered] - [0] ./~/lodash/lodash.js 540 kB {0} [built] - [1] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 538 bytes {0} [built] - [2] (webpack)/buildin/global.js 488 bytes {0} [built] - [3] (webpack)/buildin/module.js 495 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.5/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.5/bundle.js deleted file mode 100644 index 46ba60048..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log("hello"); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.5/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.5/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.5/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.5/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.5/output.txt deleted file mode 100644 index 20e4c04a7..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 2.5 kB 0 [emitted] main -index.html 182 bytes [emitted] - [0] ./.test/html-webpack-plugin/app.ts 22 bytes {0} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 544 kB 0 - [0] ./node_modules/html-webpack-plugin/lib/loader.js!./node_modules/html-webpack-plugin/default_index.ejs 538 bytes {0} [built] - [1] ./node_modules/lodash/lodash.js 540 kB {0} [built] - [2] (webpack)/buildin/global.js 488 bytes {0} [built] - [3] (webpack)/buildin/module.js 495 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.6/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.6/bundle.js deleted file mode 100644 index 46ba60048..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log("hello"); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.6/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.6/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.6/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.6/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.6/output.txt deleted file mode 100644 index 20e4c04a7..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 2.5 kB 0 [emitted] main -index.html 182 bytes [emitted] - [0] ./.test/html-webpack-plugin/app.ts 22 bytes {0} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 544 kB 0 - [0] ./node_modules/html-webpack-plugin/lib/loader.js!./node_modules/html-webpack-plugin/default_index.ejs 538 bytes {0} [built] - [1] ./node_modules/lodash/lodash.js 540 kB {0} [built] - [2] (webpack)/buildin/global.js 488 bytes {0} [built] - [3] (webpack)/buildin/module.js 495 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.7/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.7/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.7/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index d09e34045..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:14 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/bundle.js deleted file mode 100644 index c9f87f770..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log(\"hello\");\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index d09e34045..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:14 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/output.txt deleted file mode 100644 index 55defee69..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:12 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/bundle.js deleted file mode 100644 index c9f87f770..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log(\"hello\");\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index d09e34045..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:14 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/output.txt deleted file mode 100644 index 55defee69..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:12 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/bundle.js deleted file mode 100644 index c9f87f770..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log(\"hello\");\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index d09e34045..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:14 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/output.txt deleted file mode 100644 index 55defee69..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:12 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/bundle.js deleted file mode 100644 index c9f87f770..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log(\"hello\");\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index d09e34045..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:14 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/output.txt deleted file mode 100644 index 55defee69..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:12 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/bundle.js deleted file mode 100644 index c9f87f770..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log(\"hello\");\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index d09e34045..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:14 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/output.txt deleted file mode 100644 index 55defee69..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:12 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/bundle.js deleted file mode 100644 index c9f87f770..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log(\"hello\");\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index d09e34045..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:14 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/output.txt deleted file mode 100644 index 55defee69..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:12 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/bundle.js deleted file mode 100644 index c9f87f770..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log(\"hello\");\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index d09e34045..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:14 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/output.txt deleted file mode 100644 index 55defee69..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:12 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/bundle.js deleted file mode 100644 index c9f87f770..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("console.log(\"hello\");\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/index.html deleted file mode 100644 index 866dfa443..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Webpack App - - - - \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index d09e34045..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:14 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/output.txt deleted file mode 100644 index 55defee69..000000000 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,14 +0,0 @@ -Built at: 2018-3-18 09:18:12 - Asset Size Chunks Chunk Names - bundle.js 2.8 KiB main [emitted] main -index.html 190 bytes [emitted] -Entrypoint main = bundle.js -[./app.ts] 22 bytes {main} [built] -Child html-webpack-plugin for "index.html": - Asset Size Chunks Chunk Names - index.html 550 KiB 0 - Entrypoint undefined = index.html - [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] - [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] - [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] - [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.7/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/html-webpack-plugin/expectedOutput-2.7/bundle.js rename to test/comparison-tests/html-webpack-plugin/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-1.6/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-4.0/index.html similarity index 100% rename from test/comparison-tests/html-webpack-plugin/expectedOutput-1.6/index.html rename to test/comparison-tests/html-webpack-plugin/expectedOutput-4.0/index.html diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.7/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/html-webpack-plugin/expectedOutput-2.7/output.txt rename to test/comparison-tests/html-webpack-plugin/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.6/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.6/bundle.js deleted file mode 100644 index 8e88de30b..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,63 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - return Foo; - })(); - exports.Foo = Foo; - var Bar = (function () { - function Bar() { - } - return Bar; - })(); - var a = 'b'; // this should error with 2322 - module.exports = Bar; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.6/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.6/output.transpiled.txt deleted file mode 100644 index 210b2bd14..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.6/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.63 kB 0 [emitted] main -chunk {0} bundle.js (main) 233 bytes [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 233 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.6/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.6/output.txt deleted file mode 100644 index de608f856..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.63 kB 0 [emitted] main -chunk {0} bundle.js (main) 233 bytes [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 233 bytes {0} [built] [1 error] - -ERROR in ./.test/ignoreDiagnostics/app.ts -(9,5): error TS2322: Type 'string' is not assignable to type 'Number'. - Property 'toFixed' is missing in type 'String'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.7/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.7/bundle.js deleted file mode 100644 index 8e88de30b..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,63 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - return Foo; - })(); - exports.Foo = Foo; - var Bar = (function () { - function Bar() { - } - return Bar; - })(); - var a = 'b'; // this should error with 2322 - module.exports = Bar; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.7/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.7/output.transpiled.txt deleted file mode 100644 index 210b2bd14..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.7/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.63 kB 0 [emitted] main -chunk {0} bundle.js (main) 233 bytes [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 233 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.7/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.7/output.txt deleted file mode 100644 index de608f856..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.63 kB 0 [emitted] main -chunk {0} bundle.js (main) 233 bytes [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 233 bytes {0} [built] [1 error] - -ERROR in ./.test/ignoreDiagnostics/app.ts -(9,5): error TS2322: Type 'string' is not assignable to type 'Number'. - Property 'toFixed' is missing in type 'String'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.8/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.8/bundle.js deleted file mode 100644 index 46254dee0..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,64 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var Foo = (function () { - function Foo() { - } - return Foo; - }()); - exports.Foo = Foo; - var Bar = (function () { - function Bar() { - } - return Bar; - }()); - var a = 'b'; // this should error with 2322 - module.exports = Bar; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index 2f4c059ae..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.65 kB 0 [emitted] main -chunk {0} bundle.js (main) 247 bytes [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 247 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.8/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.8/output.txt deleted file mode 100644 index d90665909..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.65 kB 0 [emitted] main -chunk {0} bundle.js (main) 247 bytes [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 247 bytes {0} [built] [1 error] - -ERROR in ./.test/ignoreDiagnostics/app.ts -(9,5): error TS2322: Type 'string' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.0/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.0/bundle.js deleted file mode 100644 index 46254dee0..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,64 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var Foo = (function () { - function Foo() { - } - return Foo; - }()); - exports.Foo = Foo; - var Bar = (function () { - function Bar() { - } - return Bar; - }()); - var a = 'b'; // this should error with 2322 - module.exports = Bar; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index 2f4c059ae..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.65 kB 0 [emitted] main -chunk {0} bundle.js (main) 247 bytes [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 247 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.0/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.0/output.txt deleted file mode 100644 index d90665909..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.65 kB 0 [emitted] main -chunk {0} bundle.js (main) 247 bytes [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 247 bytes {0} [built] [1 error] - -ERROR in ./.test/ignoreDiagnostics/app.ts -(9,5): error TS2322: Type 'string' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.1/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.1/bundle.js deleted file mode 100644 index aaaa5b113..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,90 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Foo = (function () { - function Foo() { - } - return Foo; -}()); -var Bar = (function () { - function Bar() { - } - return Bar; -}()); -var a = 'b'; // this should error with 2322 -module.exports = Bar; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index 0a3b8c226..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.76 kB 0 [emitted] main -chunk {0} bundle.js (main) 228 bytes [entry] [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 228 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.1/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.1/output.txt deleted file mode 100644 index 89acb1575..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.76 kB 0 [emitted] main -chunk {0} bundle.js (main) 228 bytes [entry] [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 228 bytes {0} [built] [1 error] - -ERROR in ./.test/ignoreDiagnostics/app.ts -(9,5): error TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/bundle.js deleted file mode 100644 index 13f17bc35..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,90 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Foo = (function () { - function Foo() { - } - return Foo; -}()); -var Bar = (function () { - function Bar() { - } - return Bar; -}()); -var a = 'b'; // this should error with 2322 -module.exports = Bar; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index ae822045e..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main -chunk {0} bundle.js (main) 228 bytes [entry] [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 228 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/output.txt deleted file mode 100644 index 1f3580d75..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main -chunk {0} bundle.js (main) 228 bytes [entry] [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 228 bytes {0} [built] [1 error] - -ERROR in ./.test/ignoreDiagnostics/app.ts -(9,5): error TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.3/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.3/bundle.js deleted file mode 100644 index 13f17bc35..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,90 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Foo = (function () { - function Foo() { - } - return Foo; -}()); -var Bar = (function () { - function Bar() { - } - return Bar; -}()); -var a = 'b'; // this should error with 2322 -module.exports = Bar; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index ae822045e..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main -chunk {0} bundle.js (main) 228 bytes [entry] [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 228 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.3/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.3/output.txt deleted file mode 100644 index 1f3580d75..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main -chunk {0} bundle.js (main) 228 bytes [entry] [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 228 bytes {0} [built] [1 error] - -ERROR in ./.test/ignoreDiagnostics/app.ts -(9,5): error TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.4/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.4/bundle.js deleted file mode 100644 index 13f17bc35..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,90 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Foo = (function () { - function Foo() { - } - return Foo; -}()); -var Bar = (function () { - function Bar() { - } - return Bar; -}()); -var a = 'b'; // this should error with 2322 -module.exports = Bar; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index ae822045e..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main -chunk {0} bundle.js (main) 228 bytes [entry] [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 228 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.4/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.4/output.txt deleted file mode 100644 index 1f3580d75..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main -chunk {0} bundle.js (main) 228 bytes [entry] [rendered] - [0] ./.test/ignoreDiagnostics/app.ts 228 bytes {0} [built] [1 error] - -ERROR in ./.test/ignoreDiagnostics/app.ts -(9,5): error TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.5/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.5/bundle.js deleted file mode 100644 index 6487d510a..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Foo = /** @class */ (function () { - function Foo() { - } - return Foo; -}()); -var Bar = /** @class */ (function () { - function Bar() { - } - return Bar; -}()); -var a = 'b'; // this should error with 2322 -module.exports = Bar; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index 92f8f0888..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main - [0] ./.test/ignoreDiagnostics/app.ts 256 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.5/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.5/output.txt deleted file mode 100644 index 28da3bdb4..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main - [0] ./.test/ignoreDiagnostics/app.ts 256 bytes {0} [built] [1 error] - -ERROR in ./.test/ignoreDiagnostics/app.ts -[tsl] ERROR in app.ts(9,5) - TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.6/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.6/bundle.js deleted file mode 100644 index 6487d510a..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Foo = /** @class */ (function () { - function Foo() { - } - return Foo; -}()); -var Bar = /** @class */ (function () { - function Bar() { - } - return Bar; -}()); -var a = 'b'; // this should error with 2322 -module.exports = Bar; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index 92f8f0888..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main - [0] ./.test/ignoreDiagnostics/app.ts 256 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.6/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.6/output.txt deleted file mode 100644 index 28da3bdb4..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main - [0] ./.test/ignoreDiagnostics/app.ts 256 bytes {0} [built] [1 error] - -ERROR in ./.test/ignoreDiagnostics/app.ts -[tsl] ERROR in app.ts(9,5) - TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.7/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.7/bundle.js deleted file mode 100644 index 8a6725d09..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 902820179..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:18 - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.7/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.7/output.txt deleted file mode 100644 index 12ecc60f7..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-3-18 09:18:18 - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(9,5) - TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.8/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.8/bundle.js deleted file mode 100644 index 8a6725d09..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 51468a61f..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.8/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.8/output.txt deleted file mode 100644 index 709d03aac..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(9,5) - TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.9/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.9/bundle.js deleted file mode 100644 index 45cd29fc1..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 9dae6bc32..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.9/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.9/output.txt deleted file mode 100644 index 2f0543ee0..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(9,5) - TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.0/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.0/bundle.js deleted file mode 100644 index 45cd29fc1..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 9dae6bc32..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.0/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.0/output.txt deleted file mode 100644 index 2f0543ee0..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(9,5) - TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.1/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.1/bundle.js deleted file mode 100644 index 45cd29fc1..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 9dae6bc32..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.1/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.1/output.txt deleted file mode 100644 index 2f0543ee0..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(9,5) - TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.2/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.2/bundle.js deleted file mode 100644 index 45cd29fc1..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 9dae6bc32..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.2/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.2/output.txt deleted file mode 100644 index 2f0543ee0..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(9,5) - TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.3/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.3/bundle.js deleted file mode 100644 index 45cd29fc1..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 9dae6bc32..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.3/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.3/output.txt deleted file mode 100644 index 2f0543ee0..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(9,5) - TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.4/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.4/bundle.js deleted file mode 100644 index 45cd29fc1..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 9dae6bc32..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.4/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.4/output.txt deleted file mode 100644 index 2f0543ee0..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(9,5) - TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.5/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.5/bundle.js deleted file mode 100644 index 45cd29fc1..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 9dae6bc32..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.5/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.5/output.txt deleted file mode 100644 index 2f0543ee0..000000000 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 256 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(9,5) - TS2322: Type '"b"' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.0/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..dba64e8d1 --- /dev/null +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.0/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.Foo = void 0;\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.0/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..bcc531083 --- /dev/null +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +bundle.js 4.04 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 278 bytes {main} [built] [1 error] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(9,5) + TS2322: Type 'string' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..dba64e8d1 --- /dev/null +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.Foo = void 0;\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..ba753d04e --- /dev/null +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 4.04 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 278 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.0/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.0/bundle.js deleted file mode 100644 index a7708217e..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var foo; - foo.bar = 'foobar'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.0/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.0/output.txt deleted file mode 100644 index fb615e598..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [rendered] - [0] ./.test/importsWatch/app.ts 43 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.0/patch0/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.0/patch0/bundle.js deleted file mode 100644 index a7708217e..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.0/patch0/bundle.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var foo; - foo.bar = 'foobar'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.0/patch0/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.0/patch0/output.txt deleted file mode 100644 index fb615e598..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.0/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [rendered] - [0] ./.test/importsWatch/app.ts 43 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.0/patch1/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.0/patch1/bundle.js deleted file mode 100644 index a7708217e..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.0/patch1/bundle.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var foo; - foo.bar = 'foobar'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.0/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.0/patch1/output.txt deleted file mode 100644 index ba7d1d08b..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.0/patch1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [rendered] - [0] ./.test/importsWatch/app.ts 43 bytes {0} [built] [1 error] - -ERROR in ./.test/importsWatch/app.ts -(4,1): error TS2322: Type 'string' is not assignable to type 'boolean'. \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.1/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.1/bundle.js deleted file mode 100644 index 33cba6992..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.1/output.txt deleted file mode 100644 index a426b2bae..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [entry] [rendered] - [0] ./.test/importsWatch/app.ts 43 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.1/patch0/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.1/patch0/bundle.js deleted file mode 100644 index 33cba6992..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.1/patch0/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.1/patch0/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.1/patch0/output.txt deleted file mode 100644 index a426b2bae..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.1/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [entry] [rendered] - [0] ./.test/importsWatch/app.ts 43 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.1/patch1/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.1/patch1/bundle.js deleted file mode 100644 index 33cba6992..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.1/patch1/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.1/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.1/patch1/output.txt deleted file mode 100644 index eef89deea..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.1/patch1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [entry] [rendered] - [0] ./.test/importsWatch/app.ts 43 bytes {0} [built] [1 error] - -ERROR in ./.test/importsWatch/app.ts -(4,1): error TS2322: Type '"foobar"' is not assignable to type 'boolean'. \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.2/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.2/bundle.js deleted file mode 100644 index 4ea8038b2..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.2/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.2/output.txt deleted file mode 100644 index a7ee2314d..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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 deleted file mode 100644 index 4ea8038b2..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/bundle.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/output.txt deleted file mode 100644 index ea46a8876..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/importsWatch/app.ts -(4,1): error TS2322: Type '"foobar"' is not assignable to type 'boolean'. \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.3/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.3/bundle.js deleted file mode 100644 index 4ea8038b2..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.3/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.3/output.txt deleted file mode 100644 index a7ee2314d..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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.3/patch1/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.3/patch1/bundle.js deleted file mode 100644 index 4ea8038b2..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.3/patch1/bundle.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.3/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.3/patch1/output.txt deleted file mode 100644 index ea46a8876..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.3/patch1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/importsWatch/app.ts -(4,1): error TS2322: Type '"foobar"' is not assignable to type 'boolean'. \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.4/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.4/bundle.js deleted file mode 100644 index 4ea8038b2..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.4/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.4/output.txt deleted file mode 100644 index a7ee2314d..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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.4/patch1/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.4/patch1/bundle.js deleted file mode 100644 index 4ea8038b2..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.4/patch1/bundle.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.4/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.4/patch1/output.txt deleted file mode 100644 index ea46a8876..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.4/patch1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/importsWatch/app.ts -(4,1): error TS2322: Type '"foobar"' is not assignable to type 'boolean'. \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.5/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.5/bundle.js deleted file mode 100644 index c5ca882e4..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.5/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.5/output.txt deleted file mode 100644 index 807aa4d86..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.56 kB 0 [emitted] main - [0] ./.test/importsWatch/app.ts 70 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.5/patch1/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.5/patch1/bundle.js deleted file mode 100644 index c5ca882e4..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.5/patch1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.5/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.5/patch1/output.txt deleted file mode 100644 index 978f0f1fb..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.5/patch1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.56 kB 0 [emitted] main - [0] ./.test/importsWatch/app.ts 70 bytes {0} [built] [1 error] - -ERROR in ./.test/importsWatch/app.ts -[tsl] ERROR in app.ts(4,1) - TS2322: Type '"foobar"' is not assignable to type 'boolean'. \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.6/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.6/bundle.js deleted file mode 100644 index c5ca882e4..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.6/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.6/output.txt deleted file mode 100644 index 807aa4d86..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.56 kB 0 [emitted] main - [0] ./.test/importsWatch/app.ts 70 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.6/patch1/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.6/patch1/bundle.js deleted file mode 100644 index c5ca882e4..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.6/patch1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.6/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.6/patch1/output.txt deleted file mode 100644 index 978f0f1fb..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.6/patch1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.56 kB 0 [emitted] main - [0] ./.test/importsWatch/app.ts 70 bytes {0} [built] [1 error] - -ERROR in ./.test/importsWatch/app.ts -[tsl] ERROR in app.ts(4,1) - TS2322: Type '"foobar"' is not assignable to type 'boolean'. \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.7/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.7/bundle.js deleted file mode 100644 index d20dd1d5f..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.7/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.7/output.txt deleted file mode 100644 index 7feaa253d..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:23 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.8/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.8/bundle.js deleted file mode 100644 index d20dd1d5f..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.8/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.8/output.txt deleted file mode 100644 index 171a94318..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-3.3/output.txt b/test/comparison-tests/importsWatch/expectedOutput-3.3/output.txt deleted file mode 100644 index 41a3f8c48..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-3.4/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-3.4/bundle.js deleted file mode 100644 index 93a3017f9..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-3.4/output.txt b/test/comparison-tests/importsWatch/expectedOutput-3.4/output.txt deleted file mode 100644 index 41a3f8c48..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-3.5/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-3.5/bundle.js deleted file mode 100644 index 93a3017f9..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-3.5/output.txt b/test/comparison-tests/importsWatch/expectedOutput-3.5/output.txt deleted file mode 100644 index 41a3f8c48..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.9/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/importsWatch/expectedOutput-2.9/bundle.js rename to test/comparison-tests/importsWatch/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.9/output.txt b/test/comparison-tests/importsWatch/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/importsWatch/expectedOutput-2.9/output.txt rename to test/comparison-tests/importsWatch/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/importsWatch/expectedOutput-3.0/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-4.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/importsWatch/expectedOutput-3.0/bundle.js rename to test/comparison-tests/importsWatch/expectedOutput-4.0/patch1/bundle.js diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..5773b734b --- /dev/null +++ b/test/comparison-tests/importsWatch/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +bundle.js 3.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 70 bytes {main} [built] [1 error] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(4,1) + TS2322: Type 'string' is not assignable to type 'boolean'. \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-1.6/bundle.js b/test/comparison-tests/instance/expectedOutput-1.6/bundle.js deleted file mode 100644 index 53daa020b..000000000 --- a/test/comparison-tests/instance/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,50 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-1.6/output.txt b/test/comparison-tests/instance/expectedOutput-1.6/output.txt deleted file mode 100644 index c814aaffb..000000000 --- a/test/comparison-tests/instance/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.39 kB 0, 1 [emitted] a, b -chunk {0} bundle.js (a) 0 bytes [rendered] - [0] ./.test/instance/a.ts 0 bytes {0} [built] -chunk {1} bundle.js (b) 0 bytes [rendered] - [0] ./.test/instance/b.ts 0 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-1.7/bundle.js b/test/comparison-tests/instance/expectedOutput-1.7/bundle.js deleted file mode 100644 index 53daa020b..000000000 --- a/test/comparison-tests/instance/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,50 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-1.7/output.txt b/test/comparison-tests/instance/expectedOutput-1.7/output.txt deleted file mode 100644 index c814aaffb..000000000 --- a/test/comparison-tests/instance/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.39 kB 0, 1 [emitted] a, b -chunk {0} bundle.js (a) 0 bytes [rendered] - [0] ./.test/instance/a.ts 0 bytes {0} [built] -chunk {1} bundle.js (b) 0 bytes [rendered] - [0] ./.test/instance/b.ts 0 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-1.8/bundle.js b/test/comparison-tests/instance/expectedOutput-1.8/bundle.js deleted file mode 100644 index 53daa020b..000000000 --- a/test/comparison-tests/instance/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,50 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-1.8/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-1.8/bundle.transpiled.js deleted file mode 100644 index 5650b52eb..000000000 --- a/test/comparison-tests/instance/expectedOutput-1.8/bundle.transpiled.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index 235a7c75d..000000000 --- a/test/comparison-tests/instance/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.4 kB 0, 1 [emitted] a, b -chunk {0} bundle.js (a) 14 bytes [rendered] - [0] ./.test/instance/a.ts 14 bytes {0} [built] -chunk {1} bundle.js (b) 14 bytes [rendered] - [0] ./.test/instance/b.ts 14 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-1.8/output.txt b/test/comparison-tests/instance/expectedOutput-1.8/output.txt deleted file mode 100644 index c814aaffb..000000000 --- a/test/comparison-tests/instance/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.39 kB 0, 1 [emitted] a, b -chunk {0} bundle.js (a) 0 bytes [rendered] - [0] ./.test/instance/a.ts 0 bytes {0} [built] -chunk {1} bundle.js (b) 0 bytes [rendered] - [0] ./.test/instance/b.ts 0 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.0/bundle.js b/test/comparison-tests/instance/expectedOutput-2.0/bundle.js deleted file mode 100644 index 53daa020b..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,50 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.0/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index 5650b52eb..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index 235a7c75d..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.4 kB 0, 1 [emitted] a, b -chunk {0} bundle.js (a) 14 bytes [rendered] - [0] ./.test/instance/a.ts 14 bytes {0} [built] -chunk {1} bundle.js (b) 14 bytes [rendered] - [0] ./.test/instance/b.ts 14 bytes {1} [built] \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.0/output.txt b/test/comparison-tests/instance/expectedOutput-2.0/output.txt deleted file mode 100644 index ac33b05a1..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.39 kB 0, 1 [emitted] a, b -chunk {0} bundle.js (a) 0 bytes [rendered] - [0] ./.test/instance/a.ts 0 bytes {0} [built] -chunk {1} bundle.js (b) 0 bytes [rendered] - [0] ./.test/instance/b.ts 0 bytes {1} [built] [1 error] - -ERROR in ./.test/instance/b.ts -(1,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'someGlobal' must be of type 'number', but here has type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.1/bundle.js b/test/comparison-tests/instance/expectedOutput-2.1/bundle.js deleted file mode 100644 index 42910b9ff..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /instance/i-dont-exist\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index 535b5016e..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /instance.transpile/i-dont-exist\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index 258a8f2b4..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 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] - [0] ./.test/instance/a.ts 177 bytes {1} [built] [failed] [1 error] - -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/b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk a [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.1/output.txt b/test/comparison-tests/instance/expectedOutput-2.1/output.txt deleted file mode 100644 index ae166bebb..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] b -chunk {0} bundle.js (b) 167 bytes [entry] [rendered] - [1] ./.test/instance/b.ts 167 bytes {0} [built] [failed] [1 error] -chunk {1} (a) 167 bytes [entry] [rendered] - [0] ./.test/instance/a.ts 167 bytes {1} [built] [failed] [1 error] - -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/b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk a [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.2/bundle.js b/test/comparison-tests/instance/expectedOutput-2.2/bundle.js deleted file mode 100644 index 9d62274b4..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /instance/i-dont-exist\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-2.2/bundle.transpiled.js deleted file mode 100644 index 3f6dd6464..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /instance.transpile/i-dont-exist\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index 9360101e7..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -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] - [0] ./.test/instance/a.ts 177 bytes {1} [built] [failed] [1 error] - -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/b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk a [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.2/output.txt b/test/comparison-tests/instance/expectedOutput-2.2/output.txt deleted file mode 100644 index 3ba7aa86f..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.81 kB 0 [emitted] b -chunk {0} bundle.js (b) 167 bytes [entry] [rendered] - [1] ./.test/instance/b.ts 167 bytes {0} [built] [failed] [1 error] -chunk {1} (a) 167 bytes [entry] [rendered] - [0] ./.test/instance/a.ts 167 bytes {1} [built] [failed] [1 error] - -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/b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk a [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.3/bundle.js b/test/comparison-tests/instance/expectedOutput-2.3/bundle.js deleted file mode 100644 index 9d62274b4..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /instance/i-dont-exist\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.3/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-2.3/bundle.transpiled.js deleted file mode 100644 index 3f6dd6464..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.3/bundle.transpiled.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /instance.transpile/i-dont-exist\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index 49a263fc0..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] b -chunk {0} bundle.js (b) 182 bytes [entry] [rendered] - [1] ./.test/instance/b.ts 182 bytes {0} [built] [failed] [1 error] -chunk {1} (a) 182 bytes [entry] [rendered] - [0] ./.test/instance/a.ts 182 bytes {1} [built] [failed] [1 error] - -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/b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk a [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.3/output.txt b/test/comparison-tests/instance/expectedOutput-2.3/output.txt deleted file mode 100644 index 0713126a0..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.82 kB 0 [emitted] b -chunk {0} bundle.js (b) 172 bytes [entry] [rendered] - [1] ./.test/instance/b.ts 172 bytes {0} [built] [failed] [1 error] -chunk {1} (a) 172 bytes [entry] [rendered] - [0] ./.test/instance/a.ts 172 bytes {1} [built] [failed] [1 error] - -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/b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk a [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.4/bundle.js b/test/comparison-tests/instance/expectedOutput-2.4/bundle.js deleted file mode 100644 index 9d62274b4..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /instance/i-dont-exist\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.4/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-2.4/bundle.transpiled.js deleted file mode 100644 index 3f6dd6464..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.4/bundle.transpiled.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /instance.transpile/i-dont-exist\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index 9360101e7..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -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] - [0] ./.test/instance/a.ts 177 bytes {1} [built] [failed] [1 error] - -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/b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk a [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.4/output.txt b/test/comparison-tests/instance/expectedOutput-2.4/output.txt deleted file mode 100644 index f5ee41694..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.81 kB 0 [emitted] b -chunk {0} bundle.js (b) 167 bytes [entry] [rendered] - [1] ./.test/instance/b.ts 167 bytes {0} [built] [failed] [1 error] -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 -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in ./.test/instance/a.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk a [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.5/bundle.js b/test/comparison-tests/instance/expectedOutput-2.5/bundle.js deleted file mode 100644 index 8f71048a9..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /instance/i-dont-exist\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.5/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-2.5/bundle.transpiled.js deleted file mode 100644 index c634c6d75..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.5/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /instance.transpile/i-dont-exist\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index 7d61b4ed8..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,14 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 [emitted] b - [0] ./.test/instance/a.ts 177 bytes {1} [built] [failed] [1 error] - [1] ./.test/instance/b.ts 177 bytes {0} [built] [failed] [1 error] - -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/b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk a [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.5/output.txt b/test/comparison-tests/instance/expectedOutput-2.5/output.txt deleted file mode 100644 index dea333461..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,14 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.65 kB 0 [emitted] b - [0] ./.test/instance/a.ts 167 bytes {1} [built] [failed] [1 error] - [1] ./.test/instance/b.ts 167 bytes {0} [built] [failed] [1 error] - -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/b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk a [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.6/bundle.js b/test/comparison-tests/instance/expectedOutput-2.6/bundle.js deleted file mode 100644 index 8f71048a9..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /instance/i-dont-exist\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.6/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-2.6/bundle.transpiled.js deleted file mode 100644 index c634c6d75..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.6/bundle.transpiled.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */, -/* 1 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /instance.transpile/i-dont-exist\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index 8bacf1c35..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,14 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 [emitted] b - [0] ./.test/instance/a.ts 177 bytes {1} [built] [failed] [1 error] - [1] ./.test/instance/b.ts 177 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/instance/b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in ./.test/instance/a.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk a [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.6/output.txt b/test/comparison-tests/instance/expectedOutput-2.6/output.txt deleted file mode 100644 index dea333461..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,14 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.65 kB 0 [emitted] b - [0] ./.test/instance/a.ts 167 bytes {1} [built] [failed] [1 error] - [1] ./.test/instance/b.ts 167 bytes {0} [built] [failed] [1 error] - -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/b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk a [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.7/bundle.js b/test/comparison-tests/instance/expectedOutput-2.7/bundle.js deleted file mode 100644 index ef590cc2f..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance//i-dont-exist/u001b[39m\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.7/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-2.7/bundle.transpiled.js deleted file mode 100644 index 346fa9072..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.7/bundle.transpiled.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance.transpile//i-dont-exist/u001b[39m\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 1cb25e7a9..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,17 +0,0 @@ -Built at: 2018-3-18 09:18:32 - Asset Size Chunks Chunk Names -bundle.js 2.95 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 177 bytes {a} [built] [failed] [1 error] -[./b.ts] 177 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in ./b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.7/output.txt b/test/comparison-tests/instance/expectedOutput-2.7/output.txt deleted file mode 100644 index 069e42cd5..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,17 +0,0 @@ -Built at: 2018-3-18 09:18:32 - Asset Size Chunks Chunk Names -bundle.js 2.94 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 167 bytes {a} [built] [failed] [1 error] -[./b.ts] 167 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in ./b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.8/bundle.js b/test/comparison-tests/instance/expectedOutput-2.8/bundle.js deleted file mode 100644 index ef590cc2f..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance//i-dont-exist/u001b[39m\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.8/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-2.8/bundle.transpiled.js deleted file mode 100644 index 346fa9072..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.8/bundle.transpiled.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance.transpile//i-dont-exist/u001b[39m\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 09425a2e4..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.95 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 177 bytes {a} [built] [failed] [1 error] -[./b.ts] 177 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in ./b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.8/output.txt b/test/comparison-tests/instance/expectedOutput-2.8/output.txt deleted file mode 100644 index 7888dc4e3..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.94 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 167 bytes {a} [built] [failed] [1 error] -[./b.ts] 167 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in ./b.ts -Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.9/bundle.js b/test/comparison-tests/instance/expectedOutput-2.9/bundle.js deleted file mode 100644 index 848602341..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: Error: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance//i-dont-exist/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.9/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-2.9/bundle.transpiled.js deleted file mode 100644 index 79164c0e2..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.9/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: Error: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance.transpile//i-dont-exist/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 34151c00a..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,18 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.99 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 252 bytes {a} [built] [failed] [1 error] -[./b.ts] 252 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed: Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:18:18) - -ERROR in ./b.ts -Module build failed: Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:18:18) - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-2.9/output.txt b/test/comparison-tests/instance/expectedOutput-2.9/output.txt deleted file mode 100644 index e1369a76d..000000000 --- a/test/comparison-tests/instance/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,18 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.98 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 242 bytes {a} [built] [failed] [1 error] -[./b.ts] 242 bytes {b} [built] [failed] [1 error] - -ERROR in ./b.ts -Module build failed: Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:18:18) - -ERROR in ./a.ts -Module build failed: Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:18:18) - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple assets emit to the same filename bundle.js \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.0/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-3.0/bundle.transpiled.js deleted file mode 100644 index b05300acd..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.0/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance.transpile//i-dont-exist/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 75d24f5f4..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,20 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.03 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 289 bytes {a} [built] [failed] [1 error] -[./b.ts] 289 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in ./b.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.1/bundle.js b/test/comparison-tests/instance/expectedOutput-3.1/bundle.js deleted file mode 100644 index 847b14122..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance//i-dont-exist/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.1/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-3.1/bundle.transpiled.js deleted file mode 100644 index b05300acd..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.1/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance.transpile//i-dont-exist/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 75d24f5f4..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,20 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.03 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 289 bytes {a} [built] [failed] [1 error] -[./b.ts] 289 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in ./b.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.1/output.txt b/test/comparison-tests/instance/expectedOutput-3.1/output.txt deleted file mode 100644 index 583513f04..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,20 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 279 bytes {a} [built] [failed] [1 error] -[./b.ts] 279 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in ./b.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.2/bundle.js b/test/comparison-tests/instance/expectedOutput-3.2/bundle.js deleted file mode 100644 index 847b14122..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance//i-dont-exist/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.2/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-3.2/bundle.transpiled.js deleted file mode 100644 index b05300acd..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.2/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance.transpile//i-dont-exist/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 75d24f5f4..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,20 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.03 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 289 bytes {a} [built] [failed] [1 error] -[./b.ts] 289 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in ./b.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.2/output.txt b/test/comparison-tests/instance/expectedOutput-3.2/output.txt deleted file mode 100644 index 583513f04..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,20 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 279 bytes {a} [built] [failed] [1 error] -[./b.ts] 279 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in ./b.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.3/bundle.js b/test/comparison-tests/instance/expectedOutput-3.3/bundle.js deleted file mode 100644 index 847b14122..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance//i-dont-exist/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.3/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-3.3/bundle.transpiled.js deleted file mode 100644 index b05300acd..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.3/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance.transpile//i-dont-exist/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 75d24f5f4..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,20 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.03 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 289 bytes {a} [built] [failed] [1 error] -[./b.ts] 289 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in ./b.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.3/output.txt b/test/comparison-tests/instance/expectedOutput-3.3/output.txt deleted file mode 100644 index 583513f04..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,20 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 279 bytes {a} [built] [failed] [1 error] -[./b.ts] 279 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in ./b.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.4/bundle.js b/test/comparison-tests/instance/expectedOutput-3.4/bundle.js deleted file mode 100644 index 847b14122..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance//i-dont-exist/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.4/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-3.4/bundle.transpiled.js deleted file mode 100644 index b05300acd..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.4/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance.transpile//i-dont-exist/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 75d24f5f4..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,20 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.03 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 289 bytes {a} [built] [failed] [1 error] -[./b.ts] 289 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in ./b.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.4/output.txt b/test/comparison-tests/instance/expectedOutput-3.4/output.txt deleted file mode 100644 index 583513f04..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,20 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 279 bytes {a} [built] [failed] [1 error] -[./b.ts] 279 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in ./b.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.5/bundle.js b/test/comparison-tests/instance/expectedOutput-3.5/bundle.js deleted file mode 100644 index 847b14122..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance//i-dont-exist/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.5/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-3.5/bundle.transpiled.js deleted file mode 100644 index b05300acd..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.5/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//instance.transpile//i-dont-exist/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 75d24f5f4..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,20 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.03 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 289 bytes {a} [built] [failed] [1 error] -[./b.ts] 289 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in ./b.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.5/output.txt b/test/comparison-tests/instance/expectedOutput-3.5/output.txt deleted file mode 100644 index 583513f04..000000000 --- a/test/comparison-tests/instance/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,20 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.02 KiB a [emitted] a -Entrypoint a = bundle.js -Entrypoint b = -[./a.ts] 279 bytes {a} [built] [failed] [1 error] -[./b.ts] 279 bytes {b} [built] [failed] [1 error] - -ERROR in ./a.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in ./b.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-dont-exist - at Object.loader (dist\index.js:19:18) - -ERROR in chunk b [entry] -bundle.js -Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-3.0/bundle.js b/test/comparison-tests/instance/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/instance/expectedOutput-3.0/bundle.js rename to test/comparison-tests/instance/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/instance/expectedOutput-3.0/output.txt b/test/comparison-tests/instance/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/instance/expectedOutput-3.0/output.txt rename to test/comparison-tests/instance/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/instance/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/instance/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..2f35309bf --- /dev/null +++ b/test/comparison-tests/instance/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: /instance.transpile/i-dont-exist/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:19:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/instance/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..f692f5759 --- /dev/null +++ b/test/comparison-tests/instance/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,20 @@ + Asset Size Chunks Chunk Names +bundle.js 4.01 KiB a [emitted] a +Entrypoint a = bundle.js +Entrypoint b = +[./a.ts] 286 bytes {a} [built] [failed] [1 error] +[./b.ts] 286 bytes {b} [built] [failed] [1 error] + +ERROR in ./a.ts +Module build failed (from index.js): +Error: A file specified in tsconfig.json could not be found: i-dont-exist + at Object.loader (dist/index.js:19:18) + +ERROR in ./b.ts +Module build failed (from index.js): +Error: A file specified in tsconfig.json could not be found: i-dont-exist + at Object.loader (dist/index.js:19:18) + +ERROR in chunk b [entry] +bundle.js +Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.0/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.0/bundle.js deleted file mode 100644 index b871f3f3e..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,69 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - var foo; - foo.bar = 'foobar' + foo_1.s; - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var sString = __webpack_require__(2); - exports.s = sString; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = 'a'; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.0/output.txt b/test/comparison-tests/issue372/expectedOutput-2.0/output.txt deleted file mode 100644 index cb5af985d..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.73 kB 0 [emitted] main -chunk {0} bundle.js (main) 167 bytes [rendered] - [0] ./.test/issue372/app.ts 83 bytes {0} [built] - [1] ./.test/issue372/foo.ts 63 bytes {0} [built] - [2] ./.test/issue372/~/a/index.js 21 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.0/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.0/patch0/bundle.js deleted file mode 100644 index 895fdaa26..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.0/patch0/bundle.js +++ /dev/null @@ -1,69 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - var foo; - foo.bar = 'foobar_patch0' + foo_1.s; - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var sString = __webpack_require__(2); - exports.s = sString; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = 'a'; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.0/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-2.0/patch0/output.txt deleted file mode 100644 index d23e44011..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.0/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 174 bytes [rendered] - [0] ./.test/issue372/app.ts 90 bytes {0} [built] - [1] ./.test/issue372/foo.ts 63 bytes {0} - [2] ./.test/issue372/~/a/index.js 21 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.1/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.1/bundle.js deleted file mode 100644 index 9b2c585c9..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,97 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var sString = __webpack_require__(1); -exports.s = sString; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var foo_1 = __webpack_require__(0); -var foo; -foo.bar = 'foobar' + foo_1.s; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.1/output.txt b/test/comparison-tests/issue372/expectedOutput-2.1/output.txt deleted file mode 100644 index 0bc041f06..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.85 kB 0 [emitted] main -chunk {0} bundle.js (main) 167 bytes [entry] [rendered] - [0] ./.test/issue372/foo.ts 63 bytes {0} [built] - [1] ./.test/issue372/~/a/index.js 21 bytes {0} [built] - [2] ./.test/issue372/app.ts 83 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.1/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.1/patch0/bundle.js deleted file mode 100644 index 7b63561a1..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.1/patch0/bundle.js +++ /dev/null @@ -1,97 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var sString = __webpack_require__(1); -exports.s = sString; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var foo_1 = __webpack_require__(0); -var foo; -foo.bar = 'foobar_patch0' + foo_1.s; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.1/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-2.1/patch0/output.txt deleted file mode 100644 index a23e2c869..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.1/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.85 kB 0 [emitted] main -chunk {0} bundle.js (main) 174 bytes [entry] [rendered] - [0] ./.test/issue372/foo.ts 63 bytes {0} - [1] ./.test/issue372/~/a/index.js 21 bytes {0} - [2] ./.test/issue372/app.ts 90 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.2/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.2/bundle.js deleted file mode 100644 index 219bb3d6e..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var sString = __webpack_require__(2); -exports.s = sString; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(0); -var foo; -foo.bar = 'foobar' + foo_1.s; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.2/output.txt b/test/comparison-tests/issue372/expectedOutput-2.2/output.txt deleted file mode 100644 index 99baa841a..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -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] - [2] ./.test/issue372/~/a/index.js 21 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.2/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.2/patch0/bundle.js deleted file mode 100644 index 7ca292069..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.2/patch0/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var sString = __webpack_require__(2); -exports.s = sString; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(0); -var foo; -foo.bar = 'foobar_patch0' + foo_1.s; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.2/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-2.2/patch0/output.txt deleted file mode 100644 index 0432828a7..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.2/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -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] - [2] ./.test/issue372/~/a/index.js 21 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.3/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.3/bundle.js deleted file mode 100644 index 219bb3d6e..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var sString = __webpack_require__(2); -exports.s = sString; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(0); -var foo; -foo.bar = 'foobar' + foo_1.s; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.3/output.txt b/test/comparison-tests/issue372/expectedOutput-2.3/output.txt deleted file mode 100644 index 99baa841a..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -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] - [2] ./.test/issue372/~/a/index.js 21 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.3/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.3/patch0/bundle.js deleted file mode 100644 index 7ca292069..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.3/patch0/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var sString = __webpack_require__(2); -exports.s = sString; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(0); -var foo; -foo.bar = 'foobar_patch0' + foo_1.s; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.3/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-2.3/patch0/output.txt deleted file mode 100644 index 0432828a7..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.3/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -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] - [2] ./.test/issue372/~/a/index.js 21 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.4/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.4/bundle.js deleted file mode 100644 index 219bb3d6e..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var sString = __webpack_require__(2); -exports.s = sString; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(0); -var foo; -foo.bar = 'foobar' + foo_1.s; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.4/output.txt b/test/comparison-tests/issue372/expectedOutput-2.4/output.txt deleted file mode 100644 index 99baa841a..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -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] - [2] ./.test/issue372/~/a/index.js 21 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.4/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.4/patch0/bundle.js deleted file mode 100644 index 7ca292069..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.4/patch0/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var sString = __webpack_require__(2); -exports.s = sString; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(0); -var foo; -foo.bar = 'foobar_patch0' + foo_1.s; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.4/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-2.4/patch0/output.txt deleted file mode 100644 index 0432828a7..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.4/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -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] - [2] ./.test/issue372/~/a/index.js 21 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.5/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.5/bundle.js deleted file mode 100644 index 47c43cde9..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,96 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(1); -var foo; -foo.bar = 'foobar' + foo_1.s; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var sString = __webpack_require__(2); -exports.s = sString; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.5/output.txt b/test/comparison-tests/issue372/expectedOutput-2.5/output.txt deleted file mode 100644 index 1d94a2b36..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.87 kB 0 [emitted] main - [0] ./.test/issue372/app.ts 110 bytes {0} [built] - [1] ./.test/issue372/foo.ts 90 bytes {0} [built] - [2] ./.test/issue372/node_modules/a/index.js 21 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.5/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.5/patch0/bundle.js deleted file mode 100644 index a298dc2b3..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.5/patch0/bundle.js +++ /dev/null @@ -1,96 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(1); -var foo; -foo.bar = 'foobar_patch0' + foo_1.s; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var sString = __webpack_require__(2); -exports.s = sString; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.5/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-2.5/patch0/output.txt deleted file mode 100644 index 856186184..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.5/patch0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.87 kB 0 [emitted] main - [0] ./.test/issue372/app.ts 117 bytes {0} [built] - [1] ./.test/issue372/foo.ts 90 bytes {0} - [2] ./.test/issue372/node_modules/a/index.js 21 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.6/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.6/bundle.js deleted file mode 100644 index 47c43cde9..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,96 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(1); -var foo; -foo.bar = 'foobar' + foo_1.s; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var sString = __webpack_require__(2); -exports.s = sString; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.6/output.txt b/test/comparison-tests/issue372/expectedOutput-2.6/output.txt deleted file mode 100644 index 1d94a2b36..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.87 kB 0 [emitted] main - [0] ./.test/issue372/app.ts 110 bytes {0} [built] - [1] ./.test/issue372/foo.ts 90 bytes {0} [built] - [2] ./.test/issue372/node_modules/a/index.js 21 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.6/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.6/patch0/bundle.js deleted file mode 100644 index a298dc2b3..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.6/patch0/bundle.js +++ /dev/null @@ -1,96 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(1); -var foo; -foo.bar = 'foobar_patch0' + foo_1.s; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var sString = __webpack_require__(2); -exports.s = sString; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.6/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-2.6/patch0/output.txt deleted file mode 100644 index 856186184..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.6/patch0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.87 kB 0 [emitted] main - [0] ./.test/issue372/app.ts 117 bytes {0} [built] - [1] ./.test/issue372/foo.ts 90 bytes {0} - [2] ./.test/issue372/node_modules/a/index.js 21 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.7/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.7/bundle.js deleted file mode 100644 index 29d2aeccc..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index b18a8d192..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:41 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.7/output.txt b/test/comparison-tests/issue372/expectedOutput-2.7/output.txt deleted file mode 100644 index b5ae4ece8..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:38 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.7/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.7/patch0/bundle.js deleted file mode 100644 index f32d1dfc7..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.7/patch0/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.7/patch0/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-2.7/patch0/output.transpiled.txt deleted file mode 100644 index 9da0c74aa..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:43 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.7/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-2.7/patch0/output.txt deleted file mode 100644 index d057dd725..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.7/patch0/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:40 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.8/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.8/bundle.js deleted file mode 100644 index 29d2aeccc..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index b18a8d192..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:41 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.8/output.txt b/test/comparison-tests/issue372/expectedOutput-2.8/output.txt deleted file mode 100644 index a08b5c2e6..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.8/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.8/patch0/bundle.js deleted file mode 100644 index f32d1dfc7..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.8/patch0/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.8/patch0/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-2.8/patch0/output.transpiled.txt deleted file mode 100644 index 9da0c74aa..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:43 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.8/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-2.8/patch0/output.txt deleted file mode 100644 index c6e0e498a..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.8/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.9/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.9/bundle.js deleted file mode 100644 index 1e40157c3..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index b18a8d192..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:41 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.9/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.9/patch0/bundle.js deleted file mode 100644 index a855d8599..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.9/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.9/patch0/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-2.9/patch0/output.transpiled.txt deleted file mode 100644 index 9da0c74aa..000000000 --- a/test/comparison-tests/issue372/expectedOutput-2.9/patch0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:43 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.0/bundle.js b/test/comparison-tests/issue372/expectedOutput-3.0/bundle.js deleted file mode 100644 index 1e40157c3..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index b18a8d192..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:41 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.0/output.txt b/test/comparison-tests/issue372/expectedOutput-3.0/output.txt deleted file mode 100644 index bd2a5c308..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.0/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-3.0/patch0/bundle.js deleted file mode 100644 index a855d8599..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.0/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.0/patch0/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-3.0/patch0/output.transpiled.txt deleted file mode 100644 index 9da0c74aa..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:43 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.0/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-3.0/patch0/output.txt deleted file mode 100644 index ae5a84843..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.0/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.58 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.1/bundle.js b/test/comparison-tests/issue372/expectedOutput-3.1/bundle.js deleted file mode 100644 index 1e40157c3..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index b18a8d192..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:41 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.1/output.txt b/test/comparison-tests/issue372/expectedOutput-3.1/output.txt deleted file mode 100644 index bd2a5c308..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.1/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-3.1/patch0/bundle.js deleted file mode 100644 index a855d8599..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.1/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.1/patch0/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-3.1/patch0/output.transpiled.txt deleted file mode 100644 index 9da0c74aa..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:43 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.1/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-3.1/patch0/output.txt deleted file mode 100644 index ae5a84843..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.1/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.58 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.2/bundle.js b/test/comparison-tests/issue372/expectedOutput-3.2/bundle.js deleted file mode 100644 index 1e40157c3..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index b18a8d192..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:41 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.2/output.txt b/test/comparison-tests/issue372/expectedOutput-3.2/output.txt deleted file mode 100644 index bd2a5c308..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.2/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-3.2/patch0/bundle.js deleted file mode 100644 index a855d8599..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.2/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.2/patch0/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-3.2/patch0/output.transpiled.txt deleted file mode 100644 index 9da0c74aa..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:43 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.2/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-3.2/patch0/output.txt deleted file mode 100644 index ae5a84843..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.2/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.58 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.3/bundle.js b/test/comparison-tests/issue372/expectedOutput-3.3/bundle.js deleted file mode 100644 index 1e40157c3..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index b18a8d192..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:41 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.3/output.txt b/test/comparison-tests/issue372/expectedOutput-3.3/output.txt deleted file mode 100644 index bd2a5c308..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.3/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-3.3/patch0/bundle.js deleted file mode 100644 index a855d8599..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.3/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.3/patch0/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-3.3/patch0/output.transpiled.txt deleted file mode 100644 index 9da0c74aa..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:43 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.3/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-3.3/patch0/output.txt deleted file mode 100644 index ae5a84843..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.3/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.58 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.4/bundle.js b/test/comparison-tests/issue372/expectedOutput-3.4/bundle.js deleted file mode 100644 index 1e40157c3..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index b18a8d192..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:41 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.4/output.txt b/test/comparison-tests/issue372/expectedOutput-3.4/output.txt deleted file mode 100644 index bd2a5c308..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.4/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-3.4/patch0/bundle.js deleted file mode 100644 index a855d8599..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.4/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.4/patch0/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-3.4/patch0/output.transpiled.txt deleted file mode 100644 index 9da0c74aa..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:43 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.4/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-3.4/patch0/output.txt deleted file mode 100644 index ae5a84843..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.4/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.58 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.5/bundle.js b/test/comparison-tests/issue372/expectedOutput-3.5/bundle.js deleted file mode 100644 index 1e40157c3..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index b18a8d192..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:41 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.5/output.txt b/test/comparison-tests/issue372/expectedOutput-3.5/output.txt deleted file mode 100644 index bd2a5c308..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 110 bytes {main} [built] -[./foo.ts] 90 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.5/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-3.5/patch0/bundle.js deleted file mode 100644 index a855d8599..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.5/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.5/patch0/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-3.5/patch0/output.transpiled.txt deleted file mode 100644 index 9da0c74aa..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:18:43 - Asset Size Chunks Chunk Names -bundle.js 3.61 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-3.5/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-3.5/patch0/output.txt deleted file mode 100644 index ae5a84843..000000000 --- a/test/comparison-tests/issue372/expectedOutput-3.5/patch0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.58 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 117 bytes {main} [built] -[./foo.ts] 90 bytes {main} -[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-4.0/bundle.js b/test/comparison-tests/issue372/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..4ae1e2d80 --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-4.0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./foo.ts": +/*!****************!*\ + !*** ./foo.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.9/output.txt b/test/comparison-tests/issue372/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/issue372/expectedOutput-2.9/output.txt rename to test/comparison-tests/issue372/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/issue372/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..9a3ff474a --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./foo.ts": +/*!****************!*\ + !*** ./foo.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-2.9/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/issue372/expectedOutput-2.9/patch0/output.txt rename to test/comparison-tests/issue372/expectedOutput-4.0/patch0/output.txt diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/issue372/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..2dee6da5f --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./foo.ts": +/*!****************!*\ + !*** ./foo.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/issue372/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..a82456bf5 --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.67 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 146 bytes {main} [built] +[./foo.ts] 146 bytes {main} [built] +[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..180fedde6 --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./foo.ts": +/*!****************!*\ + !*** ./foo.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..e77a79930 --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.67 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 153 bytes {main} [built] +[./foo.ts] 146 bytes {main} +[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.0/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.0/bundle.js deleted file mode 100644 index ca7218149..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var foo; - foo.bar = 'foobar'; - - -/***/ } -/******/ ]); diff --git a/test/comparison-tests/issue441/expectedOutput-2.0/output.txt b/test/comparison-tests/issue441/expectedOutput-2.0/output.txt deleted file mode 100644 index 4cddf77f5..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [rendered] - [0] ./.test/issue441/app.ts 43 bytes {0} [built] diff --git a/test/comparison-tests/issue441/expectedOutput-2.0/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.0/patch0/bundle.js deleted file mode 100644 index ca7218149..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.0/patch0/bundle.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var foo; - foo.bar = 'foobar'; - - -/***/ } -/******/ ]); diff --git a/test/comparison-tests/issue441/expectedOutput-2.0/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-2.0/patch0/output.txt deleted file mode 100644 index 4cddf77f5..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.0/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [rendered] - [0] ./.test/issue441/app.ts 43 bytes {0} [built] diff --git a/test/comparison-tests/issue441/expectedOutput-2.0/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.0/patch1/bundle.js deleted file mode 100644 index ca7218149..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.0/patch1/bundle.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var foo; - foo.bar = 'foobar'; - - -/***/ } -/******/ ]); diff --git a/test/comparison-tests/issue441/expectedOutput-2.0/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-2.0/patch1/output.txt deleted file mode 100644 index 4cddf77f5..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.0/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [rendered] - [0] ./.test/issue441/app.ts 43 bytes {0} [built] diff --git a/test/comparison-tests/issue441/expectedOutput-2.1/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.1/bundle.js deleted file mode 100644 index 33cba6992..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.1/output.txt b/test/comparison-tests/issue441/expectedOutput-2.1/output.txt deleted file mode 100644 index 54e27c875..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [entry] [rendered] - [0] ./.test/issue441/app.ts 43 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.1/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.1/patch0/bundle.js deleted file mode 100644 index 33cba6992..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.1/patch0/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.1/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-2.1/patch0/output.txt deleted file mode 100644 index 54e27c875..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.1/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [entry] [rendered] - [0] ./.test/issue441/app.ts 43 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.1/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.1/patch1/bundle.js deleted file mode 100644 index 33cba6992..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.1/patch1/bundle.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.1/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-2.1/patch1/output.txt deleted file mode 100644 index 54e27c875..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.1/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 43 bytes [entry] [rendered] - [0] ./.test/issue441/app.ts 43 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.2/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.2/bundle.js deleted file mode 100644 index 4ea8038b2..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.2/output.txt b/test/comparison-tests/issue441/expectedOutput-2.2/output.txt deleted file mode 100644 index c1b64296a..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main -chunk {0} bundle.js (main) 74 bytes [entry] [rendered] - [0] ./.test/issue441/app.ts 74 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.2/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.2/patch1/bundle.js deleted file mode 100644 index 4ea8038b2..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.2/patch1/bundle.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.2/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-2.2/patch1/output.txt deleted file mode 100644 index c1b64296a..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.2/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main -chunk {0} bundle.js (main) 74 bytes [entry] [rendered] - [0] ./.test/issue441/app.ts 74 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.3/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.3/bundle.js deleted file mode 100644 index 4ea8038b2..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.3/output.txt b/test/comparison-tests/issue441/expectedOutput-2.3/output.txt deleted file mode 100644 index c1b64296a..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main -chunk {0} bundle.js (main) 74 bytes [entry] [rendered] - [0] ./.test/issue441/app.ts 74 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.3/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.3/patch1/bundle.js deleted file mode 100644 index 4ea8038b2..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.3/patch1/bundle.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.3/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-2.3/patch1/output.txt deleted file mode 100644 index c1b64296a..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.3/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main -chunk {0} bundle.js (main) 74 bytes [entry] [rendered] - [0] ./.test/issue441/app.ts 74 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.4/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.4/bundle.js deleted file mode 100644 index 4ea8038b2..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.4/output.txt b/test/comparison-tests/issue441/expectedOutput-2.4/output.txt deleted file mode 100644 index c1b64296a..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main -chunk {0} bundle.js (main) 74 bytes [entry] [rendered] - [0] ./.test/issue441/app.ts 74 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.4/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.4/patch1/bundle.js deleted file mode 100644 index 4ea8038b2..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.4/patch1/bundle.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.4/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-2.4/patch1/output.txt deleted file mode 100644 index c1b64296a..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.4/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main -chunk {0} bundle.js (main) 74 bytes [entry] [rendered] - [0] ./.test/issue441/app.ts 74 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.5/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.5/bundle.js deleted file mode 100644 index c5ca882e4..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.5/output.txt b/test/comparison-tests/issue441/expectedOutput-2.5/output.txt deleted file mode 100644 index fbc808b18..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main - [0] ./.test/issue441/app.ts 74 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.5/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.5/patch1/bundle.js deleted file mode 100644 index c5ca882e4..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.5/patch1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.5/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-2.5/patch1/output.txt deleted file mode 100644 index fbc808b18..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.5/patch1/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main - [0] ./.test/issue441/app.ts 74 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.6/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.6/bundle.js deleted file mode 100644 index c5ca882e4..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.6/output.txt b/test/comparison-tests/issue441/expectedOutput-2.6/output.txt deleted file mode 100644 index fbc808b18..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main - [0] ./.test/issue441/app.ts 74 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.6/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.6/patch1/bundle.js deleted file mode 100644 index c5ca882e4..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.6/patch1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo; -foo.bar = 'foobar'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.6/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-2.6/patch1/output.txt deleted file mode 100644 index fbc808b18..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.6/patch1/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main - [0] ./.test/issue441/app.ts 74 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.7/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.7/bundle.js deleted file mode 100644 index ba8069e3b..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 8d19164bd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:55 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.7/output.txt b/test/comparison-tests/issue441/expectedOutput-2.7/output.txt deleted file mode 100644 index 50196aa86..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:49 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.7/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.7/patch0/bundle.js deleted file mode 100644 index ba8069e3b..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.7/patch0/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.7/patch0/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-2.7/patch0/output.transpiled.txt deleted file mode 100644 index a356e8960..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:57 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.7/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-2.7/patch0/output.txt deleted file mode 100644 index b3b9fa879..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.7/patch0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:51 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.7/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.7/patch1/bundle.js deleted file mode 100644 index ba8069e3b..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.7/patch1/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.7/patch1/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-2.7/patch1/output.transpiled.txt deleted file mode 100644 index 279a42acf..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.7/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:19:00 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.7/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-2.7/patch1/output.txt deleted file mode 100644 index 1b8f29f16..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.7/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:54 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.8/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.8/bundle.js deleted file mode 100644 index ba8069e3b..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 8d19164bd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:55 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.8/output.txt b/test/comparison-tests/issue441/expectedOutput-2.8/output.txt deleted file mode 100644 index 9714a8a76..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.8/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.8/patch0/bundle.js deleted file mode 100644 index ba8069e3b..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.8/patch0/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.8/patch0/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-2.8/patch0/output.transpiled.txt deleted file mode 100644 index a356e8960..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:57 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.8/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-2.8/patch0/output.txt deleted file mode 100644 index 9714a8a76..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.8/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.8/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.8/patch1/bundle.js deleted file mode 100644 index ba8069e3b..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.8/patch1/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.8/patch1/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-2.8/patch1/output.transpiled.txt deleted file mode 100644 index 279a42acf..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.8/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:19:00 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.8/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-2.8/patch1/output.txt deleted file mode 100644 index 9714a8a76..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.8/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 8d19164bd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:55 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.9/patch0/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-2.9/patch0/output.transpiled.txt deleted file mode 100644 index a356e8960..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.9/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:57 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.9/patch1/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-2.9/patch1/output.transpiled.txt deleted file mode 100644 index 279a42acf..000000000 --- a/test/comparison-tests/issue441/expectedOutput-2.9/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:19:00 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.0/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.0/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 8d19164bd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:55 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.0/output.txt b/test/comparison-tests/issue441/expectedOutput-3.0/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.0/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.0/patch0/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.0/patch0/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.0/patch0/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.0/patch0/output.transpiled.txt deleted file mode 100644 index a356e8960..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:57 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.0/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-3.0/patch0/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.0/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.0/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.0/patch1/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.0/patch1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.0/patch1/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.0/patch1/output.transpiled.txt deleted file mode 100644 index 279a42acf..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.0/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:19:00 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.0/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-3.0/patch1/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.0/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.1/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.1/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 8d19164bd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:55 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.1/output.txt b/test/comparison-tests/issue441/expectedOutput-3.1/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.1/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.1/patch0/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.1/patch0/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.1/patch0/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.1/patch0/output.transpiled.txt deleted file mode 100644 index a356e8960..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:57 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.1/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-3.1/patch0/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.1/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.1/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.1/patch1/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.1/patch1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.1/patch1/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.1/patch1/output.transpiled.txt deleted file mode 100644 index 279a42acf..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.1/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:19:00 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.1/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-3.1/patch1/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.1/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.2/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.2/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 8d19164bd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:55 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.2/output.txt b/test/comparison-tests/issue441/expectedOutput-3.2/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.2/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.2/patch0/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.2/patch0/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.2/patch0/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.2/patch0/output.transpiled.txt deleted file mode 100644 index a356e8960..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:57 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.2/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-3.2/patch0/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.2/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.2/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.2/patch1/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.2/patch1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.2/patch1/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.2/patch1/output.transpiled.txt deleted file mode 100644 index 279a42acf..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.2/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:19:00 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.2/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-3.2/patch1/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.2/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.3/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.3/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 8d19164bd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:55 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.3/output.txt b/test/comparison-tests/issue441/expectedOutput-3.3/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.3/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.3/patch0/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.3/patch0/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.3/patch0/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.3/patch0/output.transpiled.txt deleted file mode 100644 index a356e8960..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:57 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.3/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-3.3/patch0/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.3/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.3/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.3/patch1/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.3/patch1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.3/patch1/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.3/patch1/output.transpiled.txt deleted file mode 100644 index 279a42acf..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.3/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:19:00 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.3/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-3.3/patch1/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.3/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.4/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.4/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 8d19164bd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:55 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.4/output.txt b/test/comparison-tests/issue441/expectedOutput-3.4/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.4/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.4/patch0/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.4/patch0/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.4/patch0/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.4/patch0/output.transpiled.txt deleted file mode 100644 index a356e8960..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:57 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.4/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-3.4/patch0/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.4/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.4/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.4/patch1/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.4/patch1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.4/patch1/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.4/patch1/output.transpiled.txt deleted file mode 100644 index 279a42acf..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.4/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:19:00 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.4/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-3.4/patch1/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.4/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.5/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.5/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 8d19164bd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:55 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.5/output.txt b/test/comparison-tests/issue441/expectedOutput-3.5/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.5/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.5/patch0/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.5/patch0/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.5/patch0/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.5/patch0/output.transpiled.txt deleted file mode 100644 index a356e8960..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:18:57 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.5/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-3.5/patch0/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.5/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.5/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-3.5/patch1/bundle.js deleted file mode 100644 index b04086bcd..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.5/patch1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.5/patch1/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-3.5/patch1/output.transpiled.txt deleted file mode 100644 index 279a42acf..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.5/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:19:00 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.5/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-3.5/patch1/output.txt deleted file mode 100644 index d810f4517..000000000 --- a/test/comparison-tests/issue441/expectedOutput-3.5/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 74 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-2.9/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/issue441/expectedOutput-2.9/bundle.js rename to test/comparison-tests/issue441/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/issue441/expectedOutput-2.9/output.txt b/test/comparison-tests/issue441/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/issue441/expectedOutput-2.9/output.txt rename to test/comparison-tests/issue441/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/issue441/expectedOutput-2.9/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/issue441/expectedOutput-2.9/patch0/bundle.js rename to test/comparison-tests/issue441/expectedOutput-4.0/patch0/bundle.js diff --git a/test/comparison-tests/issue441/expectedOutput-2.9/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/issue441/expectedOutput-2.9/patch0/output.txt rename to test/comparison-tests/issue441/expectedOutput-4.0/patch0/output.txt diff --git a/test/comparison-tests/issue441/expectedOutput-2.9/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/issue441/expectedOutput-2.9/patch1/bundle.js rename to test/comparison-tests/issue441/expectedOutput-4.0/patch1/bundle.js diff --git a/test/comparison-tests/issue441/expectedOutput-2.9/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-4.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/issue441/expectedOutput-2.9/patch1/output.txt rename to test/comparison-tests/issue441/expectedOutput-4.0/patch1/output.txt diff --git a/test/comparison-tests/importsWatch/expectedOutput-3.1/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/importsWatch/expectedOutput-3.1/bundle.js rename to test/comparison-tests/issue441/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/importsWatch/expectedOutput-3.0/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/importsWatch/expectedOutput-3.0/output.txt rename to test/comparison-tests/issue441/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/importsWatch/expectedOutput-3.2/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/importsWatch/expectedOutput-3.2/bundle.js rename to test/comparison-tests/issue441/expectedOutput-transpile-4.0/patch0/bundle.js diff --git a/test/comparison-tests/importsWatch/expectedOutput-3.1/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/importsWatch/expectedOutput-3.1/output.txt rename to test/comparison-tests/issue441/expectedOutput-transpile-4.0/patch0/output.txt diff --git a/test/comparison-tests/importsWatch/expectedOutput-3.3/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/importsWatch/expectedOutput-3.3/bundle.js rename to test/comparison-tests/issue441/expectedOutput-transpile-4.0/patch1/bundle.js diff --git a/test/comparison-tests/importsWatch/expectedOutput-3.2/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/importsWatch/expectedOutput-3.2/output.txt rename to test/comparison-tests/issue441/expectedOutput-transpile-4.0/patch1/output.txt diff --git a/test/comparison-tests/issue71/expectedOutput-1.6/bundle.js b/test/comparison-tests/issue71/expectedOutput-1.6/bundle.js deleted file mode 100644 index 26b09d219..000000000 --- a/test/comparison-tests/issue71/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var a = __webpack_require__(1); - var b = __webpack_require__(2); - console.log(a); - console.log(b); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'a'; - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = 'b'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-1.6/output.txt b/test/comparison-tests/issue71/expectedOutput-1.6/output.txt deleted file mode 100644 index 94ecc3442..000000000 --- a/test/comparison-tests/issue71/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.66 kB 0 [emitted] main -chunk {0} bundle.js (main) 121 bytes [rendered] - [0] ./.test/issue71/app.ts 78 bytes {0} [built] - [1] ./.test/issue71/~/a/index.js 21 bytes {0} [built] - [2] ./.test/issue71/b.ts 22 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-1.7/bundle.js b/test/comparison-tests/issue71/expectedOutput-1.7/bundle.js deleted file mode 100644 index 26b09d219..000000000 --- a/test/comparison-tests/issue71/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var a = __webpack_require__(1); - var b = __webpack_require__(2); - console.log(a); - console.log(b); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'a'; - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - module.exports = 'b'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-1.7/output.txt b/test/comparison-tests/issue71/expectedOutput-1.7/output.txt deleted file mode 100644 index 94ecc3442..000000000 --- a/test/comparison-tests/issue71/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.66 kB 0 [emitted] main -chunk {0} bundle.js (main) 121 bytes [rendered] - [0] ./.test/issue71/app.ts 78 bytes {0} [built] - [1] ./.test/issue71/~/a/index.js 21 bytes {0} [built] - [2] ./.test/issue71/b.ts 22 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-1.8/bundle.js b/test/comparison-tests/issue71/expectedOutput-1.8/bundle.js deleted file mode 100644 index d98e7c229..000000000 --- a/test/comparison-tests/issue71/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,69 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var a = __webpack_require__(1); - var b = __webpack_require__(2); - console.log(a); - console.log(b); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'a'; - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'b'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-1.8/output.txt b/test/comparison-tests/issue71/expectedOutput-1.8/output.txt deleted file mode 100644 index 568c41b33..000000000 --- a/test/comparison-tests/issue71/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 149 bytes [rendered] - [0] ./.test/issue71/app.ts 92 bytes {0} [built] - [1] ./.test/issue71/~/a/index.js 21 bytes {0} [built] - [2] ./.test/issue71/b.ts 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.0/bundle.js b/test/comparison-tests/issue71/expectedOutput-2.0/bundle.js deleted file mode 100644 index d98e7c229..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,69 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var a = __webpack_require__(1); - var b = __webpack_require__(2); - console.log(a); - console.log(b); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'a'; - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - module.exports = 'b'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.0/output.txt b/test/comparison-tests/issue71/expectedOutput-2.0/output.txt deleted file mode 100644 index 568c41b33..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 149 bytes [rendered] - [0] ./.test/issue71/app.ts 92 bytes {0} [built] - [1] ./.test/issue71/~/a/index.js 21 bytes {0} [built] - [2] ./.test/issue71/b.ts 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.1/bundle.js b/test/comparison-tests/issue71/expectedOutput-2.1/bundle.js deleted file mode 100644 index fe3957348..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,97 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'b'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var a = __webpack_require__(1); -var b = __webpack_require__(0); -console.log(a); -console.log(b); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.1/output.txt b/test/comparison-tests/issue71/expectedOutput-2.1/output.txt deleted file mode 100644 index 76361b420..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 149 bytes [entry] [rendered] - [0] ./.test/issue71/b.ts 36 bytes {0} [built] - [1] ./.test/issue71/~/a/index.js 21 bytes {0} [built] - [2] ./.test/issue71/app.ts 92 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.2/bundle.js b/test/comparison-tests/issue71/expectedOutput-2.2/bundle.js deleted file mode 100644 index 8b73514c3..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'b'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(1); -var b = __webpack_require__(0); -console.log(a); -console.log(b); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.2/output.txt b/test/comparison-tests/issue71/expectedOutput-2.2/output.txt deleted file mode 100644 index 2b184a40c..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.98 kB 0 [emitted] main -chunk {0} bundle.js (main) 176 bytes [entry] [rendered] - [0] ./.test/issue71/b.ts 36 bytes {0} [built] - [1] ./.test/issue71/~/a/index.js 21 bytes {0} [built] - [2] ./.test/issue71/app.ts 119 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.3/bundle.js b/test/comparison-tests/issue71/expectedOutput-2.3/bundle.js deleted file mode 100644 index 8b73514c3..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'b'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(1); -var b = __webpack_require__(0); -console.log(a); -console.log(b); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.3/output.txt b/test/comparison-tests/issue71/expectedOutput-2.3/output.txt deleted file mode 100644 index 2b184a40c..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.98 kB 0 [emitted] main -chunk {0} bundle.js (main) 176 bytes [entry] [rendered] - [0] ./.test/issue71/b.ts 36 bytes {0} [built] - [1] ./.test/issue71/~/a/index.js 21 bytes {0} [built] - [2] ./.test/issue71/app.ts 119 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.4/bundle.js b/test/comparison-tests/issue71/expectedOutput-2.4/bundle.js deleted file mode 100644 index 8b73514c3..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'b'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(1); -var b = __webpack_require__(0); -console.log(a); -console.log(b); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.4/output.txt b/test/comparison-tests/issue71/expectedOutput-2.4/output.txt deleted file mode 100644 index 2b184a40c..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.98 kB 0 [emitted] main -chunk {0} bundle.js (main) 176 bytes [entry] [rendered] - [0] ./.test/issue71/b.ts 36 bytes {0} [built] - [1] ./.test/issue71/~/a/index.js 21 bytes {0} [built] - [2] ./.test/issue71/app.ts 119 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.5/bundle.js b/test/comparison-tests/issue71/expectedOutput-2.5/bundle.js deleted file mode 100644 index 204fca57b..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,95 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(1); -var b = __webpack_require__(2); -console.log(a); -console.log(b); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'b'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.5/output.txt b/test/comparison-tests/issue71/expectedOutput-2.5/output.txt deleted file mode 100644 index 0c5db9623..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.82 kB 0 [emitted] main - [0] ./.test/issue71/app.ts 119 bytes {0} [built] - [1] ./.test/issue71/node_modules/a/index.js 21 bytes {0} [built] - [2] ./.test/issue71/b.ts 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.6/bundle.js b/test/comparison-tests/issue71/expectedOutput-2.6/bundle.js deleted file mode 100644 index 204fca57b..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,95 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(1); -var b = __webpack_require__(2); -console.log(a); -console.log(b); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = 'b'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.6/output.txt b/test/comparison-tests/issue71/expectedOutput-2.6/output.txt deleted file mode 100644 index 0c5db9623..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.82 kB 0 [emitted] main - [0] ./.test/issue71/app.ts 119 bytes {0} [built] - [1] ./.test/issue71/node_modules/a/index.js 21 bytes {0} [built] - [2] ./.test/issue71/b.ts 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.7/bundle.js b/test/comparison-tests/issue71/expectedOutput-2.7/bundle.js deleted file mode 100644 index 6dca04ff5..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.7/output.txt b/test/comparison-tests/issue71/expectedOutput-2.7/output.txt deleted file mode 100644 index e56b02af9..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:04 - Asset Size Chunks Chunk Names -bundle.js 3.55 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 119 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.8/bundle.js b/test/comparison-tests/issue71/expectedOutput-2.8/bundle.js deleted file mode 100644 index 6dca04ff5..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.8/output.txt b/test/comparison-tests/issue71/expectedOutput-2.8/output.txt deleted file mode 100644 index a67292aef..000000000 --- a/test/comparison-tests/issue71/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.55 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 119 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-3.0/bundle.js b/test/comparison-tests/issue71/expectedOutput-3.0/bundle.js deleted file mode 100644 index 017549af0..000000000 --- a/test/comparison-tests/issue71/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-3.0/output.txt b/test/comparison-tests/issue71/expectedOutput-3.0/output.txt deleted file mode 100644 index e5ab4f9de..000000000 --- a/test/comparison-tests/issue71/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.51 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 119 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-3.1/bundle.js b/test/comparison-tests/issue71/expectedOutput-3.1/bundle.js deleted file mode 100644 index 017549af0..000000000 --- a/test/comparison-tests/issue71/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-3.1/output.txt b/test/comparison-tests/issue71/expectedOutput-3.1/output.txt deleted file mode 100644 index e5ab4f9de..000000000 --- a/test/comparison-tests/issue71/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.51 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 119 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-3.2/bundle.js b/test/comparison-tests/issue71/expectedOutput-3.2/bundle.js deleted file mode 100644 index 017549af0..000000000 --- a/test/comparison-tests/issue71/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-3.2/output.txt b/test/comparison-tests/issue71/expectedOutput-3.2/output.txt deleted file mode 100644 index e5ab4f9de..000000000 --- a/test/comparison-tests/issue71/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.51 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 119 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-3.3/bundle.js b/test/comparison-tests/issue71/expectedOutput-3.3/bundle.js deleted file mode 100644 index 017549af0..000000000 --- a/test/comparison-tests/issue71/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-3.3/output.txt b/test/comparison-tests/issue71/expectedOutput-3.3/output.txt deleted file mode 100644 index e5ab4f9de..000000000 --- a/test/comparison-tests/issue71/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.51 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 119 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-3.4/bundle.js b/test/comparison-tests/issue71/expectedOutput-3.4/bundle.js deleted file mode 100644 index 017549af0..000000000 --- a/test/comparison-tests/issue71/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-3.4/output.txt b/test/comparison-tests/issue71/expectedOutput-3.4/output.txt deleted file mode 100644 index e5ab4f9de..000000000 --- a/test/comparison-tests/issue71/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.51 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 119 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-3.5/bundle.js b/test/comparison-tests/issue71/expectedOutput-3.5/bundle.js deleted file mode 100644 index 017549af0..000000000 --- a/test/comparison-tests/issue71/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-3.5/output.txt b/test/comparison-tests/issue71/expectedOutput-3.5/output.txt deleted file mode 100644 index e5ab4f9de..000000000 --- a/test/comparison-tests/issue71/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.51 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 119 bytes {main} [built] -[./b.ts] 36 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-2.9/bundle.js b/test/comparison-tests/issue71/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/issue71/expectedOutput-2.9/bundle.js rename to test/comparison-tests/issue71/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/issue71/expectedOutput-2.9/output.txt b/test/comparison-tests/issue71/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/issue71/expectedOutput-2.9/output.txt rename to test/comparison-tests/issue71/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.4/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.4/bundle.js deleted file mode 100644 index 83e40072b..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,94 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -function sayHello(name) { - return "Hello, " + name + "!"; -} -exports.sayHello = sayHello; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(0); -console.log(myComponent); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.4/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.4/output.txt deleted file mode 100644 index c8da62da4..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.98 kB 0 [emitted] main -chunk {0} bundle.js (main) 234 bytes [entry] [rendered] - [0] ./.test/localTsImplementationOfTypings/fake.ts 133 bytes {0} [built] - [1] ./.test/localTsImplementationOfTypings/app.ts 101 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.5/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.5/bundle.js deleted file mode 100644 index a1aa5e4dd..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,91 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(1); -console.log(myComponent); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -function sayHello(name) { - return "Hello, " + name + "!"; -} -exports.sayHello = sayHello; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.5/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.5/output.txt deleted file mode 100644 index e62074d31..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.81 kB 0 [emitted] main - [0] ./.test/localTsImplementationOfTypings/app.ts 101 bytes {0} [built] - [1] ./.test/localTsImplementationOfTypings/fake.ts 133 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.6/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.6/bundle.js deleted file mode 100644 index a1aa5e4dd..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,91 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var myComponent = __webpack_require__(1); -console.log(myComponent); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -function sayHello(name) { - return "Hello, " + name + "!"; -} -exports.sayHello = sayHello; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.6/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.6/output.txt deleted file mode 100644 index e62074d31..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.81 kB 0 [emitted] main - [0] ./.test/localTsImplementationOfTypings/app.ts 101 bytes {0} [built] - [1] ./.test/localTsImplementationOfTypings/fake.ts 133 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.7/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.7/bundle.js deleted file mode 100644 index c3e89bb91..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./fake.ts": -/*!*****************!*\ - !*** ./fake.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index cd84e12f1..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-2-11 17:54:32 - Asset Size Chunks Chunk Names -bundle.js 3.3 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.7/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.7/output.txt deleted file mode 100644 index fdb26b0a6..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:17 - Asset Size Chunks Chunk Names -bundle.js 3.3 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.8/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.8/bundle.js deleted file mode 100644 index c3e89bb91..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./fake.ts": -/*!*****************!*\ - !*** ./fake.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index cd84e12f1..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-2-11 17:54:32 - Asset Size Chunks Chunk Names -bundle.js 3.3 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.8/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.8/output.txt deleted file mode 100644 index f942a2c48..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.3 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.9/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.9/bundle.js deleted file mode 100644 index 53d66b071..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./fake.ts": -/*!*****************!*\ - !*** ./fake.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index cd84e12f1..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-2-11 17:54:32 - Asset Size Chunks Chunk Names -bundle.js 3.3 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.0/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.0/bundle.js deleted file mode 100644 index 53d66b071..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./fake.ts": -/*!*****************!*\ - !*** ./fake.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index cd84e12f1..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-2-11 17:54:32 - Asset Size Chunks Chunk Names -bundle.js 3.3 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.0/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.0/output.txt deleted file mode 100644 index 252582418..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.1/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.1/bundle.js deleted file mode 100644 index 53d66b071..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./fake.ts": -/*!*****************!*\ - !*** ./fake.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index cd84e12f1..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-2-11 17:54:32 - Asset Size Chunks Chunk Names -bundle.js 3.3 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.1/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.1/output.txt deleted file mode 100644 index 252582418..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.2/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.2/bundle.js deleted file mode 100644 index 53d66b071..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./fake.ts": -/*!*****************!*\ - !*** ./fake.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index cd84e12f1..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-2-11 17:54:32 - Asset Size Chunks Chunk Names -bundle.js 3.3 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.2/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.2/output.txt deleted file mode 100644 index 252582418..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.3/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.3/bundle.js deleted file mode 100644 index 53d66b071..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./fake.ts": -/*!*****************!*\ - !*** ./fake.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index cd84e12f1..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-2-11 17:54:32 - Asset Size Chunks Chunk Names -bundle.js 3.3 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.3/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.3/output.txt deleted file mode 100644 index 252582418..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.4/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.4/bundle.js deleted file mode 100644 index 53d66b071..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./fake.ts": -/*!*****************!*\ - !*** ./fake.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index cd84e12f1..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-2-11 17:54:32 - Asset Size Chunks Chunk Names -bundle.js 3.3 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.4/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.4/output.txt deleted file mode 100644 index 252582418..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.5/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.5/bundle.js deleted file mode 100644 index 53d66b071..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./fake.ts": -/*!*****************!*\ - !*** ./fake.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index cd84e12f1..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-2-11 17:54:32 - Asset Size Chunks Chunk Names -bundle.js 3.3 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.5/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.5/output.txt deleted file mode 100644 index 252582418..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.26 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 101 bytes {main} [built] -[./fake.ts] 133 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.0/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..8c4f47ecc --- /dev/null +++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./fake.ts": +/*!*****************!*\ + !*** ./fake.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.sayHello = void 0;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.9/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/localTsImplementationOfTypings/expectedOutput-2.9/output.txt rename to test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..4afe29aa9 --- /dev/null +++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./fake.ts": +/*!*****************!*\ + !*** ./fake.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sayHello = void 0;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..ce5ae6a72 --- /dev/null +++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.36 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 137 bytes {main} [built] +[./fake.ts] 196 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-1.6/bundle.js b/test/comparison-tests/node/expectedOutput-1.6/bundle.js deleted file mode 100644 index 19d798610..000000000 --- a/test/comparison-tests/node/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - /// - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-1.6/output.txt b/test/comparison-tests/node/expectedOutput-1.6/output.txt deleted file mode 100644 index 3d487cb03..000000000 --- a/test/comparison-tests/node/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.44 kB 0 [emitted] main -chunk {0} bundle.js (main) 55 bytes [rendered] - [0] ./.test/node/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-1.7/bundle.js b/test/comparison-tests/node/expectedOutput-1.7/bundle.js deleted file mode 100644 index 19d798610..000000000 --- a/test/comparison-tests/node/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - /// - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-1.7/output.txt b/test/comparison-tests/node/expectedOutput-1.7/output.txt deleted file mode 100644 index 3d487cb03..000000000 --- a/test/comparison-tests/node/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.44 kB 0 [emitted] main -chunk {0} bundle.js (main) 55 bytes [rendered] - [0] ./.test/node/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-1.8/bundle.js b/test/comparison-tests/node/expectedOutput-1.8/bundle.js deleted file mode 100644 index 19d798610..000000000 --- a/test/comparison-tests/node/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - /// - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-1.8/bundle.transpiled.js b/test/comparison-tests/node/expectedOutput-1.8/bundle.transpiled.js deleted file mode 100644 index c38f39d99..000000000 --- a/test/comparison-tests/node/expectedOutput-1.8/bundle.transpiled.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict";/// - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/node/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index 2db3f5850..000000000 --- a/test/comparison-tests/node/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.46 kB 0 [emitted] main -chunk {0} bundle.js (main) 68 bytes [rendered] - [0] ./.test/node/app.ts 68 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-1.8/output.txt b/test/comparison-tests/node/expectedOutput-1.8/output.txt deleted file mode 100644 index 3d487cb03..000000000 --- a/test/comparison-tests/node/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.44 kB 0 [emitted] main -chunk {0} bundle.js (main) 55 bytes [rendered] - [0] ./.test/node/app.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.0/bundle.js b/test/comparison-tests/node/expectedOutput-2.0/bundle.js deleted file mode 100644 index a3d17262f..000000000 --- a/test/comparison-tests/node/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - /// - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.0/bundle.transpiled.js b/test/comparison-tests/node/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index df06de007..000000000 --- a/test/comparison-tests/node/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict";/// - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/node/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index f412fc3dc..000000000 --- a/test/comparison-tests/node/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.46 kB 0 [emitted] main -chunk {0} bundle.js (main) 72 bytes [rendered] - [0] ./.test/node/app.ts 72 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.0/output.txt b/test/comparison-tests/node/expectedOutput-2.0/output.txt deleted file mode 100644 index 2ee0a5e06..000000000 --- a/test/comparison-tests/node/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.45 kB 0 [emitted] main -chunk {0} bundle.js (main) 59 bytes [rendered] - [0] ./.test/node/app.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.1/bundle.js b/test/comparison-tests/node/expectedOutput-2.1/bundle.js deleted file mode 100644 index a2ab6e7b4..000000000 --- a/test/comparison-tests/node/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -/// - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/node/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index a7e984dac..000000000 --- a/test/comparison-tests/node/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -/// - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/node/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index 3085895d0..000000000 --- a/test/comparison-tests/node/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.6 kB 0 [emitted] main -chunk {0} bundle.js (main) 73 bytes [entry] [rendered] - [0] ./.test/node/app.ts 73 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.1/output.txt b/test/comparison-tests/node/expectedOutput-2.1/output.txt deleted file mode 100644 index d5d6479fd..000000000 --- a/test/comparison-tests/node/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 59 bytes [entry] [rendered] - [0] ./.test/node/app.ts 59 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 deleted file mode 100644 index 8a89055d9..000000000 --- a/test/comparison-tests/node/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -/// - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/node/expectedOutput-2.2/bundle.transpiled.js deleted file mode 100644 index cedd8d6b6..000000000 --- a/test/comparison-tests/node/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -/// - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/node/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index 652a5a5ce..000000000 --- a/test/comparison-tests/node/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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/node/expectedOutput-2.2/output.txt b/test/comparison-tests/node/expectedOutput-2.2/output.txt deleted file mode 100644 index 6e61c3d89..000000000 --- a/test/comparison-tests/node/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 59 bytes [entry] [rendered] - [0] ./.test/node/app.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.3/bundle.js b/test/comparison-tests/node/expectedOutput-2.3/bundle.js deleted file mode 100644 index 8a89055d9..000000000 --- a/test/comparison-tests/node/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -/// - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.3/output.txt b/test/comparison-tests/node/expectedOutput-2.3/output.txt deleted file mode 100644 index 6e61c3d89..000000000 --- a/test/comparison-tests/node/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 59 bytes [entry] [rendered] - [0] ./.test/node/app.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.4/bundle.js b/test/comparison-tests/node/expectedOutput-2.4/bundle.js deleted file mode 100644 index 8a89055d9..000000000 --- a/test/comparison-tests/node/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -/// - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.4/output.txt b/test/comparison-tests/node/expectedOutput-2.4/output.txt deleted file mode 100644 index 6e61c3d89..000000000 --- a/test/comparison-tests/node/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 59 bytes [entry] [rendered] - [0] ./.test/node/app.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.5/bundle.js b/test/comparison-tests/node/expectedOutput-2.5/bundle.js deleted file mode 100644 index 58726dfbb..000000000 --- a/test/comparison-tests/node/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -/// - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.5/output.txt b/test/comparison-tests/node/expectedOutput-2.5/output.txt deleted file mode 100644 index a6bac6a86..000000000 --- a/test/comparison-tests/node/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/node/app.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.6/bundle.js b/test/comparison-tests/node/expectedOutput-2.6/bundle.js deleted file mode 100644 index 58726dfbb..000000000 --- a/test/comparison-tests/node/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -/// - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.6/output.txt b/test/comparison-tests/node/expectedOutput-2.6/output.txt deleted file mode 100644 index a6bac6a86..000000000 --- a/test/comparison-tests/node/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.53 kB 0 [emitted] main - [0] ./.test/node/app.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.7/bundle.js b/test/comparison-tests/node/expectedOutput-2.7/bundle.js deleted file mode 100644 index d4a45aa10..000000000 --- a/test/comparison-tests/node/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/// \n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.7/output.txt b/test/comparison-tests/node/expectedOutput-2.7/output.txt deleted file mode 100644 index 6ccc9ece5..000000000 --- a/test/comparison-tests/node/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:19:22 - Asset Size Chunks Chunk Names -bundle.js 2.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 67 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.8/bundle.js b/test/comparison-tests/node/expectedOutput-2.8/bundle.js deleted file mode 100644 index d4a45aa10..000000000 --- a/test/comparison-tests/node/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/// \n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.8/output.txt b/test/comparison-tests/node/expectedOutput-2.8/output.txt deleted file mode 100644 index 7f543061a..000000000 --- a/test/comparison-tests/node/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.84 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 67 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-3.1/bundle.js b/test/comparison-tests/node/expectedOutput-3.1/bundle.js deleted file mode 100644 index f53a6e29c..000000000 --- a/test/comparison-tests/node/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/// \n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-3.1/output.txt b/test/comparison-tests/node/expectedOutput-3.1/output.txt deleted file mode 100644 index 9f23dfb3d..000000000 --- a/test/comparison-tests/node/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 67 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-3.2/bundle.js b/test/comparison-tests/node/expectedOutput-3.2/bundle.js deleted file mode 100644 index f53a6e29c..000000000 --- a/test/comparison-tests/node/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/// \n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-3.2/output.txt b/test/comparison-tests/node/expectedOutput-3.2/output.txt deleted file mode 100644 index 9f23dfb3d..000000000 --- a/test/comparison-tests/node/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 67 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-3.3/bundle.js b/test/comparison-tests/node/expectedOutput-3.3/bundle.js deleted file mode 100644 index f53a6e29c..000000000 --- a/test/comparison-tests/node/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/// \n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-3.3/output.txt b/test/comparison-tests/node/expectedOutput-3.3/output.txt deleted file mode 100644 index 9f23dfb3d..000000000 --- a/test/comparison-tests/node/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 67 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-3.4/bundle.js b/test/comparison-tests/node/expectedOutput-3.4/bundle.js deleted file mode 100644 index f53a6e29c..000000000 --- a/test/comparison-tests/node/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/// \n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-3.4/output.txt b/test/comparison-tests/node/expectedOutput-3.4/output.txt deleted file mode 100644 index 9f23dfb3d..000000000 --- a/test/comparison-tests/node/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 67 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-3.5/bundle.js b/test/comparison-tests/node/expectedOutput-3.5/bundle.js deleted file mode 100644 index f53a6e29c..000000000 --- a/test/comparison-tests/node/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/// \n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-3.5/output.txt b/test/comparison-tests/node/expectedOutput-3.5/output.txt deleted file mode 100644 index 9f23dfb3d..000000000 --- a/test/comparison-tests/node/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.8 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 67 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.9/bundle.js b/test/comparison-tests/node/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/node/expectedOutput-2.9/bundle.js rename to test/comparison-tests/node/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/node/expectedOutput-2.9/output.txt b/test/comparison-tests/node/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/node/expectedOutput-2.9/output.txt rename to test/comparison-tests/node/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/node/expectedOutput-3.0/bundle.js b/test/comparison-tests/node/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/node/expectedOutput-3.0/bundle.js rename to test/comparison-tests/node/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/node/expectedOutput-3.0/output.txt b/test/comparison-tests/node/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/node/expectedOutput-3.0/output.txt rename to test/comparison-tests/node/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/bundle.js deleted file mode 100644 index 56dc2e1e8..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var a = __webpack_require__(!(function webpackMissingModule() { var e = new Error("Cannot find module \"a\""); e.code = 'MODULE_NOT_FOUND'; throw e; }())); - console.log(a); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index c2f0ed39f..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,62 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var a = __webpack_require__(1); - console.log(a); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - var elephant = "In the room"; - module.exports = elephant; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index d65bb3540..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.6 kB 0 [emitted] main -chunk {0} bundle.js (main) 123 bytes [rendered] - [0] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 52 bytes {0} [built] - [1] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/~/a/index.ts 71 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/output.txt deleted file mode 100644 index dac52d06d..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,12 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.6 kB 0 [emitted] main -chunk {0} bundle.js (main) 52 bytes [rendered] - [0] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 52 bytes {0} [built] [1 error] - -ERROR in ./.test/nodeModulesMeaningfulErrorWhenImportingTs/~/a/index.ts -Module build failed: Error: Typescript emitted no output for node_modules/a/index.ts. -You should not need to recompile .ts files in node_modules. -Please contact the package author to advise them to use --declaration --outDir. -More https://github.com/Microsoft/TypeScript/issues/12358 - at Object.loader (dist/index.js:33:15) - @ ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 2:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/bundle.js deleted file mode 100644 index 0d7737a88..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 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:33:15)"); - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var a = __webpack_require__(0); -console.log(a); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index 05551026b..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,90 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var elephant = "In the room"; -module.exports = elephant; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var a = __webpack_require__(0); -console.log(a); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index bfd45a586..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 123 bytes [entry] [rendered] - [0] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/~/a/index.ts 71 bytes {0} [built] - [1] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 52 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/output.txt deleted file mode 100644 index c26740130..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.1 kB 0 [emitted] main -chunk {0} bundle.js (main) 501 bytes [entry] [rendered] - [0] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/~/a/index.ts 449 bytes {0} [built] [failed] [1 error] - [1] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 52 bytes {0} [built] - -ERROR in ./.test/nodeModulesMeaningfulErrorWhenImportingTs/~/a/index.ts -Module build failed: Error: Typescript emitted no output for node_modules/a/index.ts. -You should not need to recompile .ts files in node_modules. -Please contact the package author to advise them to use --declaration --outDir. -More https://github.com/Microsoft/TypeScript/issues/12358 - at Object.loader (dist/index.js:33:15) - @ ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 2:8-20 \ 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 deleted file mode 100644 index b69d2ca33..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 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)"); - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(0); -console.log(a); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.transpiled.js deleted file mode 100644 index 29cc0956b..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,91 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var elephant = "In the room"; -module.exports = elephant; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(0); -console.log(a); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index c0914e310..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - 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/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/output.txt deleted file mode 100644 index 9709eca0f..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.25 kB 0 [emitted] main -chunk {0} bundle.js (main) 528 bytes [entry] [rendered] - [0] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/~/a/index.ts 449 bytes {0} [built] [failed] [1 error] - [1] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 79 bytes {0} [built] - -ERROR in ./.test/nodeModulesMeaningfulErrorWhenImportingTs/~/a/index.ts -Module build failed: Error: Typescript emitted no output for node_modules\a\index.ts. -You should not need to recompile .ts files in node_modules. -Please contact the package author to advise them to use --declaration --outDir. -More https://github.com/Microsoft/TypeScript/issues/12358 - at Object.loader (dist\index.js:33:15) - @ ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/bundle.js deleted file mode 100644 index e2d8a010d..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 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 (E:/Source/tmp/ts-loader/dist/index.js:32:15)"); - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(0); -console.log(a); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/bundle.transpiled.js deleted file mode 100644 index 29cc0956b..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/bundle.transpiled.js +++ /dev/null @@ -1,91 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var elephant = "In the room"; -module.exports = elephant; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(0); -console.log(a); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index c0914e310..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - 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/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/output.txt deleted file mode 100644 index 63d7c4b4b..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.26 kB 0 [emitted] main -chunk {0} bundle.js (main) 538 bytes [entry] [rendered] - [0] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/~/a/index.ts 459 bytes {0} [built] [failed] [1 error] - [1] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 79 bytes {0} [built] - -ERROR in ./.test/nodeModulesMeaningfulErrorWhenImportingTs/~/a/index.ts -Module build failed: Error: Typescript emitted no output for node_modules\a\index.ts. -You should not need to recompile .ts files in node_modules. -Please contact the package author to advise them to use --declaration --outDir. -More https://github.com/Microsoft/TypeScript/issues/12358 - at Object.loader (dist\index.js:33:15) - @ ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/bundle.js deleted file mode 100644 index 90d6b13e2..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 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 successLoader (C:/source/ts-loader/dist/index.js:39:15)\n at Object.loader (C:/source/ts-loader/dist/index.js:21:12)"); - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(0); -console.log(a); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/bundle.transpiled.js deleted file mode 100644 index 29cc0956b..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/bundle.transpiled.js +++ /dev/null @@ -1,91 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var elephant = "In the room"; -module.exports = elephant; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(0); -console.log(a); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index c0914e310..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - 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/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/output.txt deleted file mode 100644 index 6b29130d4..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,14 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.32 kB 0 [emitted] main -chunk {0} bundle.js (main) 596 bytes [entry] [rendered] - [0] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/~/a/index.ts 517 bytes {0} [built] [failed] [1 error] - [1] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 79 bytes {0} [built] - -ERROR in ./.test/nodeModulesMeaningfulErrorWhenImportingTs/~/a/index.ts -Module build failed: Error: Typescript emitted no output for node_modules\a\index.ts. -You should not need to recompile .ts files in node_modules. -Please contact the package author to advise them to use --declaration --outDir. -More https://github.com/Microsoft/TypeScript/issues/12358 - at successLoader (dist\index.js:39:15) - at Object.loader (dist\index.js:21:12) - @ ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/bundle.js deleted file mode 100644 index 82d39f20c..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,84 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(1); -console.log(a); - - -/***/ }), -/* 1 */ -/***/ (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 successLoader (C:/source/ts-loader/dist/index.js:47:15)\n at Object.loader (C:/source/ts-loader/dist/index.js:29:12)"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/bundle.transpiled.js deleted file mode 100644 index 749e7755c..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/bundle.transpiled.js +++ /dev/null @@ -1,88 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(1); -console.log(a); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var elephant = "In the room"; -module.exports = elephant; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index 64c5a8a43..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 79 bytes {0} [built] - [1] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts 71 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/output.txt deleted file mode 100644 index c374c33d9..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.16 kB 0 [emitted] main - [0] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 79 bytes {0} [built] - [1] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts 517 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts -Module build failed: Error: Typescript emitted no output for node_modules\a\index.ts. -You should not need to recompile .ts files in node_modules. -Please contact the package author to advise them to use --declaration --outDir. -More https://github.com/Microsoft/TypeScript/issues/12358 - at successLoader (dist\index.js:47:15) - at Object.loader (dist\index.js:29:12) - @ ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/bundle.js deleted file mode 100644 index 82d39f20c..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,84 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(1); -console.log(a); - - -/***/ }), -/* 1 */ -/***/ (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 successLoader (C:/source/ts-loader/dist/index.js:47:15)\n at Object.loader (C:/source/ts-loader/dist/index.js:29:12)"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/bundle.transpiled.js deleted file mode 100644 index 749e7755c..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/bundle.transpiled.js +++ /dev/null @@ -1,88 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(1); -console.log(a); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var elephant = "In the room"; -module.exports = elephant; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index 64c5a8a43..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main - [0] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 79 bytes {0} [built] - [1] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts 71 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/output.txt deleted file mode 100644 index c374c33d9..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.16 kB 0 [emitted] main - [0] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 79 bytes {0} [built] - [1] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts 517 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts -Module build failed: Error: Typescript emitted no output for node_modules\a\index.ts. -You should not need to recompile .ts files in node_modules. -Please contact the package author to advise them to use --declaration --outDir. -More https://github.com/Microsoft/TypeScript/issues/12358 - at successLoader (dist\index.js:47:15) - at Object.loader (dist\index.js:29:12) - @ ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/bundle.js deleted file mode 100644 index c1758738d..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,97 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: Error: Typescript emitted no output for C://source//ts-loader//.test//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 successLoader (C://source//ts-loader//dist//index.js:39:15)/n at Object.loader (C://source//ts-loader//dist//index.js:21:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/bundle.transpiled.js deleted file mode 100644 index 9c84bd3b2..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/bundle.transpiled.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar elephant = \"In the room\";\nmodule.exports = elephant;\n\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index ebde470ea..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:28 - Asset Size Chunks Chunk Names -bundle.js 3.3 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 71 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/output.txt deleted file mode 100644 index e4fd2371b..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -Built at: 2018-3-18 09:19:27 - Asset Size Chunks Chunk Names -bundle.js 3.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 517 bytes {main} [built] [failed] [1 error] - -ERROR in ./node_modules/a/index.ts -Module build failed: Error: Typescript emitted no output for node_modules\a\index.ts. -You should not need to recompile .ts files in node_modules. -Please contact the package author to advise them to use --declaration --outDir. -More https://github.com/Microsoft/TypeScript/issues/12358 - at successLoader (dist\index.js:39:15) - at Object.loader (dist\index.js:21:12) - @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/bundle.js deleted file mode 100644 index b9204db67..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,97 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: Error: Typescript emitted no output for /nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at successLoader (/Users/alawson/dev/ts-loader/dist/index.js:41:15)/n at Object.loader (/Users/alawson/dev/ts-loader/dist/index.js:21:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/bundle.transpiled.js deleted file mode 100644 index 9c84bd3b2..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/bundle.transpiled.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar elephant = \"In the room\";\nmodule.exports = elephant;\n\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 0d34ef60e..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.3 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 71 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/output.txt deleted file mode 100644 index 527f522b4..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.77 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 568 bytes {main} [built] [failed] [1 error] - -ERROR in ./node_modules/a/index.ts -Module build failed: Error: Typescript emitted no output for node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules. -You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. -See: https://github.com/Microsoft/TypeScript/issues/12358 - at successLoader (dist/index.js:41:15) - at Object.loader (dist/index.js:21:12) - @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/bundle.js deleted file mode 100644 index d9b92eac5..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: Error: Typescript emitted no output for C://source//ts-loader//.test//nodeModulesMeaningfulErrorWhenImportingTs//node_modules//a//index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at successLoader (C://source//ts-loader//dist//index.js:41:15)/n at Object.loader (C://source//ts-loader//dist//index.js:21:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/bundle.transpiled.js deleted file mode 100644 index 829d530c9..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/bundle.transpiled.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar elephant = \"In the room\";\nmodule.exports = elephant;\n\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 6c1e076e0..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.27 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 71 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/output.txt deleted file mode 100644 index 3071a7906..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 556 bytes {main} [built] [failed] [1 error] - -ERROR in ./node_modules/a/index.ts -Module build failed: Error: Typescript emitted no output for node_modules\a\index.ts. By default, ts-loader will not compile .ts files in node_modules. -You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. -See: https://github.com/Microsoft/TypeScript/issues/12358 - at successLoader (dist\index.js:41:15) - at Object.loader (dist\index.js:21:12) - @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/bundle.js deleted file mode 100644 index 5f22097da..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: TypeScript emitted no output for C://source//ts-loader//.test//nodeModulesMeaningfulErrorWhenImportingTs//node_modules//a//index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (C://source//ts-loader//dist//index.js:78:15)/n at successLoader (C://source//ts-loader//dist//index.js:68:9)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/bundle.transpiled.js deleted file mode 100644 index 829d530c9..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/bundle.transpiled.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar elephant = \"In the room\";\nmodule.exports = elephant;\n\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 6c1e076e0..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.27 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 71 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/output.txt deleted file mode 100644 index 393e11295..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 669 bytes {main} [built] [failed] [1 error] - -ERROR in ./node_modules/a/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for node_modules\a\index.ts. By default, ts-loader will not compile .ts files in node_modules. -You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. -See: https://github.com/Microsoft/TypeScript/issues/12358 - at makeSourceMapAndFinish (dist\index.js:78:15) - at successLoader (dist\index.js:68:9) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/bundle.js deleted file mode 100644 index 5f22097da..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: TypeScript emitted no output for C://source//ts-loader//.test//nodeModulesMeaningfulErrorWhenImportingTs//node_modules//a//index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (C://source//ts-loader//dist//index.js:78:15)/n at successLoader (C://source//ts-loader//dist//index.js:68:9)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/bundle.transpiled.js deleted file mode 100644 index 829d530c9..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/bundle.transpiled.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar elephant = \"In the room\";\nmodule.exports = elephant;\n\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 6c1e076e0..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.27 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 71 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/output.txt deleted file mode 100644 index 393e11295..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 669 bytes {main} [built] [failed] [1 error] - -ERROR in ./node_modules/a/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for node_modules\a\index.ts. By default, ts-loader will not compile .ts files in node_modules. -You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. -See: https://github.com/Microsoft/TypeScript/issues/12358 - at makeSourceMapAndFinish (dist\index.js:78:15) - at successLoader (dist\index.js:68:9) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/bundle.js deleted file mode 100644 index 5f22097da..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: TypeScript emitted no output for C://source//ts-loader//.test//nodeModulesMeaningfulErrorWhenImportingTs//node_modules//a//index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (C://source//ts-loader//dist//index.js:78:15)/n at successLoader (C://source//ts-loader//dist//index.js:68:9)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/bundle.transpiled.js deleted file mode 100644 index 829d530c9..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/bundle.transpiled.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar elephant = \"In the room\";\nmodule.exports = elephant;\n\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 6c1e076e0..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.27 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 71 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/output.txt deleted file mode 100644 index 393e11295..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 669 bytes {main} [built] [failed] [1 error] - -ERROR in ./node_modules/a/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for node_modules\a\index.ts. By default, ts-loader will not compile .ts files in node_modules. -You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. -See: https://github.com/Microsoft/TypeScript/issues/12358 - at makeSourceMapAndFinish (dist\index.js:78:15) - at successLoader (dist\index.js:68:9) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/bundle.js deleted file mode 100644 index 5f22097da..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: TypeScript emitted no output for C://source//ts-loader//.test//nodeModulesMeaningfulErrorWhenImportingTs//node_modules//a//index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (C://source//ts-loader//dist//index.js:78:15)/n at successLoader (C://source//ts-loader//dist//index.js:68:9)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/bundle.transpiled.js deleted file mode 100644 index 829d530c9..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/bundle.transpiled.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar elephant = \"In the room\";\nmodule.exports = elephant;\n\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 6c1e076e0..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.27 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 71 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/output.txt deleted file mode 100644 index 393e11295..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 669 bytes {main} [built] [failed] [1 error] - -ERROR in ./node_modules/a/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for node_modules\a\index.ts. By default, ts-loader will not compile .ts files in node_modules. -You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. -See: https://github.com/Microsoft/TypeScript/issues/12358 - at makeSourceMapAndFinish (dist\index.js:78:15) - at successLoader (dist\index.js:68:9) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/bundle.js deleted file mode 100644 index 5f22097da..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: TypeScript emitted no output for C://source//ts-loader//.test//nodeModulesMeaningfulErrorWhenImportingTs//node_modules//a//index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (C://source//ts-loader//dist//index.js:78:15)/n at successLoader (C://source//ts-loader//dist//index.js:68:9)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/bundle.transpiled.js deleted file mode 100644 index 829d530c9..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/bundle.transpiled.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar elephant = \"In the room\";\nmodule.exports = elephant;\n\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 6c1e076e0..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.27 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 71 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/output.txt deleted file mode 100644 index 393e11295..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 669 bytes {main} [built] [failed] [1 error] - -ERROR in ./node_modules/a/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for node_modules\a\index.ts. By default, ts-loader will not compile .ts files in node_modules. -You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. -See: https://github.com/Microsoft/TypeScript/issues/12358 - at makeSourceMapAndFinish (dist\index.js:78:15) - at successLoader (dist\index.js:68:9) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/bundle.js deleted file mode 100644 index 5f22097da..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: TypeScript emitted no output for C://source//ts-loader//.test//nodeModulesMeaningfulErrorWhenImportingTs//node_modules//a//index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (C://source//ts-loader//dist//index.js:78:15)/n at successLoader (C://source//ts-loader//dist//index.js:68:9)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/bundle.transpiled.js deleted file mode 100644 index 829d530c9..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/bundle.transpiled.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar elephant = \"In the room\";\nmodule.exports = elephant;\n\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 6c1e076e0..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.27 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 71 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/output.txt deleted file mode 100644 index 393e11295..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 669 bytes {main} [built] [failed] [1 error] - -ERROR in ./node_modules/a/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for node_modules\a\index.ts. By default, ts-loader will not compile .ts files in node_modules. -You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. -See: https://github.com/Microsoft/TypeScript/issues/12358 - at makeSourceMapAndFinish (dist\index.js:78:15) - at successLoader (dist\index.js:68:9) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.0/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..d008dc8a6 --- /dev/null +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.ts": +/*!*********************************!*\ + !*** ./node_modules/a/index.ts ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: TypeScript emitted no output for C://source//ts-loader//.test//nodeModulesMeaningfulErrorWhenImportingTs//node_modules//a//index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (C://source//ts-loader//dist//index.js:80:15)/n at successLoader (C://source//ts-loader//dist//index.js:68:9)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.0/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..a6581634d --- /dev/null +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.0/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names +bundle.js 4.87 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 79 bytes {main} [built] +[./node_modules/a/index.ts] 669 bytes {main} [built] [failed] [1 error] + +ERROR in ./node_modules/a/index.ts +Module build failed (from /index.js): +Error: TypeScript emitted no output for node_modules\a\index.ts. By default, ts-loader will not compile .ts files in node_modules. +You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. +See: https://github.com/Microsoft/TypeScript/issues/12358 + at makeSourceMapAndFinish (dist\index.js:80:15) + at successLoader (dist\index.js:68:9) + at Object.loader (dist\index.js:22:12) + @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..979f48b90 --- /dev/null +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.ts": +/*!*********************************!*\ + !*** ./node_modules/a/index.ts ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar elephant = \"In the room\";\nmodule.exports = elephant;\n\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..6c09e2a2f --- /dev/null +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.3 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 115 bytes {main} [built] +[./node_modules/a/index.ts] 71 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-1.6/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-1.6/bundle.js deleted file mode 100644 index fb7acccf9..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,58 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var a = __webpack_require__(1); - console.log(a); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'a'; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-1.6/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-1.6/output.txt deleted file mode 100644 index 2338348dc..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.53 kB 0 [emitted] main -chunk {0} bundle.js (main) 59 bytes [rendered] - [0] ./.test/nodeResolution/app.ts 38 bytes {0} [built] - [1] ./.test/nodeResolution/~/a/index.js 21 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-1.7/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-1.7/bundle.js deleted file mode 100644 index fb7acccf9..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,58 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var a = __webpack_require__(1); - console.log(a); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'a'; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-1.7/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-1.7/output.txt deleted file mode 100644 index 2338348dc..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.53 kB 0 [emitted] main -chunk {0} bundle.js (main) 59 bytes [rendered] - [0] ./.test/nodeResolution/app.ts 38 bytes {0} [built] - [1] ./.test/nodeResolution/~/a/index.js 21 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-1.8/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-1.8/bundle.js deleted file mode 100644 index 7bebc5c6a..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,59 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var a = __webpack_require__(1); - console.log(a); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'a'; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-1.8/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-1.8/output.txt deleted file mode 100644 index 671de3725..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.55 kB 0 [emitted] main -chunk {0} bundle.js (main) 73 bytes [rendered] - [0] ./.test/nodeResolution/app.ts 52 bytes {0} [built] - [1] ./.test/nodeResolution/~/a/index.js 21 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.0/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-2.0/bundle.js deleted file mode 100644 index 7bebc5c6a..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,59 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var a = __webpack_require__(1); - console.log(a); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = 'a'; - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.0/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-2.0/output.txt deleted file mode 100644 index 671de3725..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.55 kB 0 [emitted] main -chunk {0} bundle.js (main) 73 bytes [rendered] - [0] ./.test/nodeResolution/app.ts 52 bytes {0} [built] - [1] ./.test/nodeResolution/~/a/index.js 21 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.1/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-2.1/bundle.js deleted file mode 100644 index 57b4595fd..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var a = __webpack_require__(0); -console.log(a); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.1/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-2.1/output.txt deleted file mode 100644 index 4ee2e527d..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.67 kB 0 [emitted] main -chunk {0} bundle.js (main) 73 bytes [entry] [rendered] - [0] ./.test/nodeResolution/~/a/index.js 21 bytes {0} [built] - [1] ./.test/nodeResolution/app.ts 52 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 deleted file mode 100644 index 42ab250c7..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(0); -console.log(a); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.2/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-2.2/output.txt deleted file mode 100644 index 63f5842de..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.82 kB 0 [emitted] main -chunk {0} bundle.js (main) 100 bytes [entry] [rendered] - [0] ./.test/nodeResolution/~/a/index.js 21 bytes {0} [built] - [1] ./.test/nodeResolution/app.ts 79 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.3/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-2.3/bundle.js deleted file mode 100644 index 42ab250c7..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(0); -console.log(a); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.3/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-2.3/output.txt deleted file mode 100644 index 63f5842de..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.82 kB 0 [emitted] main -chunk {0} bundle.js (main) 100 bytes [entry] [rendered] - [0] ./.test/nodeResolution/~/a/index.js 21 bytes {0} [built] - [1] ./.test/nodeResolution/app.ts 79 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.4/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-2.4/bundle.js deleted file mode 100644 index 42ab250c7..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(0); -console.log(a); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.4/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-2.4/output.txt deleted file mode 100644 index 63f5842de..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.82 kB 0 [emitted] main -chunk {0} bundle.js (main) 100 bytes [entry] [rendered] - [0] ./.test/nodeResolution/~/a/index.js 21 bytes {0} [built] - [1] ./.test/nodeResolution/app.ts 79 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.5/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-2.5/bundle.js deleted file mode 100644 index ae30b8dbc..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,84 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(1); -console.log(a); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.5/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-2.5/output.txt deleted file mode 100644 index 8d22024bf..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 [emitted] main - [0] ./.test/nodeResolution/app.ts 79 bytes {0} [built] - [1] ./.test/nodeResolution/node_modules/a/index.js 21 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.6/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-2.6/bundle.js deleted file mode 100644 index ae30b8dbc..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,84 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(1); -console.log(a); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = 'a'; - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.6/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-2.6/output.txt deleted file mode 100644 index 8d22024bf..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 [emitted] main - [0] ./.test/nodeResolution/app.ts 79 bytes {0} [built] - [1] ./.test/nodeResolution/node_modules/a/index.js 21 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.7/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-2.7/bundle.js deleted file mode 100644 index cac2a9335..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,97 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/nodeResolution/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 2996c1ede..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:34 - Asset Size Chunks Chunk Names -bundle.js 3.23 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.7/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-2.7/output.txt deleted file mode 100644 index 86e6e0681..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:33 - Asset Size Chunks Chunk Names -bundle.js 3.23 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.8/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-2.8/bundle.js deleted file mode 100644 index cac2a9335..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,97 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/nodeResolution/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 2996c1ede..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:34 - Asset Size Chunks Chunk Names -bundle.js 3.23 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.8/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-2.8/output.txt deleted file mode 100644 index c3b8fbb42..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.23 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/nodeResolution/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 2996c1ede..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:34 - Asset Size Chunks Chunk Names -bundle.js 3.23 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.0/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-3.0/bundle.js deleted file mode 100644 index f62c9cd64..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/nodeResolution/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 2996c1ede..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:34 - Asset Size Chunks Chunk Names -bundle.js 3.23 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.0/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-3.0/output.txt deleted file mode 100644 index 72c093c0e..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.1/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-3.1/bundle.js deleted file mode 100644 index f62c9cd64..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/nodeResolution/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 2996c1ede..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:34 - Asset Size Chunks Chunk Names -bundle.js 3.23 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.1/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-3.1/output.txt deleted file mode 100644 index 72c093c0e..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.2/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-3.2/bundle.js deleted file mode 100644 index f62c9cd64..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/nodeResolution/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 2996c1ede..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:34 - Asset Size Chunks Chunk Names -bundle.js 3.23 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.2/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-3.2/output.txt deleted file mode 100644 index 72c093c0e..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.3/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-3.3/bundle.js deleted file mode 100644 index f62c9cd64..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/nodeResolution/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 2996c1ede..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:34 - Asset Size Chunks Chunk Names -bundle.js 3.23 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.3/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-3.3/output.txt deleted file mode 100644 index 72c093c0e..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.4/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-3.4/bundle.js deleted file mode 100644 index f62c9cd64..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/nodeResolution/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 2996c1ede..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:34 - Asset Size Chunks Chunk Names -bundle.js 3.23 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.4/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-3.4/output.txt deleted file mode 100644 index 72c093c0e..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.5/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-3.5/bundle.js deleted file mode 100644 index f62c9cd64..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/nodeResolution/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 2996c1ede..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:34 - Asset Size Chunks Chunk Names -bundle.js 3.23 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.5/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-3.5/output.txt deleted file mode 100644 index 72c093c0e..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.19 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.9/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/nodeResolution/expectedOutput-2.9/bundle.js rename to test/comparison-tests/nodeResolution/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.9/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/nodeResolution/expectedOutput-2.9/output.txt rename to test/comparison-tests/nodeResolution/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..0435d4e90 --- /dev/null +++ b/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..c411fc347 --- /dev/null +++ b/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.23 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 115 bytes {main} [built] +[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-1.6/bundle.js b/test/comparison-tests/nolib/expectedOutput-1.6/bundle.js deleted file mode 100644 index 02a56ba20..000000000 --- a/test/comparison-tests/nolib/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - parseInt('10'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-1.6/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-1.6/output.transpiled.txt deleted file mode 100644 index 6154a10e1..000000000 --- a/test/comparison-tests/nolib/expectedOutput-1.6/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.4 kB 0 [emitted] main -chunk {0} bundle.js (main) 16 bytes [rendered] - [0] ./.test/nolib/app.ts 16 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-1.6/output.txt b/test/comparison-tests/nolib/expectedOutput-1.6/output.txt deleted file mode 100644 index 3af0983cb..000000000 --- a/test/comparison-tests/nolib/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,31 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.4 kB 0 [emitted] main -chunk {0} bundle.js (main) 16 bytes [rendered] - [0] ./.test/nolib/app.ts 16 bytes {0} [built] [1 error] - -ERROR in ./.test/nolib/app.ts -(1,1): error TS2304: Cannot find name 'parseInt'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'RegExp'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'String'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-1.7/bundle.js b/test/comparison-tests/nolib/expectedOutput-1.7/bundle.js deleted file mode 100644 index 02a56ba20..000000000 --- a/test/comparison-tests/nolib/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - parseInt('10'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-1.7/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-1.7/output.transpiled.txt deleted file mode 100644 index 6154a10e1..000000000 --- a/test/comparison-tests/nolib/expectedOutput-1.7/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.4 kB 0 [emitted] main -chunk {0} bundle.js (main) 16 bytes [rendered] - [0] ./.test/nolib/app.ts 16 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-1.7/output.txt b/test/comparison-tests/nolib/expectedOutput-1.7/output.txt deleted file mode 100644 index 3af0983cb..000000000 --- a/test/comparison-tests/nolib/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,31 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.4 kB 0 [emitted] main -chunk {0} bundle.js (main) 16 bytes [rendered] - [0] ./.test/nolib/app.ts 16 bytes {0} [built] [1 error] - -ERROR in ./.test/nolib/app.ts -(1,1): error TS2304: Cannot find name 'parseInt'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'RegExp'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'String'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-1.8/bundle.js b/test/comparison-tests/nolib/expectedOutput-1.8/bundle.js deleted file mode 100644 index 02a56ba20..000000000 --- a/test/comparison-tests/nolib/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - parseInt('10'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-1.8/bundle.transpiled.js b/test/comparison-tests/nolib/expectedOutput-1.8/bundle.transpiled.js deleted file mode 100644 index f36f5d6af..000000000 --- a/test/comparison-tests/nolib/expectedOutput-1.8/bundle.transpiled.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - parseInt('10'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index 7cbff9d8a..000000000 --- a/test/comparison-tests/nolib/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 [emitted] main -chunk {0} bundle.js (main) 30 bytes [rendered] - [0] ./.test/nolib/app.ts 30 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-1.8/output.txt b/test/comparison-tests/nolib/expectedOutput-1.8/output.txt deleted file mode 100644 index 3af0983cb..000000000 --- a/test/comparison-tests/nolib/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,31 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.4 kB 0 [emitted] main -chunk {0} bundle.js (main) 16 bytes [rendered] - [0] ./.test/nolib/app.ts 16 bytes {0} [built] [1 error] - -ERROR in ./.test/nolib/app.ts -(1,1): error TS2304: Cannot find name 'parseInt'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'RegExp'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'String'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.0/bundle.js b/test/comparison-tests/nolib/expectedOutput-2.0/bundle.js deleted file mode 100644 index 02a56ba20..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - parseInt('10'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.0/bundle.transpiled.js b/test/comparison-tests/nolib/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index f36f5d6af..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - parseInt('10'); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index 7cbff9d8a..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 [emitted] main -chunk {0} bundle.js (main) 30 bytes [rendered] - [0] ./.test/nolib/app.ts 30 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.0/output.txt b/test/comparison-tests/nolib/expectedOutput-2.0/output.txt deleted file mode 100644 index 3af0983cb..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,31 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.4 kB 0 [emitted] main -chunk {0} bundle.js (main) 16 bytes [rendered] - [0] ./.test/nolib/app.ts 16 bytes {0} [built] [1 error] - -ERROR in ./.test/nolib/app.ts -(1,1): error TS2304: Cannot find name 'parseInt'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'RegExp'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'String'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.1/bundle.js b/test/comparison-tests/nolib/expectedOutput-2.1/bundle.js deleted file mode 100644 index 8f9629441..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -parseInt('10'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/nolib/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index b7d9c28d4..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -parseInt('10'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index 5efdc654c..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.56 kB 0 [emitted] main -chunk {0} bundle.js (main) 30 bytes [entry] [rendered] - [0] ./.test/nolib/app.ts 30 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.1/output.txt b/test/comparison-tests/nolib/expectedOutput-2.1/output.txt deleted file mode 100644 index 3c7a35920..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,31 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.52 kB 0 [emitted] main -chunk {0} bundle.js (main) 16 bytes [entry] [rendered] - [0] ./.test/nolib/app.ts 16 bytes {0} [built] [1 error] - -ERROR in ./.test/nolib/app.ts -(1,1): error TS2304: Cannot find name 'parseInt'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'RegExp'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'String'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.2/bundle.js b/test/comparison-tests/nolib/expectedOutput-2.2/bundle.js deleted file mode 100644 index e9b687c57..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -parseInt('10'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/nolib/expectedOutput-2.2/bundle.transpiled.js deleted file mode 100644 index 5a22d99fd..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -parseInt('10'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index ef3f0abf6..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 57 bytes [entry] [rendered] - [0] ./.test/nolib/app.ts 57 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.2/output.txt b/test/comparison-tests/nolib/expectedOutput-2.2/output.txt deleted file mode 100644 index b4aeb5f38..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,31 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.65 kB 0 [emitted] main -chunk {0} bundle.js (main) 16 bytes [entry] [rendered] - [0] ./.test/nolib/app.ts 16 bytes {0} [built] [1 error] - -ERROR in ./.test/nolib/app.ts -(1,1): error TS2304: Cannot find name 'parseInt'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'RegExp'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'String'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.3/bundle.js b/test/comparison-tests/nolib/expectedOutput-2.3/bundle.js deleted file mode 100644 index e9b687c57..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -parseInt('10'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index 51f20b316..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.65 kB 0 [emitted] main -chunk {0} bundle.js (main) 16 bytes [entry] [rendered] - [0] ./.test/nolib/app.ts 16 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.3/output.txt b/test/comparison-tests/nolib/expectedOutput-2.3/output.txt deleted file mode 100644 index b4aeb5f38..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,31 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.65 kB 0 [emitted] main -chunk {0} bundle.js (main) 16 bytes [entry] [rendered] - [0] ./.test/nolib/app.ts 16 bytes {0} [built] [1 error] - -ERROR in ./.test/nolib/app.ts -(1,1): error TS2304: Cannot find name 'parseInt'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'RegExp'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'String'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.4/bundle.js b/test/comparison-tests/nolib/expectedOutput-2.4/bundle.js deleted file mode 100644 index e9b687c57..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -parseInt('10'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index 51f20b316..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.65 kB 0 [emitted] main -chunk {0} bundle.js (main) 16 bytes [entry] [rendered] - [0] ./.test/nolib/app.ts 16 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.4/output.txt b/test/comparison-tests/nolib/expectedOutput-2.4/output.txt deleted file mode 100644 index 111f35785..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,34 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.65 kB 0 [emitted] main -chunk {0} bundle.js (main) 16 bytes [entry] [rendered] - [0] ./.test/nolib/app.ts 16 bytes {0} [built] [1 error] - -ERROR in node_modules\@types\chalk\index.d.ts -(18,10): error TS2370: A rest parameter must be of an array type. - -ERROR in ./.test/nolib/app.ts -(1,1): error TS2304: Cannot find name 'parseInt'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'RegExp'. - -ERROR in tsconfig.json -error TS2318: Cannot find global type 'String'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.5/bundle.js b/test/comparison-tests/nolib/expectedOutput-2.5/bundle.js deleted file mode 100644 index f79e28531..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -parseInt('10'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index c79a769ff..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.49 kB 0 [emitted] main - [0] ./.test/nolib/app.ts 16 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.5/output.txt b/test/comparison-tests/nolib/expectedOutput-2.5/output.txt deleted file mode 100644 index edbf5767b..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,39 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.49 kB 0 [emitted] main - [0] ./.test/nolib/app.ts 16 bytes {0} [built] [1 error] - -ERROR in ./.test/nolib/app.ts -[tsl] ERROR in app.ts(1,1) - TS2304: Cannot find name 'parseInt'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'RegExp'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'String'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.6/bundle.js b/test/comparison-tests/nolib/expectedOutput-2.6/bundle.js deleted file mode 100644 index f79e28531..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,74 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -parseInt('10'); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index c79a769ff..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.49 kB 0 [emitted] main - [0] ./.test/nolib/app.ts 16 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.6/output.txt b/test/comparison-tests/nolib/expectedOutput-2.6/output.txt deleted file mode 100644 index edbf5767b..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,39 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.49 kB 0 [emitted] main - [0] ./.test/nolib/app.ts 16 bytes {0} [built] [1 error] - -ERROR in ./.test/nolib/app.ts -[tsl] ERROR in app.ts(1,1) - TS2304: Cannot find name 'parseInt'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'RegExp'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'String'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.7/bundle.js b/test/comparison-tests/nolib/expectedOutput-2.7/bundle.js deleted file mode 100644 index fe1569ba9..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("parseInt('10');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index fc4988959..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:19:39 - Asset Size Chunks Chunk Names -bundle.js 2.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.7/output.txt b/test/comparison-tests/nolib/expectedOutput-2.7/output.txt deleted file mode 100644 index eb8bfeb66..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,38 +0,0 @@ -Built at: 2018-3-18 09:19:39 - Asset Size Chunks Chunk Names -bundle.js 2.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'RegExp'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,1) - TS2304: Cannot find name 'parseInt'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.8/bundle.js b/test/comparison-tests/nolib/expectedOutput-2.8/bundle.js deleted file mode 100644 index fe1569ba9..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("parseInt('10');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 970d477ed..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.8/output.txt b/test/comparison-tests/nolib/expectedOutput-2.8/output.txt deleted file mode 100644 index 033483af0..000000000 --- a/test/comparison-tests/nolib/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,37 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'RegExp'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,1) - TS2304: Cannot find name 'parseInt'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index ee4d4ca16..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.0/output.txt b/test/comparison-tests/nolib/expectedOutput-3.0/output.txt deleted file mode 100644 index 8c8e530d0..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,37 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'RegExp'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,1) - TS2304: Cannot find name 'parseInt'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.1/bundle.js b/test/comparison-tests/nolib/expectedOutput-3.1/bundle.js deleted file mode 100644 index 2579b12ff..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("parseInt('10');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index ee4d4ca16..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.1/output.txt b/test/comparison-tests/nolib/expectedOutput-3.1/output.txt deleted file mode 100644 index 8c8e530d0..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,37 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'RegExp'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,1) - TS2304: Cannot find name 'parseInt'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.2/bundle.js b/test/comparison-tests/nolib/expectedOutput-3.2/bundle.js deleted file mode 100644 index 2579b12ff..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("parseInt('10');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index ee4d4ca16..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.2/output.txt b/test/comparison-tests/nolib/expectedOutput-3.2/output.txt deleted file mode 100644 index 8c8e530d0..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,37 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'RegExp'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,1) - TS2304: Cannot find name 'parseInt'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.3/bundle.js b/test/comparison-tests/nolib/expectedOutput-3.3/bundle.js deleted file mode 100644 index 2579b12ff..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("parseInt('10');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index ee4d4ca16..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.3/output.txt b/test/comparison-tests/nolib/expectedOutput-3.3/output.txt deleted file mode 100644 index 8c8e530d0..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,37 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'RegExp'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,1) - TS2304: Cannot find name 'parseInt'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.4/bundle.js b/test/comparison-tests/nolib/expectedOutput-3.4/bundle.js deleted file mode 100644 index 2579b12ff..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("parseInt('10');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index ee4d4ca16..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.4/output.txt b/test/comparison-tests/nolib/expectedOutput-3.4/output.txt deleted file mode 100644 index 8c8e530d0..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,37 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'RegExp'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,1) - TS2304: Cannot find name 'parseInt'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.5/bundle.js b/test/comparison-tests/nolib/expectedOutput-3.5/bundle.js deleted file mode 100644 index 2579b12ff..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("parseInt('10');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index ee4d4ca16..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.5/output.txt b/test/comparison-tests/nolib/expectedOutput-3.5/output.txt deleted file mode 100644 index 8c8e530d0..000000000 --- a/test/comparison-tests/nolib/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,37 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.75 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 16 bytes {main} [built] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Array'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Boolean'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Function'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'IArguments'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Number'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'Object'. - -ERROR in tsconfig.json -[tsl] ERROR - TS2318: Cannot find global type 'RegExp'. - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(1,1) - TS2304: Cannot find name 'parseInt'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-2.9/bundle.js b/test/comparison-tests/nolib/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/nolib/expectedOutput-2.9/bundle.js rename to test/comparison-tests/nolib/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/nolib/expectedOutput-2.9/output.txt b/test/comparison-tests/nolib/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/nolib/expectedOutput-2.9/output.txt rename to test/comparison-tests/nolib/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/nolib/expectedOutput-3.0/bundle.js b/test/comparison-tests/nolib/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/nolib/expectedOutput-3.0/bundle.js rename to test/comparison-tests/nolib/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/nolib/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/nolib/expectedOutput-2.9/output.transpiled.txt rename to test/comparison-tests/nolib/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/npmLink/expectedOutput-1.6/bundle.js b/test/comparison-tests/npmLink/expectedOutput-1.6/bundle.js deleted file mode 100644 index 57408d27c..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var foo_1 = __webpack_require__(1); - console.log(foo_1["default"]); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - exports.__esModule = true; - exports["default"] = 'foo'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-1.6/output.txt b/test/comparison-tests/npmLink/expectedOutput-1.6/output.txt deleted file mode 100644 index 27dc3f444..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 118 bytes [rendered] - [0] ./.test/npmLink/app.ts 63 bytes {0} [built] - [1] ./test/testLib/foo.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-1.7/bundle.js b/test/comparison-tests/npmLink/expectedOutput-1.7/bundle.js deleted file mode 100644 index 57408d27c..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var foo_1 = __webpack_require__(1); - console.log(foo_1["default"]); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - exports.__esModule = true; - exports["default"] = 'foo'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-1.7/output.txt b/test/comparison-tests/npmLink/expectedOutput-1.7/output.txt deleted file mode 100644 index 27dc3f444..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 118 bytes [rendered] - [0] ./.test/npmLink/app.ts 63 bytes {0} [built] - [1] ./test/testLib/foo.ts 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-1.8/bundle.js b/test/comparison-tests/npmLink/expectedOutput-1.8/bundle.js deleted file mode 100644 index 5f43846f5..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,62 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1["default"]); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - exports.__esModule = true; - exports["default"] = 'foo'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-1.8/output.txt b/test/comparison-tests/npmLink/expectedOutput-1.8/output.txt deleted file mode 100644 index ec351c279..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.62 kB 0 [emitted] main -chunk {0} bundle.js (main) 146 bytes [rendered] - [0] ./.test/npmLink/app.ts 77 bytes {0} [built] - [1] ./test/testLib/foo.ts 69 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.0/bundle.js b/test/comparison-tests/npmLink/expectedOutput-2.0/bundle.js deleted file mode 100644 index 5f43846f5..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,62 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var foo_1 = __webpack_require__(1); - console.log(foo_1["default"]); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - "use strict"; - exports.__esModule = true; - exports["default"] = 'foo'; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.0/output.txt b/test/comparison-tests/npmLink/expectedOutput-2.0/output.txt deleted file mode 100644 index 5e97def3e..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.62 kB 0 [emitted] main -chunk {0} bundle.js (main) 146 bytes [rendered] - [0] ./.test/npmLink/app.ts 77 bytes {0} [built] - [1] ./test/comparison-tests/testLib/foo.ts 69 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.1/bundle.js b/test/comparison-tests/npmLink/expectedOutput-2.1/bundle.js deleted file mode 100644 index 779ac719b..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,90 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = 'foo'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var foo_1 = __webpack_require__(0); -console.log(foo_1["default"]); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.1/output.txt b/test/comparison-tests/npmLink/expectedOutput-2.1/output.txt deleted file mode 100644 index 6f2b32e7b..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.76 kB 0 [emitted] main -chunk {0} bundle.js (main) 146 bytes [entry] [rendered] - [0] ./test/comparison-tests/testLib/foo.ts 69 bytes {0} [built] - [1] ./.test/npmLink/app.ts 77 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.2/bundle.js b/test/comparison-tests/npmLink/expectedOutput-2.2/bundle.js deleted file mode 100644 index fd3efa362..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,91 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = 'foo'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(0); -console.log(foo_1["default"]); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.2/output.txt b/test/comparison-tests/npmLink/expectedOutput-2.2/output.txt deleted file mode 100644 index caae753c9..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.91 kB 0 [emitted] main -chunk {0} bundle.js (main) 173 bytes [entry] [rendered] - [0] ./test/comparison-tests/testLib/foo.ts 69 bytes {0} [built] - [1] ./.test/npmLink/app.ts 104 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.3/bundle.js b/test/comparison-tests/npmLink/expectedOutput-2.3/bundle.js deleted file mode 100644 index fd3efa362..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,91 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = 'foo'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(0); -console.log(foo_1["default"]); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.3/output.txt b/test/comparison-tests/npmLink/expectedOutput-2.3/output.txt deleted file mode 100644 index caae753c9..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.91 kB 0 [emitted] main -chunk {0} bundle.js (main) 173 bytes [entry] [rendered] - [0] ./test/comparison-tests/testLib/foo.ts 69 bytes {0} [built] - [1] ./.test/npmLink/app.ts 104 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.4/bundle.js b/test/comparison-tests/npmLink/expectedOutput-2.4/bundle.js deleted file mode 100644 index fd3efa362..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,91 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = 'foo'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(0); -console.log(foo_1["default"]); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.4/output.txt b/test/comparison-tests/npmLink/expectedOutput-2.4/output.txt deleted file mode 100644 index caae753c9..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.91 kB 0 [emitted] main -chunk {0} bundle.js (main) 173 bytes [entry] [rendered] - [0] ./test/comparison-tests/testLib/foo.ts 69 bytes {0} [built] - [1] ./.test/npmLink/app.ts 104 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.5/bundle.js b/test/comparison-tests/npmLink/expectedOutput-2.5/bundle.js deleted file mode 100644 index 3f1a8fa59..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,88 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(1); -console.log(foo_1["default"]); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = 'foo'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.5/output.txt b/test/comparison-tests/npmLink/expectedOutput-2.5/output.txt deleted file mode 100644 index 6c432afe1..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main - [0] ./.test/npmLink/app.ts 104 bytes {0} [built] - [1] ./test/comparison-tests/testLib/foo.ts 69 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.6/bundle.js b/test/comparison-tests/npmLink/expectedOutput-2.6/bundle.js deleted file mode 100644 index 3f1a8fa59..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,88 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var foo_1 = __webpack_require__(1); -console.log(foo_1["default"]); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports["default"] = 'foo'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.6/output.txt b/test/comparison-tests/npmLink/expectedOutput-2.6/output.txt deleted file mode 100644 index 6c432afe1..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main - [0] ./.test/npmLink/app.ts 104 bytes {0} [built] - [1] ./test/comparison-tests/testLib/foo.ts 69 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.7/bundle.js b/test/comparison-tests/npmLink/expectedOutput-2.7/bundle.js deleted file mode 100644 index 83af703b1..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../../test/comparison-tests/testLib/foo.ts": -/*!****************************************************************!*\ - !*** C:/source/ts-loader/test/comparison-tests/testLib/foo.ts ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:///C:/source/ts-loader/test/comparison-tests/testLib/foo.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/npmLink/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index d0d55bde5..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:44 - Asset Size Chunks Chunk Names -bundle.js 3.48 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.7/output.txt b/test/comparison-tests/npmLink/expectedOutput-2.7/output.txt deleted file mode 100644 index f41cd0c02..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:43 - Asset Size Chunks Chunk Names -bundle.js 3.48 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.8/bundle.js b/test/comparison-tests/npmLink/expectedOutput-2.8/bundle.js deleted file mode 100644 index 83af703b1..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../../test/comparison-tests/testLib/foo.ts": -/*!****************************************************************!*\ - !*** C:/source/ts-loader/test/comparison-tests/testLib/foo.ts ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:///C:/source/ts-loader/test/comparison-tests/testLib/foo.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/npmLink/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index d0d55bde5..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:44 - Asset Size Chunks Chunk Names -bundle.js 3.48 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.8/output.txt b/test/comparison-tests/npmLink/expectedOutput-2.8/output.txt deleted file mode 100644 index eb4eeeeb8..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.48 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.9/bundle.js b/test/comparison-tests/npmLink/expectedOutput-2.9/bundle.js deleted file mode 100644 index 943633ef8..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../../test/comparison-tests/testLib/foo.ts": -/*!****************************************************************!*\ - !*** C:/source/ts-loader/test/comparison-tests/testLib/foo.ts ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:///C:/source/ts-loader/test/comparison-tests/testLib/foo.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/npmLink/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index d0d55bde5..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:44 - Asset Size Chunks Chunk Names -bundle.js 3.48 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-2.9/output.txt b/test/comparison-tests/npmLink/expectedOutput-2.9/output.txt deleted file mode 100644 index 454161ad6..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.45 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.0/bundle.js b/test/comparison-tests/npmLink/expectedOutput-3.0/bundle.js deleted file mode 100644 index 943633ef8..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../../test/comparison-tests/testLib/foo.ts": -/*!****************************************************************!*\ - !*** C:/source/ts-loader/test/comparison-tests/testLib/foo.ts ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:///C:/source/ts-loader/test/comparison-tests/testLib/foo.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/npmLink/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index d0d55bde5..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:44 - Asset Size Chunks Chunk Names -bundle.js 3.48 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.0/output.txt b/test/comparison-tests/npmLink/expectedOutput-3.0/output.txt deleted file mode 100644 index 454161ad6..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.45 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.1/bundle.js b/test/comparison-tests/npmLink/expectedOutput-3.1/bundle.js deleted file mode 100644 index 943633ef8..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../../test/comparison-tests/testLib/foo.ts": -/*!****************************************************************!*\ - !*** C:/source/ts-loader/test/comparison-tests/testLib/foo.ts ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:///C:/source/ts-loader/test/comparison-tests/testLib/foo.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/npmLink/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index d0d55bde5..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:44 - Asset Size Chunks Chunk Names -bundle.js 3.48 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.1/output.txt b/test/comparison-tests/npmLink/expectedOutput-3.1/output.txt deleted file mode 100644 index 454161ad6..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.45 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.2/bundle.js b/test/comparison-tests/npmLink/expectedOutput-3.2/bundle.js deleted file mode 100644 index 943633ef8..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../../test/comparison-tests/testLib/foo.ts": -/*!****************************************************************!*\ - !*** C:/source/ts-loader/test/comparison-tests/testLib/foo.ts ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:///C:/source/ts-loader/test/comparison-tests/testLib/foo.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/npmLink/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index d0d55bde5..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:44 - Asset Size Chunks Chunk Names -bundle.js 3.48 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.2/output.txt b/test/comparison-tests/npmLink/expectedOutput-3.2/output.txt deleted file mode 100644 index 454161ad6..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.45 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.3/bundle.js b/test/comparison-tests/npmLink/expectedOutput-3.3/bundle.js deleted file mode 100644 index 943633ef8..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../../test/comparison-tests/testLib/foo.ts": -/*!****************************************************************!*\ - !*** C:/source/ts-loader/test/comparison-tests/testLib/foo.ts ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:///C:/source/ts-loader/test/comparison-tests/testLib/foo.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/npmLink/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index d0d55bde5..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:44 - Asset Size Chunks Chunk Names -bundle.js 3.48 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.3/output.txt b/test/comparison-tests/npmLink/expectedOutput-3.3/output.txt deleted file mode 100644 index 454161ad6..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.45 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.4/bundle.js b/test/comparison-tests/npmLink/expectedOutput-3.4/bundle.js deleted file mode 100644 index 943633ef8..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../../test/comparison-tests/testLib/foo.ts": -/*!****************************************************************!*\ - !*** C:/source/ts-loader/test/comparison-tests/testLib/foo.ts ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:///C:/source/ts-loader/test/comparison-tests/testLib/foo.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/npmLink/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index d0d55bde5..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:44 - Asset Size Chunks Chunk Names -bundle.js 3.48 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.4/output.txt b/test/comparison-tests/npmLink/expectedOutput-3.4/output.txt deleted file mode 100644 index 454161ad6..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.45 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.5/bundle.js b/test/comparison-tests/npmLink/expectedOutput-3.5/bundle.js deleted file mode 100644 index 943633ef8..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../../test/comparison-tests/testLib/foo.ts": -/*!****************************************************************!*\ - !*** C:/source/ts-loader/test/comparison-tests/testLib/foo.ts ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:///C:/source/ts-loader/test/comparison-tests/testLib/foo.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/npmLink/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index d0d55bde5..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:19:44 - Asset Size Chunks Chunk Names -bundle.js 3.48 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-3.5/output.txt b/test/comparison-tests/npmLink/expectedOutput-3.5/output.txt deleted file mode 100644 index 454161ad6..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.45 KiB main [emitted] main -Entrypoint main = bundle.js -[../../test/comparison-tests/testLib/foo.ts] /test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] -[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-4.0/bundle.js b/test/comparison-tests/npmLink/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..f4a9ad44c --- /dev/null +++ b/test/comparison-tests/npmLink/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../../test/comparison-tests/testLib/foo.ts": +/*!****************************************************************!*\ + !*** /mnt/work/ts-loader/test/comparison-tests/testLib/foo.ts ***! + \****************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:////mnt/work/ts-loader/test/comparison-tests/testLib/foo.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-4.0/output.txt b/test/comparison-tests/npmLink/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..e139e212a --- /dev/null +++ b/test/comparison-tests/npmLink/expectedOutput-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.45 KiB main [emitted] main +Entrypoint main = bundle.js +[../../test/comparison-tests/testLib/foo.ts] test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] +[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/npmLink/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..dee869d56 --- /dev/null +++ b/test/comparison-tests/npmLink/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../../test/comparison-tests/testLib/foo.ts": +/*!******************************************************************!*\ + !*** /workspaces/ts-loader/test/comparison-tests/testLib/foo.ts ***! + \******************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'foo';\n\n\n//# sourceURL=webpack:////workspaces/ts-loader/test/comparison-tests/testLib/foo.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1.default);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/npmLink/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..875e3d2db --- /dev/null +++ b/test/comparison-tests/npmLink/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.52 KiB main [emitted] main +Entrypoint main = bundle.js +[../../test/comparison-tests/testLib/foo.ts] test/comparison-tests/testLib/foo.ts 102 bytes {main} [built] +[./app.ts] 137 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/bundle.js deleted file mode 100644 index 6024683a1..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(2); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/output.txt deleted file mode 100644 index ced880992..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/onlyCompileBundledFiles/lib/externalLib.js 55 bytes {0} [built] - [1] ./.test/onlyCompileBundledFiles/app.ts 169 bytes {0} [built] - [2] ./.test/onlyCompileBundledFiles/submodule/submodule.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch0/bundle.js deleted file mode 100644 index 0580fdcbb..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch0/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(2); -var externalLib = __webpack_require__(0); -externalLib.doSomething2(submodule); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch0/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch0/output.transpiled.txt deleted file mode 100644 index e746f1740..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/onlyCompileBundledFiles/lib/externalLib.js 55 bytes {0} - [1] ./.test/onlyCompileBundledFiles/app.ts 170 bytes {0} [built] - [2] ./.test/onlyCompileBundledFiles/submodule/submodule.ts 149 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch0/output.txt deleted file mode 100644 index 3ae4f3776..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/onlyCompileBundledFiles/lib/externalLib.js 55 bytes {0} - [1] ./.test/onlyCompileBundledFiles/app.ts 170 bytes {0} [built] [1 error] - [2] ./.test/onlyCompileBundledFiles/submodule/submodule.ts 149 bytes {0} - -ERROR in ./.test/onlyCompileBundledFiles/app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch1/bundle.js deleted file mode 100644 index 6024683a1..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch1/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(2); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch1/output.txt deleted file mode 100644 index defefc07d..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.5/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/onlyCompileBundledFiles/lib/externalLib.js 55 bytes {0} - [1] ./.test/onlyCompileBundledFiles/app.ts 169 bytes {0} [built] - [2] ./.test/onlyCompileBundledFiles/submodule/submodule.ts 149 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/bundle.js deleted file mode 100644 index 6024683a1..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(2); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/output.txt deleted file mode 100644 index ced880992..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/onlyCompileBundledFiles/lib/externalLib.js 55 bytes {0} [built] - [1] ./.test/onlyCompileBundledFiles/app.ts 169 bytes {0} [built] - [2] ./.test/onlyCompileBundledFiles/submodule/submodule.ts 149 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch0/bundle.js deleted file mode 100644 index 0580fdcbb..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch0/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(2); -var externalLib = __webpack_require__(0); -externalLib.doSomething2(submodule); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch0/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch0/output.transpiled.txt deleted file mode 100644 index e746f1740..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/onlyCompileBundledFiles/lib/externalLib.js 55 bytes {0} - [1] ./.test/onlyCompileBundledFiles/app.ts 170 bytes {0} [built] - [2] ./.test/onlyCompileBundledFiles/submodule/submodule.ts 149 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch0/output.txt deleted file mode 100644 index 3ae4f3776..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/onlyCompileBundledFiles/lib/externalLib.js 55 bytes {0} - [1] ./.test/onlyCompileBundledFiles/app.ts 170 bytes {0} [built] [1 error] - [2] ./.test/onlyCompileBundledFiles/submodule/submodule.ts 149 bytes {0} - -ERROR in ./.test/onlyCompileBundledFiles/app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch1/bundle.js deleted file mode 100644 index 6024683a1..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch1/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var submodule = __webpack_require__(2); -var externalLib = __webpack_require__(0); -externalLib.doSomething(submodule); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(""); -var message = "Hello from submodule"; -module.exports = message; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch1/output.txt deleted file mode 100644 index defefc07d..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.6/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 kB 0 [emitted] main - [0] ./.test/onlyCompileBundledFiles/lib/externalLib.js 55 bytes {0} - [1] ./.test/onlyCompileBundledFiles/app.ts 169 bytes {0} [built] - [2] ./.test/onlyCompileBundledFiles/submodule/submodule.ts 149 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/bundle.js deleted file mode 100644 index cd4249da3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index c193eb168..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:54 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/output.txt deleted file mode 100644 index 839550248..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:48 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch0/bundle.js deleted file mode 100644 index 8fd50ab48..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch0/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch0/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch0/output.transpiled.txt deleted file mode 100644 index 931e770e8..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:57 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch0/output.txt deleted file mode 100644 index ce913a9b0..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch0/output.txt +++ /dev/null @@ -1,12 +0,0 @@ -Built at: 2018-3-18 09:19:51 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch1/bundle.js deleted file mode 100644 index cd4249da3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch1/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch1/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch1/output.transpiled.txt deleted file mode 100644 index 82b944346..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:59 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch1/output.txt deleted file mode 100644 index 5e1b3f1b3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.7/patch1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:54 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/bundle.js deleted file mode 100644 index cd4249da3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index c193eb168..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:54 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/output.txt deleted file mode 100644 index 45f71eb54..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch0/bundle.js deleted file mode 100644 index 8fd50ab48..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch0/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch0/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch0/output.transpiled.txt deleted file mode 100644 index 20275e8d6..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch0/output.txt deleted file mode 100644 index cc4cb03f9..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch1/bundle.js deleted file mode 100644 index cd4249da3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch1/bundle.js +++ /dev/null @@ -1,109 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch1/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch1/output.transpiled.txt deleted file mode 100644 index 82b944346..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:59 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch1/output.txt deleted file mode 100644 index a900896de..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.8/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index c193eb168..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:54 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/output.txt deleted file mode 100644 index f33d2f14a..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch0/bundle.js deleted file mode 100644 index 69c4dcc59..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch0/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch0/output.txt deleted file mode 100644 index 9fac8da0d..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch1/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch1/output.transpiled.txt deleted file mode 100644 index 82b944346..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:59 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch1/output.txt deleted file mode 100644 index 1afd1cf5f..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-2.9/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index c193eb168..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:54 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/output.txt deleted file mode 100644 index f33d2f14a..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch0/bundle.js deleted file mode 100644 index 69c4dcc59..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch0/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch0/output.txt deleted file mode 100644 index 9fac8da0d..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch1/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch1/output.transpiled.txt deleted file mode 100644 index 82b944346..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:59 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch1/output.txt deleted file mode 100644 index 1afd1cf5f..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.0/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index c193eb168..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:54 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/output.txt deleted file mode 100644 index f33d2f14a..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch0/bundle.js deleted file mode 100644 index 69c4dcc59..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch0/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch0/output.txt deleted file mode 100644 index 9fac8da0d..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch1/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch1/output.transpiled.txt deleted file mode 100644 index 82b944346..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:59 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch1/output.txt deleted file mode 100644 index 1afd1cf5f..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.1/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index c193eb168..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:54 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/output.txt deleted file mode 100644 index f33d2f14a..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch0/bundle.js deleted file mode 100644 index 69c4dcc59..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch0/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch0/output.txt deleted file mode 100644 index 9fac8da0d..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch1/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch1/output.transpiled.txt deleted file mode 100644 index 82b944346..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:59 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch1/output.txt deleted file mode 100644 index 1afd1cf5f..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.2/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index c193eb168..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:54 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/output.txt deleted file mode 100644 index f33d2f14a..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch0/bundle.js deleted file mode 100644 index 69c4dcc59..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch0/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch0/output.txt deleted file mode 100644 index 9fac8da0d..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch1/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch1/output.transpiled.txt deleted file mode 100644 index 82b944346..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:59 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch1/output.txt deleted file mode 100644 index 1afd1cf5f..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.3/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index c193eb168..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:54 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/output.txt deleted file mode 100644 index f33d2f14a..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch0/bundle.js deleted file mode 100644 index 69c4dcc59..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch0/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch0/output.txt deleted file mode 100644 index 9fac8da0d..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch1/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch1/output.transpiled.txt deleted file mode 100644 index 82b944346..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:59 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch1/output.txt deleted file mode 100644 index 1afd1cf5f..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.4/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index c193eb168..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:54 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/output.txt deleted file mode 100644 index f33d2f14a..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} [built] -[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch0/bundle.js deleted file mode 100644 index 69c4dcc59..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch0/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch0/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch0/output.transpiled.txt deleted file mode 100644 index 1073e8b79..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch0/output.txt deleted file mode 100644 index 9fac8da0d..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 170 bytes {main} [built] [1 error] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch1/bundle.js deleted file mode 100644 index 1780017e3..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch1/bundle.js +++ /dev/null @@ -1,124 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch1/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch1/output.transpiled.txt deleted file mode 100644 index 82b944346..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:19:59 - Asset Size Chunks Chunk Names -bundle.js 3.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch1/output.txt deleted file mode 100644 index 1afd1cf5f..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.5/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.83 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] -[./lib/externalLib.js] 55 bytes {main} -[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-3.0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/basic/expectedOutput-3.0/bundle.js rename to test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/basic/expectedOutput-3.0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/basic/expectedOutput-3.0/output.txt rename to test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/basic/expectedOutput-3.0/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/basic/expectedOutput-3.0/patch0/bundle.js rename to test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.0/patch0/bundle.js diff --git a/test/comparison-tests/basic/expectedOutput-3.0/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/basic/expectedOutput-3.0/patch0/output.txt rename to test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.0/patch0/output.txt diff --git a/test/comparison-tests/basic/expectedOutput-3.0/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/basic/expectedOutput-3.0/patch1/bundle.js rename to test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.0/patch1/bundle.js diff --git a/test/comparison-tests/basic/expectedOutput-3.0/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/basic/expectedOutput-3.0/patch1/output.txt rename to test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.0/patch1/output.txt diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..05355f590 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..77bfaf8ba --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.87 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} [built] +[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..8cc47b54f --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..82749e570 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.87 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 206 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} +[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..05355f590 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..1d7ef7e16 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.87 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} +[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..cc58e783f --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..77bb1379a --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.22 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 111 bytes {main} [built] +[./message.ts] 76 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..cc58e783f --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..fde3f76a7 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.22 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 111 bytes {main} [built] +[./message.ts] 76 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch1/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch1/bundle.js new file mode 100644 index 000000000..cc58e783f --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..77bb1379a --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.22 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 111 bytes {main} [built] +[./message.ts] 76 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..fa5830a76 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..3acbead76 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.33 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 147 bytes {main} [built] +[./message.ts] 138 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..fa5830a76 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..18a8c9e84 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.33 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 147 bytes {main} [built] +[./message.ts] 138 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..fa5830a76 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..28dfe5d87 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.33 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 147 bytes {main} +[./message.ts] 138 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-1.6/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-1.6/bundle.transpiled.js deleted file mode 100644 index 8dae06600..000000000 --- a/test/comparison-tests/production/expectedOutput-1.6/bundle.transpiled.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var a = '1', b = 1; - b = a; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-1.6/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-1.6/output.transpiled.txt deleted file mode 100644 index 37cc9ec5e..000000000 --- a/test/comparison-tests/production/expectedOutput-1.6/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 [emitted] main -chunk {0} bundle.js (main) 27 bytes [rendered] - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-1.6/output.txt b/test/comparison-tests/production/expectedOutput-1.6/output.txt deleted file mode 100644 index a160b8eb8..000000000 --- a/test/comparison-tests/production/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 main -chunk {0} bundle.js (main) 27 bytes [rendered] - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] [1 error] - -ERROR in ./.test/noErrorsPlugin/app.ts -(4,1): error TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-1.7/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-1.7/bundle.transpiled.js deleted file mode 100644 index 8dae06600..000000000 --- a/test/comparison-tests/production/expectedOutput-1.7/bundle.transpiled.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var a = '1', b = 1; - b = a; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-1.7/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-1.7/output.transpiled.txt deleted file mode 100644 index 37cc9ec5e..000000000 --- a/test/comparison-tests/production/expectedOutput-1.7/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 [emitted] main -chunk {0} bundle.js (main) 27 bytes [rendered] - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-1.7/output.txt b/test/comparison-tests/production/expectedOutput-1.7/output.txt deleted file mode 100644 index a160b8eb8..000000000 --- a/test/comparison-tests/production/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 main -chunk {0} bundle.js (main) 27 bytes [rendered] - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] [1 error] - -ERROR in ./.test/noErrorsPlugin/app.ts -(4,1): error TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-1.8/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-1.8/bundle.transpiled.js deleted file mode 100644 index a3a220529..000000000 --- a/test/comparison-tests/production/expectedOutput-1.8/bundle.transpiled.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var a = '1', b = 1; - b = a; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index e7983069c..000000000 --- a/test/comparison-tests/production/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 41 bytes [rendered] - [0] ./.test/noErrorsPlugin/app.ts 41 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-1.8/output.txt b/test/comparison-tests/production/expectedOutput-1.8/output.txt deleted file mode 100644 index a160b8eb8..000000000 --- a/test/comparison-tests/production/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 main -chunk {0} bundle.js (main) 27 bytes [rendered] - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] [1 error] - -ERROR in ./.test/noErrorsPlugin/app.ts -(4,1): error TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.0/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index a3a220529..000000000 --- a/test/comparison-tests/production/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var a = '1', b = 1; - b = a; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index e7983069c..000000000 --- a/test/comparison-tests/production/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.43 kB 0 [emitted] main -chunk {0} bundle.js (main) 41 bytes [rendered] - [0] ./.test/noErrorsPlugin/app.ts 41 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.0/output.txt b/test/comparison-tests/production/expectedOutput-2.0/output.txt deleted file mode 100644 index a160b8eb8..000000000 --- a/test/comparison-tests/production/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.42 kB 0 main -chunk {0} bundle.js (main) 27 bytes [rendered] - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] [1 error] - -ERROR in ./.test/noErrorsPlugin/app.ts -(4,1): error TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index 98745dc34..000000000 --- a/test/comparison-tests/production/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var a = '1', b = 1; -b = a; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index fb26ae022..000000000 --- a/test/comparison-tests/production/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main -chunk {0} bundle.js (main) 41 bytes [entry] [rendered] - [0] ./.test/noErrorsPlugin/app.ts 41 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.1/output.txt b/test/comparison-tests/production/expectedOutput-2.1/output.txt deleted file mode 100644 index ff5ad34b2..000000000 --- a/test/comparison-tests/production/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.54 kB 0 main -chunk {0} bundle.js (main) 27 bytes [entry] [rendered] - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] [1 error] - -WARNING in webpack: Using NoErrorsPlugin is deprecated. -Use NoEmitOnErrorsPlugin instead. - - -ERROR in ./.test/noErrorsPlugin/app.ts -(4,1): error TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-2.2/bundle.transpiled.js deleted file mode 100644 index 0593e1288..000000000 --- a/test/comparison-tests/production/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = '1', b = 1; -b = a; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index 2b11d1e9b..000000000 --- a/test/comparison-tests/production/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -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/production/expectedOutput-2.2/output.txt b/test/comparison-tests/production/expectedOutput-2.2/output.txt deleted file mode 100644 index 9dc4c4a5c..000000000 --- a/test/comparison-tests/production/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 main -chunk {0} bundle.js (main) 27 bytes [entry] [rendered] - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] [1 error] - -WARNING in webpack: Using NoErrorsPlugin is deprecated. -Use NoEmitOnErrorsPlugin instead. - - -ERROR in ./.test/noErrorsPlugin/app.ts -(4,1): error TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.3/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-2.3/bundle.transpiled.js deleted file mode 100644 index bfa5e68ed..000000000 --- a/test/comparison-tests/production/expectedOutput-2.3/bundle.transpiled.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var a = '1', b = 1; -b = a; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index 0b4ea9bf4..000000000 --- a/test/comparison-tests/production/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 [emitted] main -chunk {0} bundle.js (main) 27 bytes [entry] [rendered] - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.3/output.txt b/test/comparison-tests/production/expectedOutput-2.3/output.txt deleted file mode 100644 index 9dc4c4a5c..000000000 --- a/test/comparison-tests/production/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 main -chunk {0} bundle.js (main) 27 bytes [entry] [rendered] - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] [1 error] - -WARNING in webpack: Using NoErrorsPlugin is deprecated. -Use NoEmitOnErrorsPlugin instead. - - -ERROR in ./.test/noErrorsPlugin/app.ts -(4,1): error TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.4/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-2.4/bundle.transpiled.js deleted file mode 100644 index bfa5e68ed..000000000 --- a/test/comparison-tests/production/expectedOutput-2.4/bundle.transpiled.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var a = '1', b = 1; -b = a; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index 0b4ea9bf4..000000000 --- a/test/comparison-tests/production/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 [emitted] main -chunk {0} bundle.js (main) 27 bytes [entry] [rendered] - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.4/output.txt b/test/comparison-tests/production/expectedOutput-2.4/output.txt deleted file mode 100644 index 9dc4c4a5c..000000000 --- a/test/comparison-tests/production/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.66 kB 0 main -chunk {0} bundle.js (main) 27 bytes [entry] [rendered] - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] [1 error] - -WARNING in webpack: Using NoErrorsPlugin is deprecated. -Use NoEmitOnErrorsPlugin instead. - - -ERROR in ./.test/noErrorsPlugin/app.ts -(4,1): error TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.5/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-2.5/bundle.transpiled.js deleted file mode 100644 index 26d654b78..000000000 --- a/test/comparison-tests/production/expectedOutput-2.5/bundle.transpiled.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var a = '1', b = 1; -b = a; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index b0b9134f3..000000000 --- a/test/comparison-tests/production/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.5 kB 0 [emitted] main - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.5/output.txt b/test/comparison-tests/production/expectedOutput-2.5/output.txt deleted file mode 100644 index c16ebde12..000000000 --- a/test/comparison-tests/production/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.5 kB 0 main - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] [1 error] - -WARNING in webpack: Using NoErrorsPlugin is deprecated. -Use NoEmitOnErrorsPlugin instead. - - -ERROR in ./.test/noErrorsPlugin/app.ts -[tsl] ERROR in app.ts(4,1) - TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.6/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-2.6/bundle.transpiled.js deleted file mode 100644 index 26d654b78..000000000 --- a/test/comparison-tests/production/expectedOutput-2.6/bundle.transpiled.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var a = '1', b = 1; -b = a; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index b0b9134f3..000000000 --- a/test/comparison-tests/production/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.5 kB 0 [emitted] main - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.6/output.txt b/test/comparison-tests/production/expectedOutput-2.6/output.txt deleted file mode 100644 index c16ebde12..000000000 --- a/test/comparison-tests/production/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.5 kB 0 main - [0] ./.test/noErrorsPlugin/app.ts 27 bytes {0} [built] [1 error] - -WARNING in webpack: Using NoErrorsPlugin is deprecated. -Use NoEmitOnErrorsPlugin instead. - - -ERROR in ./.test/noErrorsPlugin/app.ts -[tsl] ERROR in app.ts(4,1) - TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.7/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-2.7/bundle.transpiled.js deleted file mode 100644 index cceaffd4f..000000000 --- a/test/comparison-tests/production/expectedOutput-2.7/bundle.transpiled.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){var n={};function r(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=n,r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="",r(r.s=0)}([function(e,n){}]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index d5959e215..000000000 --- a/test/comparison-tests/production/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:20:06 - Asset Size Chunks Chunk Names -bundle.js 545 bytes 0 [emitted] main -Entrypoint main = bundle.js - [0] ./app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.7/output.txt b/test/comparison-tests/production/expectedOutput-2.7/output.txt deleted file mode 100644 index d95000b8b..000000000 --- a/test/comparison-tests/production/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-3-18 09:20:05 - Asset Size Chunks Chunk Names -bundle.js 545 bytes 0 main -Entrypoint main = bundle.js - [0] ./app.ts 27 bytes {0} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,1) - TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.8/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-2.8/bundle.transpiled.js deleted file mode 100644 index cceaffd4f..000000000 --- a/test/comparison-tests/production/expectedOutput-2.8/bundle.transpiled.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){var n={};function r(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=n,r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="",r(r.s=0)}([function(e,n){}]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 4ef4c0ac9..000000000 --- a/test/comparison-tests/production/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 545 bytes 0 [emitted] main -Entrypoint main = bundle.js - [0] ./app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.8/output.txt b/test/comparison-tests/production/expectedOutput-2.8/output.txt deleted file mode 100644 index 92f2b0946..000000000 --- a/test/comparison-tests/production/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 545 bytes 0 main -Entrypoint main = bundle.js - [0] ./app.ts 27 bytes {0} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,1) - TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.0/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-3.0/bundle.transpiled.js deleted file mode 100644 index 4cfdd438e..000000000 --- a/test/comparison-tests/production/expectedOutput-3.0/bundle.transpiled.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t){}]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 35ec561d3..000000000 --- a/test/comparison-tests/production/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 930 bytes 0 [emitted] main -Entrypoint main = bundle.js -[0] ./app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.0/output.txt b/test/comparison-tests/production/expectedOutput-3.0/output.txt deleted file mode 100644 index 63923ad42..000000000 --- a/test/comparison-tests/production/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 930 bytes 0 main -Entrypoint main = bundle.js -[0] ./app.ts 27 bytes {0} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,1) - TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.1/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-3.1/bundle.transpiled.js deleted file mode 100644 index 4cfdd438e..000000000 --- a/test/comparison-tests/production/expectedOutput-3.1/bundle.transpiled.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t){}]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 35ec561d3..000000000 --- a/test/comparison-tests/production/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 930 bytes 0 [emitted] main -Entrypoint main = bundle.js -[0] ./app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.1/output.txt b/test/comparison-tests/production/expectedOutput-3.1/output.txt deleted file mode 100644 index 63923ad42..000000000 --- a/test/comparison-tests/production/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 930 bytes 0 main -Entrypoint main = bundle.js -[0] ./app.ts 27 bytes {0} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,1) - TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.2/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-3.2/bundle.transpiled.js deleted file mode 100644 index 4cfdd438e..000000000 --- a/test/comparison-tests/production/expectedOutput-3.2/bundle.transpiled.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t){}]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 35ec561d3..000000000 --- a/test/comparison-tests/production/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 930 bytes 0 [emitted] main -Entrypoint main = bundle.js -[0] ./app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.2/output.txt b/test/comparison-tests/production/expectedOutput-3.2/output.txt deleted file mode 100644 index 63923ad42..000000000 --- a/test/comparison-tests/production/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 930 bytes 0 main -Entrypoint main = bundle.js -[0] ./app.ts 27 bytes {0} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,1) - TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.3/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-3.3/bundle.transpiled.js deleted file mode 100644 index 4cfdd438e..000000000 --- a/test/comparison-tests/production/expectedOutput-3.3/bundle.transpiled.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t){}]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 35ec561d3..000000000 --- a/test/comparison-tests/production/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 930 bytes 0 [emitted] main -Entrypoint main = bundle.js -[0] ./app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.3/output.txt b/test/comparison-tests/production/expectedOutput-3.3/output.txt deleted file mode 100644 index 63923ad42..000000000 --- a/test/comparison-tests/production/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 930 bytes 0 main -Entrypoint main = bundle.js -[0] ./app.ts 27 bytes {0} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,1) - TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.4/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-3.4/bundle.transpiled.js deleted file mode 100644 index 4cfdd438e..000000000 --- a/test/comparison-tests/production/expectedOutput-3.4/bundle.transpiled.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t){}]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 35ec561d3..000000000 --- a/test/comparison-tests/production/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 930 bytes 0 [emitted] main -Entrypoint main = bundle.js -[0] ./app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.4/output.txt b/test/comparison-tests/production/expectedOutput-3.4/output.txt deleted file mode 100644 index 63923ad42..000000000 --- a/test/comparison-tests/production/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 930 bytes 0 main -Entrypoint main = bundle.js -[0] ./app.ts 27 bytes {0} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,1) - TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.5/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-3.5/bundle.transpiled.js deleted file mode 100644 index 4cfdd438e..000000000 --- a/test/comparison-tests/production/expectedOutput-3.5/bundle.transpiled.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t){}]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 35ec561d3..000000000 --- a/test/comparison-tests/production/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 930 bytes 0 [emitted] main -Entrypoint main = bundle.js -[0] ./app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-3.5/output.txt b/test/comparison-tests/production/expectedOutput-3.5/output.txt deleted file mode 100644 index 63923ad42..000000000 --- a/test/comparison-tests/production/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 930 bytes 0 main -Entrypoint main = bundle.js -[0] ./app.ts 27 bytes {0} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(4,1) - TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-2.9/output.txt b/test/comparison-tests/production/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/production/expectedOutput-2.9/output.txt rename to test/comparison-tests/production/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/production/expectedOutput-2.9/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/production/expectedOutput-2.9/bundle.transpiled.js rename to test/comparison-tests/production/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/production/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/production/expectedOutput-2.9/output.transpiled.txt rename to test/comparison-tests/production/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.0/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-3.0/bundle.js deleted file mode 100644 index 715c05596..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n // I am adding this comment here by hand to ensure\n // Webpack is using the JS output for project references\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.0/output.txt b/test/comparison-tests/projectReferences/expectedOutput-3.0/output.txt deleted file mode 100644 index 678bcdcab..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.4 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 213 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.1/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-3.1/bundle.js deleted file mode 100644 index 715c05596..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n // I am adding this comment here by hand to ensure\n // Webpack is using the JS output for project references\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.1/output.txt b/test/comparison-tests/projectReferences/expectedOutput-3.1/output.txt deleted file mode 100644 index 678bcdcab..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.4 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 213 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.2/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-3.2/bundle.js deleted file mode 100644 index 715c05596..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n // I am adding this comment here by hand to ensure\n // Webpack is using the JS output for project references\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.2/output.txt b/test/comparison-tests/projectReferences/expectedOutput-3.2/output.txt deleted file mode 100644 index 678bcdcab..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.4 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 213 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.3/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-3.3/bundle.js deleted file mode 100644 index 715c05596..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n // I am adding this comment here by hand to ensure\n // Webpack is using the JS output for project references\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.3/output.txt b/test/comparison-tests/projectReferences/expectedOutput-3.3/output.txt deleted file mode 100644 index 678bcdcab..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.4 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 213 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.4/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-3.4/bundle.js deleted file mode 100644 index 715c05596..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n // I am adding this comment here by hand to ensure\n // Webpack is using the JS output for project references\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.4/output.txt b/test/comparison-tests/projectReferences/expectedOutput-3.4/output.txt deleted file mode 100644 index 678bcdcab..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.4 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 213 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.5/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-3.5/bundle.js deleted file mode 100644 index 715c05596..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n // I am adding this comment here by hand to ensure\n // Webpack is using the JS output for project references\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.5/output.txt b/test/comparison-tests/projectReferences/expectedOutput-3.5/output.txt deleted file mode 100644 index 678bcdcab..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.4 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 213 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferences/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferences/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.0/lib/index.js.map b/test/comparison-tests/projectReferences/expectedOutput-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferences/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..8cfb6d671 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferences/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..ceca3b200 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/index.js.map b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..8c836ba39 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/bundle.js @@ -0,0 +1,123 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from c:/github/ts-loader/index.js):/nError: TypeScript emitted no output for c://github//ts-loader//.test//projectReferencesMultiple//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (c://github//ts-loader//dist//index.js:87:18)/n at successLoader (c://github//ts-loader//dist//index.js:73:9)/n at Object.loader (c://github//ts-loader//dist//index.js:24:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from c:/github/ts-loader/index.js):/nError: TypeScript emitted no output for c://github//ts-loader//.test//projectReferencesMultiple//utils//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (c://github//ts-loader//dist//index.js:87:18)/n at successLoader (c://github//ts-loader//dist//index.js:73:9)/n at Object.loader (c://github//ts-loader//dist//index.js:24:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/common/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/common/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/common/index.js new file mode 100644 index 000000000..c561b2cc0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 30; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3fc50b166 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/indirectWithError/tsconfig.tsbuildinfo new file mode 100644 index 000000000..f2dfd9c5f --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/indirectWithError/tsconfig.tsbuildinfo @@ -0,0 +1,87 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./fileWithError.ts", + [ + { + "file": "./fileWithError.ts", + "start": 36, + "length": 13, + "code": 2322, + "category": 1, + "messageText": "Type 'boolean' is not assignable to type 'string'." + } + ] + ], + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./fileWithError.ts", + 1 + ], + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..f2dfd9c5f --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,87 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./fileWithError.ts", + [ + { + "file": "./fileWithError.ts", + "start": 36, + "length": 13, + "code": 2322, + "category": 1, + "messageText": "Type 'boolean' is not assignable to type 'string'." + } + ] + ], + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./fileWithError.ts", + 1 + ], + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..58ca484d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/output.txt @@ -0,0 +1,41 @@ + Asset Size Chunks Chunk Names + bundle.js 5.43 KiB main [emitted] main + common/index.d.ts 42 bytes [emitted] + common/index.js 128 bytes [emitted] + common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + indirectWithError/tsconfig.tsbuildinfo 3.1 KiB [emitted] + lib/tsconfig.tsbuildinfo 3.1 KiB [emitted] + unreferenced/index.d.ts 48 bytes [emitted] + unreferenced/index.js 169 bytes [emitted] + unreferenced/tsconfig.tsbuildinfo 2.32 KiB [emitted] + unreferencedIndirect/index.d.ts 56 bytes [emitted] + unreferencedIndirect/index.js 209 bytes [emitted] +unreferencedIndirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./lib/index.ts] 475 bytes {main} [built] [failed] [1 error] +[./utils/index.ts] 477 bytes {main} [built] [failed] [1 error] + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:54:18) + at successLoader (dist/index.js:41:5) + at Object.loader (dist/index.js:24:5) + @ ./app.ts 3:12-28 + +ERROR in ./utils/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:54:18) + at successLoader (dist/index.js:41:5) + at Object.loader (dist/index.js:24:5) + @ ./app.ts 4:14-32 + +ERROR in lib/fileWithError.ts +[tsl] ERROR in lib/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. + +ERROR in indirectWithError/fileWithError.ts +[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..a3ccb229e --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /home/john/src/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/src/ts-loader/dist/index.js:88:18)/n at successLoader (/home/john/src/ts-loader/dist/index.js:74:9)/n at Object.loader (/home/john/src/ts-loader/dist/index.js:25:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/fileWithError.d.ts new file mode 100644 index 000000000..27e069e94 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/fileWithError.d.ts @@ -0,0 +1 @@ +export declare function foo(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/fileWithError.js new file mode 100644 index 000000000..4cd8719c8 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/fileWithError.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.foo = void 0; +function foo() { + return "hello world"; +} +exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..82b7110f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,61 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "0dda94f9fb4df4c74ff92d8109d8db2122e4c980bb13857b2a538c2ac0b33c64", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./fileWithError.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..1a60ce91a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,23 @@ + Asset Size Chunks Chunk Names + bundle.js 5.11 KiB main [emitted] main + lib/fileWithError.d.ts 39 bytes [emitted] + lib/fileWithError.js 127 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 119 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.59 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] +[./utils/index.ts] 477 bytes {main} [built] [failed] [1 error] + +ERROR in ./utils/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:54:18) + at successLoader (dist/index.js:41:5) + at Object.loader (dist/index.js:24:5) + @ ./app.ts 4:14-32 + +ERROR in indirectWithError/fileWithError.ts +[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/bundle.js new file mode 100644 index 000000000..09c0243ca --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/fileWithError.d.ts new file mode 100644 index 000000000..27e069e94 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/fileWithError.d.ts @@ -0,0 +1 @@ +export declare function foo(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/fileWithError.js new file mode 100644 index 000000000..215cdeb2a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/fileWithError.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.foo = void 0; +function foo() { + return "hello i fixed this error"; +} +exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3f35eb680 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/indirectWithError/tsconfig.tsbuildinfo @@ -0,0 +1,61 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "e8c36f5bf4681d8c0c1866ed04f823e66548c8a788b325b672026efb17e9a384", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./fileWithError.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..6c6acf232 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names + bundle.js 5.27 KiB main [emitted] main + indirectWithError/fileWithError.d.ts 39 bytes [emitted] + indirectWithError/fileWithError.js 140 bytes [emitted] + indirectWithError/index.d.ts 84 bytes [emitted] + indirectWithError/index.js 119 bytes [emitted] +indirectWithError/tsconfig.tsbuildinfo 2.59 KiB [emitted] + utils/index.d.ts 39 bytes [emitted] + utils/index.js 169 bytes [emitted] + utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./common/index.ts] 128 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/utils/index.d.ts new file mode 100644 index 000000000..590545c75 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/utils/index.d.ts @@ -0,0 +1 @@ +export declare function utils(): void; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/utils/index.js new file mode 100644 index 000000000..7cde7e732 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/utils/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9302ddcb9 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch1/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088", + "signature": "2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/bundle.js new file mode 100644 index 000000000..09c0243ca --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/output.txt new file mode 100644 index 000000000..3198ac028 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + bundle.js 5.27 KiB main [emitted] main + unreferenced/index.d.ts 48 bytes [emitted] + unreferenced/index.js 183 bytes [emitted] +unreferenced/tsconfig.tsbuildinfo 2.32 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/unreferenced/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/unreferenced/index.d.ts new file mode 100644 index 000000000..cd1cc7776 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/unreferenced/index.d.ts @@ -0,0 +1 @@ +export declare function unreferenced(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/unreferenced/index.js new file mode 100644 index 000000000..184fe4303 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/unreferenced/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferenced = void 0; +function unreferenced() { + return "i am unreferenced without error"; +} +exports.unreferenced = unreferenced; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..348f626b9 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch2/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "bb8ba6128be1271d91fd80319ca81516b664c6a68b5409b2991f70018b6c9e67", + "signature": "0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch3/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch3/bundle.js new file mode 100644 index 000000000..09c0243ca --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch3/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch3/output.txt new file mode 100644 index 000000000..b6724dc76 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch3/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + bundle.js 5.27 KiB main [emitted] main +unreferencedIndirect/tsconfig.tsbuildinfo 2.68 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} + +ERROR in unreferencedIndirect/index.ts +[tsl] ERROR in unreferencedIndirect/index.ts(2,3) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..57b21e8b5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1,73 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d442ceff036096362114a6b3c3fc728f2631155c62bd9f9a5ba0a282d1ff6b9c", + "signature": "2c1fe99ebadd28030971552c5b38142ab5a93ccb879983a2cecd1ab71d777dfd", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 51, + "length": 48, + "code": 2322, + "category": 1, + "messageText": "Type 'string' is not assignable to type 'number'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/bundle.js new file mode 100644 index 000000000..09c0243ca --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/output.txt new file mode 100644 index 000000000..4f0b6617d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + bundle.js 5.27 KiB main [emitted] main + unreferencedIndirect/index.d.ts 56 bytes [emitted] + unreferencedIndirect/index.js 225 bytes [emitted] +unreferencedIndirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/unreferencedIndirect/index.d.ts new file mode 100644 index 000000000..a9c923d2a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/unreferencedIndirect/index.d.ts @@ -0,0 +1 @@ +export declare function unreferencedIndirect(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/unreferencedIndirect/index.js new file mode 100644 index 000000000..44db5b50e --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/unreferencedIndirect/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferencedIndirect = void 0; +function unreferencedIndirect() { + return "i am unreferencedIndirect now fixed error"; +} +exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b3dfe5eff --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "25e6889f7998ef0640339eb29cd18ffe0a26a90d6ab573c95601f51593801064", + "signature": "5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch5/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch5/bundle.js new file mode 100644 index 000000000..09c0243ca --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch5/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch5/output.txt new file mode 100644 index 000000000..e35154d19 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch5/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + bundle.js 5.27 KiB main [emitted] main +unreferenced/tsconfig.tsbuildinfo 2.68 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} + +ERROR in unreferenced/index.ts +[tsl] ERROR in unreferenced/index.ts(2,3) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch5/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch5/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..c9bb47f88 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/patch5/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1,73 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "a37fe63cb9341169cb1ad08e3df365ac56639ae5518c883090e0dee4941a2fe1", + "signature": "2a0d33199723c48fa395ddf78eb2f2b8ecbed53d595ec7e591dea65384d9588b", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 43, + "length": 38, + "code": 2322, + "category": 1, + "messageText": "Type 'string' is not assignable to type 'number'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferenced/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferenced/index.d.ts new file mode 100644 index 000000000..cd1cc7776 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferenced/index.d.ts @@ -0,0 +1 @@ +export declare function unreferenced(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferenced/index.js new file mode 100644 index 000000000..2a6e4b7c9 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferenced/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferenced = void 0; +function unreferenced() { + return "i am unreferenced"; +} +exports.unreferenced = unreferenced; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e2ab712c0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "71b9a35449a6c117c0de0bc5035eb20046c4d436d28294a9d6be2c1a9920ad98", + "signature": "0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferencedIndirect/index.d.ts new file mode 100644 index 000000000..a9c923d2a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferencedIndirect/index.d.ts @@ -0,0 +1 @@ +export declare function unreferencedIndirect(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferencedIndirect/index.js new file mode 100644 index 000000000..87bc79753 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferencedIndirect/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferencedIndirect = void 0; +function unreferencedIndirect() { + return "i am unreferencedIndirect"; +} +exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0d9c86ed5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.0/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d2b6e2d5879e5092e979620936598256494f23e7449ca2b326a2618f9b4488c2", + "signature": "5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..831ca6e68 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,123 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:54:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:41:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:24:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:54:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:41:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:24:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/common/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/common/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/common/index.js new file mode 100644 index 000000000..c561b2cc0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 30; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..011d400c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/indirectWithError/tsconfig.tsbuildinfo new file mode 100644 index 000000000..f2dfd9c5f --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/indirectWithError/tsconfig.tsbuildinfo @@ -0,0 +1,87 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./fileWithError.ts", + [ + { + "file": "./fileWithError.ts", + "start": 36, + "length": 13, + "code": 2322, + "category": 1, + "messageText": "Type 'boolean' is not assignable to type 'string'." + } + ] + ], + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./fileWithError.ts", + 1 + ], + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..f2dfd9c5f --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,87 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./fileWithError.ts", + [ + { + "file": "./fileWithError.ts", + "start": 36, + "length": 13, + "code": 2322, + "category": 1, + "messageText": "Type 'boolean' is not assignable to type 'string'." + } + ] + ], + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./fileWithError.ts", + 1 + ], + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..4abec0110 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,39 @@ + Asset Size Chunks Chunk Names + bundle.js 5.49 KiB main [emitted] main + common/index.d.ts 42 bytes [emitted] + common/index.js 128 bytes [emitted] + common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + indirectWithError/tsconfig.tsbuildinfo 3.1 KiB [emitted] + lib/tsconfig.tsbuildinfo 3.1 KiB [emitted] + unreferenced/index.d.ts 48 bytes [emitted] + unreferenced/index.js 169 bytes [emitted] + unreferenced/tsconfig.tsbuildinfo 2.32 KiB [emitted] + unreferencedIndirect/index.d.ts 56 bytes [emitted] + unreferencedIndirect/index.js 209 bytes [emitted] +unreferencedIndirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 218 bytes {main} [built] [2 errors] +[./lib/index.ts] 485 bytes {main} [built] [failed] [1 error] +[./utils/index.ts] 487 bytes {main} [built] [failed] [1 error] + +ERROR in [tsl] ERROR in indirectWithError/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. + +ERROR in [tsl] ERROR in lib/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:54:18) + at successLoader (dist/index.js:41:5) + at Object.loader (dist/index.js:24:5) + @ ./app.ts 3:12-28 + +ERROR in ./utils/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:54:18) + at successLoader (dist/index.js:41:5) + at Object.loader (dist/index.js:24:5) + @ ./app.ts 4:14-32 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..f73abe416 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:54:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:41:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:24:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/fileWithError.d.ts new file mode 100644 index 000000000..27e069e94 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/fileWithError.d.ts @@ -0,0 +1 @@ +export declare function foo(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/fileWithError.js new file mode 100644 index 000000000..4cd8719c8 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/fileWithError.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.foo = void 0; +function foo() { + return "hello world"; +} +exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3e3f866f8 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,61 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "0dda94f9fb4df4c74ff92d8109d8db2122e4c980bb13857b2a538c2ac0b33c64", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./fileWithError.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..5e5601e8d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,22 @@ + Asset Size Chunks Chunk Names + bundle.js 5.15 KiB main [emitted] main + lib/fileWithError.d.ts 39 bytes [emitted] + lib/fileWithError.js 127 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 119 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.59 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 218 bytes {main} [built] [1 error] +[./lib/index.ts] 119 bytes {main} [built] +[./utils/index.ts] 487 bytes {main} [built] [failed] [1 error] + +ERROR in [tsl] ERROR in indirectWithError/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. + +ERROR in ./utils/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:54:18) + at successLoader (dist/index.js:41:5) + at Object.loader (dist/index.js:24:5) + @ ./app.ts 4:14-32 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..b7c7afd02 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/fileWithError.d.ts new file mode 100644 index 000000000..27e069e94 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/fileWithError.d.ts @@ -0,0 +1 @@ +export declare function foo(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/fileWithError.js new file mode 100644 index 000000000..215cdeb2a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/fileWithError.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.foo = void 0; +function foo() { + return "hello i fixed this error"; +} +exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/tsconfig.tsbuildinfo new file mode 100644 index 000000000..c244234b0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/indirectWithError/tsconfig.tsbuildinfo @@ -0,0 +1,61 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "e8c36f5bf4681d8c0c1866ed04f823e66548c8a788b325b672026efb17e9a384", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./fileWithError.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..b960ed399 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names + bundle.js 5.31 KiB main [emitted] main + indirectWithError/fileWithError.d.ts 39 bytes [emitted] + indirectWithError/fileWithError.js 140 bytes [emitted] + indirectWithError/index.d.ts 84 bytes [emitted] + indirectWithError/index.js 119 bytes [emitted] +indirectWithError/tsconfig.tsbuildinfo 2.59 KiB [emitted] + utils/index.d.ts 39 bytes [emitted] + utils/index.js 169 bytes [emitted] + utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 218 bytes {main} [built] +[./common/index.ts] 128 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/utils/index.d.ts new file mode 100644 index 000000000..590545c75 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/utils/index.d.ts @@ -0,0 +1 @@ +export declare function utils(): void; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/utils/index.js new file mode 100644 index 000000000..7cde7e732 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/utils/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..615ebd8f0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch1/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088", + "signature": "2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch3/output.txt new file mode 100644 index 000000000..0afd355bc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch3/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + bundle.js 5.31 KiB main main +unreferencedIndirect/tsconfig.tsbuildinfo 2.68 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 218 bytes {main} [built] [1 error] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} + +ERROR in [tsl] ERROR in unreferencedIndirect/index.ts(2,3) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..57b21e8b5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1,73 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d442ceff036096362114a6b3c3fc728f2631155c62bd9f9a5ba0a282d1ff6b9c", + "signature": "2c1fe99ebadd28030971552c5b38142ab5a93ccb879983a2cecd1ab71d777dfd", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 51, + "length": 48, + "code": 2322, + "category": 1, + "messageText": "Type 'string' is not assignable to type 'number'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/output.txt new file mode 100644 index 000000000..6fd596b79 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + bundle.js 5.31 KiB main main + unreferencedIndirect/index.d.ts 56 bytes [emitted] + unreferencedIndirect/index.js 225 bytes [emitted] +unreferencedIndirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 218 bytes {main} [built] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/unreferencedIndirect/index.d.ts new file mode 100644 index 000000000..a9c923d2a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/unreferencedIndirect/index.d.ts @@ -0,0 +1 @@ +export declare function unreferencedIndirect(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/unreferencedIndirect/index.js new file mode 100644 index 000000000..44db5b50e --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/unreferencedIndirect/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferencedIndirect = void 0; +function unreferencedIndirect() { + return "i am unreferencedIndirect now fixed error"; +} +exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..037304836 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "25e6889f7998ef0640339eb29cd18ffe0a26a90d6ab573c95601f51593801064", + "signature": "5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch5/output.txt new file mode 100644 index 000000000..c05b76041 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch5/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + bundle.js 5.31 KiB main main +unreferenced/tsconfig.tsbuildinfo 2.68 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 218 bytes {main} [built] [1 error] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} + +ERROR in [tsl] ERROR in unreferenced/index.ts(2,3) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch5/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch5/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..c9bb47f88 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/patch5/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1,73 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "a37fe63cb9341169cb1ad08e3df365ac56639ae5518c883090e0dee4941a2fe1", + "signature": "2a0d33199723c48fa395ddf78eb2f2b8ecbed53d595ec7e591dea65384d9588b", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 43, + "length": 38, + "code": 2322, + "category": 1, + "messageText": "Type 'string' is not assignable to type 'number'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferenced/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferenced/index.d.ts new file mode 100644 index 000000000..cd1cc7776 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferenced/index.d.ts @@ -0,0 +1 @@ +export declare function unreferenced(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferenced/index.js new file mode 100644 index 000000000..2a6e4b7c9 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferenced/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferenced = void 0; +function unreferenced() { + return "i am unreferenced"; +} +exports.unreferenced = unreferenced; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..cfbb4847e --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "71b9a35449a6c117c0de0bc5035eb20046c4d436d28294a9d6be2c1a9920ad98", + "signature": "0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferencedIndirect/index.d.ts new file mode 100644 index 000000000..a9c923d2a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferencedIndirect/index.d.ts @@ -0,0 +1 @@ +export declare function unreferencedIndirect(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferencedIndirect/index.js new file mode 100644 index 000000000..87bc79753 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferencedIndirect/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferencedIndirect = void 0; +function unreferencedIndirect() { + return "i am unreferencedIndirect"; +} +exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..dde316748 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.0/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d2b6e2d5879e5092e979620936598256494f23e7449ca2b326a2618f9b4488c2", + "signature": "5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/app/bundle.js new file mode 100644 index 000000000..041014d08 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/common/index.js new file mode 100644 index 000000000..c561b2cc0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 30; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3fc50b166 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/indirect/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/indirect/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/indirect/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/indirect/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/indirect/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/indirect/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/indirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/indirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..db7f79b80 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/indirect/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/lib/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..db7f79b80 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..0c195bfc9 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/output.txt @@ -0,0 +1,19 @@ + Asset Size Chunks Chunk Names + ../common/index.d.ts 42 bytes [emitted] + ../common/index.js 128 bytes [emitted] + ../common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + ../indirect/index.d.ts 84 bytes [emitted] + ../indirect/index.js 119 bytes [emitted] +../indirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] + ../lib/index.d.ts 84 bytes [emitted] + ../lib/index.js 119 bytes [emitted] + ../lib/tsconfig.tsbuildinfo 2.32 KiB [emitted] + ../utils/index.d.ts 39 bytes [emitted] + ../utils/index.js 169 bytes [emitted] + ../utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] + bundle.js 5.48 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 41 bytes {main} [built] +[../lib/index.ts] 55 bytes {main} [built] +[../utils/index.ts] 169 bytes {main} [built] +[./app.ts] 184 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/app/bundle.js new file mode 100644 index 000000000..1952eb33b --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/common/index.js new file mode 100644 index 000000000..4fafb1dd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 35; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4ff9d016e --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..6fd7eb1b6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../common/index.d.ts 42 bytes [emitted] + ../common/index.js 128 bytes [emitted] +../common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + bundle.js 5.29 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 169 bytes {main} [built] +[./app.ts] 184 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/app/bundle.js new file mode 100644 index 000000000..b005a7d9d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..275922343 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../utils/index.d.ts 81 bytes [emitted] + ../utils/index.js 249 bytes [emitted] +../utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] + bundle.js 5.57 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 41 bytes {main} +[../lib/index.ts] 55 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 184 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/utils/index.d.ts new file mode 100644 index 000000000..6ab3917bc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/utils/index.d.ts @@ -0,0 +1,2 @@ +export declare function utils(): void; +export declare function utils2(): string; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/utils/index.js new file mode 100644 index 000000000..2ebba61c6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/utils/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.utils2 = exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; +function utils2() { return "hello"; } +exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..6d66903d8 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch1/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a", + "signature": "965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch2/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch2/app/bundle.js new file mode 100644 index 000000000..fa5a91bbf --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch2/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch2/output.txt new file mode 100644 index 000000000..2b17e5ae9 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch2/output.txt @@ -0,0 +1,7 @@ + Asset Size Chunks Chunk Names +bundle.js 5.58 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 41 bytes {main} +[../lib/index.ts] 55 bytes {main} +[../utils/index.ts] 249 bytes {main} +[./app.ts] 202 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch3/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch3/app/bundle.js new file mode 100644 index 000000000..fa5a91bbf --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch3/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch3/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch3/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5f2469453 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch3/common/tsconfig.tsbuildinfo @@ -0,0 +1,73 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "8dc151219b7f551da173dd2304fc01ffc31268701f42ee5f65b0b30138d4dd3c", + "signature": "233a16e654a6b6507aca0421baacb8e3a0bb95be0c1818690f06f86119b0bc43", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 37, + "length": 10, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch3/output.txt new file mode 100644 index 000000000..cbffd9cda --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch3/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names +../common/tsconfig.tsbuildinfo 2.68 KiB [emitted] + bundle.js 5.39 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] [1 error] +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 202 bytes {main} [built] + +ERROR in common/index.ts +../common/index.ts +[tsl] ERROR in common/index.ts(2,3) + TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/app/bundle.js new file mode 100644 index 000000000..fa5a91bbf --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/common/index.js new file mode 100644 index 000000000..4fafb1dd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 35; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4ff9d016e --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/output.txt new file mode 100644 index 000000000..9a0bbe11c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../common/index.d.ts 42 bytes [emitted] + ../common/index.js 128 bytes [emitted] +../common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + bundle.js 5.39 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 202 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch5/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch5/app/bundle.js new file mode 100644 index 000000000..fa5a91bbf --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch5/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch5/output.txt new file mode 100644 index 000000000..47669f95b --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch5/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names +../utils/tsconfig.tsbuildinfo 3.02 KiB [emitted] + bundle.js 5.39 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] [1 error] +[./app.ts] 202 bytes {main} [built] + +ERROR in utils/index.ts +../utils/index.ts +[tsl] ERROR in utils/index.ts(5,36) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch5/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch5/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2ada6a56e --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch5/utils/tsconfig.tsbuildinfo @@ -0,0 +1,83 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "5f3b60afa134ead3910d0edb722e281f51797b8747253688a08bced01be97e19", + "signature": "b45004303c96a0df80573d7d8505f23f55598a904ccea3781900f27f32ee56b2", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 111, + "length": 15, + "code": 2322, + "category": 1, + "messageText": "Type 'string' is not assignable to type 'number'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/app/bundle.js new file mode 100644 index 000000000..fa5a91bbf --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/output.txt new file mode 100644 index 000000000..4a30e8107 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../utils/index.d.ts 81 bytes [emitted] + ../utils/index.js 249 bytes [emitted] +../utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] + bundle.js 5.58 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 41 bytes {main} +[../lib/index.ts] 55 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 202 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/utils/index.d.ts new file mode 100644 index 000000000..6ab3917bc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/utils/index.d.ts @@ -0,0 +1,2 @@ +export declare function utils(): void; +export declare function utils2(): string; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/utils/index.js new file mode 100644 index 000000000..2ebba61c6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/utils/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.utils2 = exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; +function utils2() { return "hello"; } +exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..6d66903d8 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/patch6/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a", + "signature": "965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/utils/index.d.ts new file mode 100644 index 000000000..590545c75 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/utils/index.d.ts @@ -0,0 +1 @@ +export declare function utils(): void; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/utils/index.js new file mode 100644 index 000000000..7cde7e732 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/utils/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9302ddcb9 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.0/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088", + "signature": "2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/app/bundle.js new file mode 100644 index 000000000..d8c5605b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/common/index.js new file mode 100644 index 000000000..c561b2cc0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 30; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..011d400c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/indirect/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/indirect/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/indirect/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/indirect/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/indirect/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/indirect/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/indirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/indirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..6e877d173 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/indirect/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..6e877d173 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..a16ead0aa --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,19 @@ + Asset Size Chunks Chunk Names + ../common/index.d.ts 42 bytes [emitted] + ../common/index.js 128 bytes [emitted] + ../common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + ../indirect/index.d.ts 84 bytes [emitted] + ../indirect/index.js 119 bytes [emitted] +../indirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] + ../lib/index.d.ts 84 bytes [emitted] + ../lib/index.js 119 bytes [emitted] + ../lib/tsconfig.tsbuildinfo 2.32 KiB [emitted] + ../utils/index.d.ts 39 bytes [emitted] + ../utils/index.js 169 bytes [emitted] + ../utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] + bundle.js 5.33 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] +[../lib/index.ts] 119 bytes {main} [built] +[../utils/index.ts] 169 bytes {main} [built] +[./app.ts] 220 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/app/bundle.js new file mode 100644 index 000000000..d125d00b2 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/common/index.js new file mode 100644 index 000000000..4fafb1dd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 35; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d76b2b407 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..697009cc5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../common/index.d.ts 42 bytes [emitted] + ../common/index.js 128 bytes [emitted] +../common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + bundle.js 5.33 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 169 bytes {main} [built] +[./app.ts] 220 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/app/bundle.js new file mode 100644 index 000000000..242b1aa29 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..c1609783f --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../utils/index.d.ts 81 bytes [emitted] + ../utils/index.js 249 bytes [emitted] +../utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] + bundle.js 5.41 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 220 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/utils/index.d.ts new file mode 100644 index 000000000..6ab3917bc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/utils/index.d.ts @@ -0,0 +1,2 @@ +export declare function utils(): void; +export declare function utils2(): string; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/utils/index.js new file mode 100644 index 000000000..2ebba61c6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/utils/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.utils2 = exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; +function utils2() { return "hello"; } +exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..972284e1f --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch1/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a", + "signature": "965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch2/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch2/app/bundle.js new file mode 100644 index 000000000..488ec7463 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch2/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch2/output.txt new file mode 100644 index 000000000..08eb706eb --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch2/output.txt @@ -0,0 +1,7 @@ + Asset Size Chunks Chunk Names +bundle.js 5.43 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} +[./app.ts] 238 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/app/bundle.js new file mode 100644 index 000000000..488ec7463 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5f2469453 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/common/tsconfig.tsbuildinfo @@ -0,0 +1,73 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "8dc151219b7f551da173dd2304fc01ffc31268701f42ee5f65b0b30138d4dd3c", + "signature": "233a16e654a6b6507aca0421baacb8e3a0bb95be0c1818690f06f86119b0bc43", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 37, + "length": 10, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/output.txt new file mode 100644 index 000000000..4ab09263e --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +../common/tsconfig.tsbuildinfo 2.68 KiB [emitted] + bundle.js 5.43 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 238 bytes {main} [built] [1 error] + +ERROR in [tsl] ERROR in common/index.ts(2,3) + TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/app/bundle.js new file mode 100644 index 000000000..488ec7463 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/common/index.js new file mode 100644 index 000000000..4fafb1dd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 35; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d76b2b407 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/output.txt new file mode 100644 index 000000000..92c7c2484 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../common/index.d.ts 42 bytes [emitted] + ../common/index.js 128 bytes [emitted] +../common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + bundle.js 5.43 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 238 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/app/bundle.js new file mode 100644 index 000000000..488ec7463 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/output.txt new file mode 100644 index 000000000..2c60e9657 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +../utils/tsconfig.tsbuildinfo 3.02 KiB [emitted] + bundle.js 5.43 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 238 bytes {main} [built] [1 error] + +ERROR in [tsl] ERROR in utils/index.ts(5,36) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2ada6a56e --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/utils/tsconfig.tsbuildinfo @@ -0,0 +1,83 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "5f3b60afa134ead3910d0edb722e281f51797b8747253688a08bced01be97e19", + "signature": "b45004303c96a0df80573d7d8505f23f55598a904ccea3781900f27f32ee56b2", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 111, + "length": 15, + "code": 2322, + "category": 1, + "messageText": "Type 'string' is not assignable to type 'number'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/app/bundle.js new file mode 100644 index 000000000..488ec7463 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/output.txt new file mode 100644 index 000000000..13a346cbc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../utils/index.d.ts 81 bytes [emitted] + ../utils/index.js 249 bytes [emitted] +../utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] + bundle.js 5.43 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 238 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/utils/index.d.ts new file mode 100644 index 000000000..6ab3917bc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/utils/index.d.ts @@ -0,0 +1,2 @@ +export declare function utils(): void; +export declare function utils2(): string; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/utils/index.js new file mode 100644 index 000000000..2ebba61c6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/utils/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.utils2 = exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; +function utils2() { return "hello"; } +exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..972284e1f --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a", + "signature": "965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/utils/index.d.ts new file mode 100644 index 000000000..590545c75 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/utils/index.d.ts @@ -0,0 +1 @@ +export declare function utils(): void; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/utils/index.js new file mode 100644 index 000000000..7cde7e732 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/utils/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..615ebd8f0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088", + "signature": "2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.0/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.0/bundle.js deleted file mode 100644 index 7c5f9bb80..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/foo.ts": -/*!********************!*\ - !*** ./lib/foo.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n // I am adding this comment here by hand to ensure\n // Webpack is using the JS output for project references\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.0/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.0/output.txt deleted file mode 100644 index 3b520c332..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/foo.ts] 62 bytes {main} [built] -[./lib/index.ts] 263 bytes {main} [built] [1 warning] - -WARNING in ./lib/index.ts -Module Warning (from /index.js): -Could not find source map file for referenced project output lib\index.js. Ensure the 'sourceMap' compiler option is enabled in lib\tsconfig.json to ensure Webpack can map project references to the appropriate source files. - @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.1/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.1/bundle.js deleted file mode 100644 index 7c5f9bb80..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/foo.ts": -/*!********************!*\ - !*** ./lib/foo.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n // I am adding this comment here by hand to ensure\n // Webpack is using the JS output for project references\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.1/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.1/output.txt deleted file mode 100644 index 3b520c332..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/foo.ts] 62 bytes {main} [built] -[./lib/index.ts] 263 bytes {main} [built] [1 warning] - -WARNING in ./lib/index.ts -Module Warning (from /index.js): -Could not find source map file for referenced project output lib\index.js. Ensure the 'sourceMap' compiler option is enabled in lib\tsconfig.json to ensure Webpack can map project references to the appropriate source files. - @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.2/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.2/bundle.js deleted file mode 100644 index 7c5f9bb80..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/foo.ts": -/*!********************!*\ - !*** ./lib/foo.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n // I am adding this comment here by hand to ensure\n // Webpack is using the JS output for project references\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.2/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.2/output.txt deleted file mode 100644 index 3b520c332..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/foo.ts] 62 bytes {main} [built] -[./lib/index.ts] 263 bytes {main} [built] [1 warning] - -WARNING in ./lib/index.ts -Module Warning (from /index.js): -Could not find source map file for referenced project output lib\index.js. Ensure the 'sourceMap' compiler option is enabled in lib\tsconfig.json to ensure Webpack can map project references to the appropriate source files. - @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.3/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.3/bundle.js deleted file mode 100644 index 7c5f9bb80..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/foo.ts": -/*!********************!*\ - !*** ./lib/foo.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n // I am adding this comment here by hand to ensure\n // Webpack is using the JS output for project references\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.3/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.3/output.txt deleted file mode 100644 index 3b520c332..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/foo.ts] 62 bytes {main} [built] -[./lib/index.ts] 263 bytes {main} [built] [1 warning] - -WARNING in ./lib/index.ts -Module Warning (from /index.js): -Could not find source map file for referenced project output lib\index.js. Ensure the 'sourceMap' compiler option is enabled in lib\tsconfig.json to ensure Webpack can map project references to the appropriate source files. - @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.4/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.4/bundle.js deleted file mode 100644 index 7c5f9bb80..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/foo.ts": -/*!********************!*\ - !*** ./lib/foo.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n // I am adding this comment here by hand to ensure\n // Webpack is using the JS output for project references\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.4/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.4/output.txt deleted file mode 100644 index 3b520c332..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/foo.ts] 62 bytes {main} [built] -[./lib/index.ts] 263 bytes {main} [built] [1 warning] - -WARNING in ./lib/index.ts -Module Warning (from /index.js): -Could not find source map file for referenced project output lib\index.js. Ensure the 'sourceMap' compiler option is enabled in lib\tsconfig.json to ensure Webpack can map project references to the appropriate source files. - @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.5/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.5/bundle.js deleted file mode 100644 index 7c5f9bb80..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/foo.ts": -/*!********************!*\ - !*** ./lib/foo.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n // I am adding this comment here by hand to ensure\n // Webpack is using the JS output for project references\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.5/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.5/output.txt deleted file mode 100644 index 3b520c332..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.79 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/foo.ts] 62 bytes {main} [built] -[./lib/index.ts] 263 bytes {main} [built] [1 warning] - -WARNING in ./lib/index.ts -Module Warning (from /index.js): -Could not find source map file for referenced project output lib\index.js. Ensure the 'sourceMap' compiler option is enabled in lib\tsconfig.json to ensure Webpack can map project references to the appropriate source files. - @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..8f11986c9 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/foo.ts": +/*!********************!*\ + !*** ./lib/foo.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.foo = void 0;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/foo.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/foo.d.ts new file mode 100644 index 000000000..07265a895 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/foo.d.ts @@ -0,0 +1 @@ +export declare const foo = "foo"; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/foo.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/foo.js new file mode 100644 index 000000000..33e8d8400 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/foo.js @@ -0,0 +1,4 @@ +"use strict"; +exports.__esModule = true; +exports.foo = void 0; +exports.foo = 'foo'; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..b05ab0fd1 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + foo: string; +}; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..36ee96b86 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var foo_1 = require("./foo"); +exports.lib = { + one: 1, + two: 2, + three: 3, + foo: foo_1.foo +}; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..aa6c9d82a --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./foo.ts": { + "version": "a43230ea8da8a5ab3adc7b12f9eb9d65d1d1e5c87896fb2d8747a1a3f7a3f759", + "signature": "4c57bbad758e31eeba3abc8e95e00dbac67b9581c2e7d02884ffb14c672b1520", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "582b90393f0a99a0e2da27ccff010fe0b914246cc25e49da7e760543b0789cf8", + "signature": "822618dba4b9d398326f33458039773f2c32dc8940c6134ce0b019b1ff20d068", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./foo.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./foo.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..df257b2e9 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + bundle.js 4.72 KiB main [emitted] main + lib/foo.d.ts 34 bytes [emitted] + lib/foo.js 84 bytes [emitted] + lib/index.d.ts 101 bytes [emitted] + lib/index.js 169 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.62 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/foo.ts] 84 bytes {main} [built] +[./lib/index.ts] 169 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..0afd5f908 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/foo.ts": +/*!********************!*\ + !*** ./lib/foo.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.foo = void 0;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/foo.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/foo.d.ts new file mode 100644 index 000000000..07265a895 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/foo.d.ts @@ -0,0 +1 @@ +export declare const foo = "foo"; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/foo.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/foo.js new file mode 100644 index 000000000..33e8d8400 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/foo.js @@ -0,0 +1,4 @@ +"use strict"; +exports.__esModule = true; +exports.foo = void 0; +exports.foo = 'foo'; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..b05ab0fd1 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + foo: string; +}; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..36ee96b86 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var foo_1 = require("./foo"); +exports.lib = { + one: 1, + two: 2, + three: 3, + foo: foo_1.foo +}; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..423694bac --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./foo.ts": { + "version": "a43230ea8da8a5ab3adc7b12f9eb9d65d1d1e5c87896fb2d8747a1a3f7a3f759", + "signature": "4c57bbad758e31eeba3abc8e95e00dbac67b9581c2e7d02884ffb14c672b1520", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "582b90393f0a99a0e2da27ccff010fe0b914246cc25e49da7e760543b0789cf8", + "signature": "822618dba4b9d398326f33458039773f2c32dc8940c6134ce0b019b1ff20d068", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./foo.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./foo.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..413c5462f --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + bundle.js 4.76 KiB main [emitted] main + lib/foo.d.ts 34 bytes [emitted] + lib/foo.js 84 bytes [emitted] + lib/index.d.ts 101 bytes [emitted] + lib/index.js 169 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.62 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/foo.ts] 84 bytes {main} [built] +[./lib/index.ts] 169 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/bundle.js deleted file mode 100644 index 427a6d198..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: Could not find output JavaScript file for input lib//index.ts (looked at lib//index.js)./nThe input file is part of a project reference located at lib//tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references./n at successLoader (C://source//ts-loader//dist//index.js:46:19)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 3f4eadd56..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.68 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] [1 error] -[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'. - -ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: Could not find output JavaScript file for input lib\index.ts (looked at lib\index.js). -The input file is part of a project reference located at lib\tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references. - at successLoader (dist\index.js:46:19) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/output.txt deleted file mode 100644 index 947affc5e..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.68 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] - -ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: Could not find output JavaScript file for input lib\index.ts (looked at lib\index.js). -The input file is part of a project reference located at lib\tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references. - at successLoader (dist\index.js:46:19) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:12-28 - -ERROR in tsconfig.json -[tsl] ERROR - TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.1/bundle.js deleted file mode 100644 index 427a6d198..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: Could not find output JavaScript file for input lib//index.ts (looked at lib//index.js)./nThe input file is part of a project reference located at lib//tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references./n at successLoader (C://source//ts-loader//dist//index.js:46:19)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 3f4eadd56..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.68 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] [1 error] -[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'. - -ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: Could not find output JavaScript file for input lib\index.ts (looked at lib\index.js). -The input file is part of a project reference located at lib\tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references. - at successLoader (dist\index.js:46:19) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.1/output.txt deleted file mode 100644 index 947affc5e..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.68 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] - -ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: Could not find output JavaScript file for input lib\index.ts (looked at lib\index.js). -The input file is part of a project reference located at lib\tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references. - at successLoader (dist\index.js:46:19) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:12-28 - -ERROR in tsconfig.json -[tsl] ERROR - TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.2/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.2/bundle.js deleted file mode 100644 index 427a6d198..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: Could not find output JavaScript file for input lib//index.ts (looked at lib//index.js)./nThe input file is part of a project reference located at lib//tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references./n at successLoader (C://source//ts-loader//dist//index.js:46:19)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 3f4eadd56..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.68 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] [1 error] -[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'. - -ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: Could not find output JavaScript file for input lib\index.ts (looked at lib\index.js). -The input file is part of a project reference located at lib\tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references. - at successLoader (dist\index.js:46:19) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.2/output.txt deleted file mode 100644 index 947affc5e..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.68 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] - -ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: Could not find output JavaScript file for input lib\index.ts (looked at lib\index.js). -The input file is part of a project reference located at lib\tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references. - at successLoader (dist\index.js:46:19) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:12-28 - -ERROR in tsconfig.json -[tsl] ERROR - TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.3/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.3/bundle.js deleted file mode 100644 index 427a6d198..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: Could not find output JavaScript file for input lib//index.ts (looked at lib//index.js)./nThe input file is part of a project reference located at lib//tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references./n at successLoader (C://source//ts-loader//dist//index.js:46:19)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 3f4eadd56..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.68 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] [1 error] -[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'. - -ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: Could not find output JavaScript file for input lib\index.ts (looked at lib\index.js). -The input file is part of a project reference located at lib\tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references. - at successLoader (dist\index.js:46:19) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.3/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.3/output.txt deleted file mode 100644 index 947affc5e..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.68 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] - -ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: Could not find output JavaScript file for input lib\index.ts (looked at lib\index.js). -The input file is part of a project reference located at lib\tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references. - at successLoader (dist\index.js:46:19) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:12-28 - -ERROR in tsconfig.json -[tsl] ERROR - TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.4/bundle.js deleted file mode 100644 index 427a6d198..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: Could not find output JavaScript file for input lib//index.ts (looked at lib//index.js)./nThe input file is part of a project reference located at lib//tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references./n at successLoader (C://source//ts-loader//dist//index.js:46:19)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 3f4eadd56..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.68 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] [1 error] -[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'. - -ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: Could not find output JavaScript file for input lib\index.ts (looked at lib\index.js). -The input file is part of a project reference located at lib\tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references. - at successLoader (dist\index.js:46:19) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.4/output.txt deleted file mode 100644 index 947affc5e..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.68 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] - -ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: Could not find output JavaScript file for input lib\index.ts (looked at lib\index.js). -The input file is part of a project reference located at lib\tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references. - at successLoader (dist\index.js:46:19) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:12-28 - -ERROR in tsconfig.json -[tsl] ERROR - TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.5/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.5/bundle.js deleted file mode 100644 index 427a6d198..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: Could not find output JavaScript file for input lib//index.ts (looked at lib//index.js)./nThe input file is part of a project reference located at lib//tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references./n at successLoader (C://source//ts-loader//dist//index.js:46:19)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 3f4eadd56..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.68 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] [1 error] -[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] - -ERROR in tsconfig.json -[tsl] ERROR - TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'. - -ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: Could not find output JavaScript file for input lib\index.ts (looked at lib\index.js). -The input file is part of a project reference located at lib\tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references. - at successLoader (dist\index.js:46:19) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.5/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.5/output.txt deleted file mode 100644 index 947affc5e..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.68 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] - -ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: Could not find output JavaScript file for input lib\index.ts (looked at lib\index.js). -The input file is part of a project reference located at lib\tsconfig.json, so ts-loader is looking for the project’s pre-built output on disk. Try running `tsc --build` to build project references. - at successLoader (dist\index.js:46:19) - at Object.loader (dist\index.js:22:12) - @ ./app.ts 3:12-28 - -ERROR in tsconfig.json -[tsl] ERROR - TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..8cfb6d671 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..ceca3b200 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..f83b087db --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..65900d9c6 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-427854485299", + "signature": "-427854485299", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "-62302669703", + "signature": "-62302669703", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "12503634626", + "signature": "12503634626", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..f14744d77 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..8cfb6d671 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..67bf67e8a --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.0/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + bundle.js 4.32 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 147 bytes {main} [built] [1 error] +[./lib/index.ts] 119 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,46) + TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..9e0baa9e5 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..5b787614d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.36 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 183 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..f14744d77 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..7d6aa5942 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,16 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.32 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 147 bytes {main} [built] [1 error] +[./lib/index.ts] 119 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,46) + TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0ee964e96 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-427854485299", + "signature": "-427854485299", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "-62302669703", + "signature": "-62302669703", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "12503634626", + "signature": "12503634626", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-18375343467", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..9e0baa9e5 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..5b787614d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.36 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 183 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..f14744d77 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..67bf67e8a --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + bundle.js 4.32 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 147 bytes {main} [built] [1 error] +[./lib/index.ts] 119 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,46) + TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..9e0baa9e5 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..5b787614d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.36 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 183 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..2de543f28 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: TypeScript emitted no output for C://source//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://source//ts-loader//dist//index.js:80:15)/n at successLoader (C://source//ts-loader//dist//index.js:68:9)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..ec9293c48 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,78 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 61, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..308bdf111 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.0/output.txt @@ -0,0 +1,19 @@ + Asset Size Chunks Chunk Names + bundle.js 4.65 KiB main [emitted] main +lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 500 bytes {main} [built] [failed] [2 errors] + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:54:18) + at successLoader (dist/index.js:41:5) + at Object.loader (dist/index.js:24:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..6662c6243 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:54:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:41:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:24:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..ec9293c48 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,78 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 61, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..5ea3563d7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,17 @@ + Asset Size Chunks Chunk Names + bundle.js 4.7 KiB main [emitted] main +lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] [1 error] +[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] + +ERROR in [tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:54:18) + at successLoader (dist/index.js:41:5) + at Object.loader (dist/index.js:24:5) + @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..525d69c5a --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: TypeScript emitted no output for C://source//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://source//ts-loader//dist//index.js:80:15)/n at successLoader (C://source//ts-loader//dist//index.js:68:9)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..70268d354 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,21 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.67 KiB main [emitted] main +lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] + tsconfig.tsbuildinfo 1.36 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 519 bytes {main} [built] [failed] [2 errors] + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:54:18) + at successLoader (dist/index.js:41:5) + at Object.loader (dist/index.js:24:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..bd9a0a707 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo @@ -0,0 +1,48 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-218882352090", + "signature": "-218882352090", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "300634082611", + "signature": "300634082611", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..af06bdb18 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:54:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:41:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:24:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..786bc608b --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: TypeScript emitted no output for C://source//ts-loader//.test//projectReferencesNotBuilt_SemanticErrorInReference_WatchApi//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://source//ts-loader//dist//index.js:80:15)/n at successLoader (C://source//ts-loader//dist//index.js:68:9)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..0f714194c --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,19 @@ + Asset Size Chunks Chunk Names + bundle.js 4.66 KiB main [emitted] main +lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 509 bytes {main} [built] [failed] [2 errors] + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:54:18) + at successLoader (dist/index.js:41:5) + at Object.loader (dist/index.js:24:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..a6294a27f --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:54:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:41:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:24:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..ae5f02974 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: TypeScript emitted no output for C://source//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://source//ts-loader//dist//index.js:80:15)/n at successLoader (C://source//ts-loader//dist//index.js:68:9)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..a474c3fb3 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.0/output.txt @@ -0,0 +1,18 @@ + Asset Size Chunks Chunk Names +bundle.js 4.69 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 507 bytes {main} [built] [failed] [2 errors] + +ERROR in ./lib/index.ts +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:80:15) + at successLoader (dist\index.js:68:9) + at Object.loader (dist\index.js:22:12) + @ ./app.ts 3:12-28 + +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(4,12) + TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..7a76f03e4 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:54:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:41:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:24:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..d3221a04d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,16 @@ + Asset Size Chunks Chunk Names +bundle.js 4.7 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] [1 error] +[./lib/index.ts] 508 bytes {main} [built] [failed] [1 error] + +ERROR in [tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:54:18) + at successLoader (dist/index.js:41:5) + at Object.loader (dist/index.js:24:5) + @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..77ce4ad67 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: TypeScript emitted no output for C://source//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://source//ts-loader//dist//index.js:80:15)/n at successLoader (C://source//ts-loader//dist//index.js:68:9)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..f58157d6d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,20 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.66 KiB main [emitted] main +tsconfig.tsbuildinfo 1.36 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 507 bytes {main} [built] [failed] [2 errors] + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:54:18) + at successLoader (dist/index.js:41:5) + at Object.loader (dist/index.js:24:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..bd9a0a707 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo @@ -0,0 +1,48 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-218882352090", + "signature": "-218882352090", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "300634082611", + "signature": "300634082611", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..ceec14d4e --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:54:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:41:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:24:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..e8ade93f0 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: TypeScript emitted no output for C://source//ts-loader//.test//projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi//lib//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (C://source//ts-loader//dist//index.js:80:15)/n at successLoader (C://source//ts-loader//dist//index.js:68:9)/n at Object.loader (C://source//ts-loader//dist//index.js:22:12)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..e5b3f72ab --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,18 @@ + Asset Size Chunks Chunk Names +bundle.js 4.7 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 516 bytes {main} [built] [failed] [2 errors] + +ERROR in ./lib/index.ts +Module build failed (from /index.js): +Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist\index.js:80:15) + at successLoader (dist\index.js:68:9) + at Object.loader (dist\index.js:22:12) + @ ./app.ts 3:12-28 + +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(4,12) + TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..e6ab7681f --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:54:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:41:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:24:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..ceca3b200 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.0/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.0/bundle.js deleted file mode 100644 index 0f1d8bc9b..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 5d7048512..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.28 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 97 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.0/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.0/output.txt deleted file mode 100644 index 5d7048512..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.28 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 97 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.1/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.1/bundle.js deleted file mode 100644 index 0f1d8bc9b..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 5d7048512..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.28 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 97 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.1/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.1/output.txt deleted file mode 100644 index 5d7048512..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.28 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 97 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.2/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.2/bundle.js deleted file mode 100644 index 0f1d8bc9b..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 5d7048512..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.28 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 97 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.2/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.2/output.txt deleted file mode 100644 index 5d7048512..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.28 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 97 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/bundle.js deleted file mode 100644 index 0f1d8bc9b..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/bundle.transpiled.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/bundle.transpiled.js deleted file mode 100644 index 0f1d8bc9b..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/bundle.transpiled.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 5d7048512..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.28 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 97 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/output.txt deleted file mode 100644 index 5d7048512..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.28 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 97 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/bundle.js deleted file mode 100644 index 0f1d8bc9b..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/bundle.transpiled.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/bundle.transpiled.js deleted file mode 100644 index 0f1d8bc9b..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/bundle.transpiled.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 5d7048512..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.28 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 97 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/output.txt deleted file mode 100644 index 5d7048512..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.28 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 97 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/bundle.js deleted file mode 100644 index 0f1d8bc9b..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/bundle.transpiled.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/bundle.transpiled.js deleted file mode 100644 index 0f1d8bc9b..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/bundle.transpiled.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 5d7048512..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.28 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 97 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/output.txt deleted file mode 100644 index 5d7048512..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.28 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 131 bytes {main} [built] -[./lib/index.ts] 97 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/index.js.map new file mode 100644 index 000000000..bd8517f9b --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0eb25c269 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..519abe0d7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.3 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 152 bytes [emitted] + lib/out/index.js.map 191 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/index.js.map new file mode 100644 index 000000000..bd8517f9b --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4023dcd90 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..12e21e4d1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 152 bytes [emitted] + lib/out/index.js.map 191 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..792e39e13 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/index.js.map new file mode 100644 index 000000000..bd8517f9b --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0eb25c269 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..fe096d523 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.36 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 152 bytes [emitted] + lib/out/index.js.map 191 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/out/index.js] 152 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..4bad700aa --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/index.js.map new file mode 100644 index 000000000..da47828f7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9f17945f9 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..828b1eb96 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.39 KiB main [emitted] main + lib/out/index.d.ts 102 bytes [emitted] + lib/out/index.js 183 bytes [emitted] + lib/out/index.js.map 224 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch1/bundle.js new file mode 100644 index 000000000..e0edf07a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..5047215c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.43 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch2/bundle.js new file mode 100644 index 000000000..e0edf07a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch2/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch2/output.txt new file mode 100644 index 000000000..13cd750b8 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch2/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names +bundle.js 4.43 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} + +ERROR in lib\index.ts +[tsl] ERROR in lib\index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in lib\index.ts +[tsl] ERROR in lib\index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/bundle.js new file mode 100644 index 000000000..e0edf07a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/index.js.map new file mode 100644 index 000000000..6f1b651a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..558fb4544 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/output.txt new file mode 100644 index 000000000..62709cf4f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.43 KiB main [emitted] main + lib/out/index.d.ts 120 bytes [emitted] + lib/out/index.js 178 bytes [emitted] + lib/out/index.js.map 231 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch4/bundle.js new file mode 100644 index 000000000..c4af1b158 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch4/output.txt new file mode 100644 index 000000000..2d914655a --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.44 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 186 bytes {main} [built] [1 error] +[./lib/out/index.js] 178 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch5/bundle.js new file mode 100644 index 000000000..08fa55bd4 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch5/output.txt new file mode 100644 index 000000000..9eee18097 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.0/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.44 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 185 bytes {main} [built] +[./lib/out/index.js] 178 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..573327ca6 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/index.js.map new file mode 100644 index 000000000..bd8517f9b --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4023dcd90 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..54313a0fc --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.4 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 152 bytes [emitted] + lib/out/index.js.map 191 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/out/index.js] 152 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..4b58d689a --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/index.js.map new file mode 100644 index 000000000..da47828f7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..645e1aade --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..cdd3e7096 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.43 KiB main [emitted] main + lib/out/index.d.ts 102 bytes [emitted] + lib/out/index.js 183 bytes [emitted] + lib/out/index.js.map 224 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..d1901ba32 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..45ca4d5f4 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.46 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch2/output.txt new file mode 100644 index 000000000..99028a1de --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch2/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.46 KiB main main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] [2 errors] +[./lib/out/index.js] 183 bytes {main} + +ERROR in [tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in [tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/index.js.map new file mode 100644 index 000000000..6f1b651a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e94c835c7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/output.txt new file mode 100644 index 000000000..a518dadaa --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.46 KiB main main + lib/out/index.d.ts 120 bytes [emitted] + lib/out/index.js 178 bytes [emitted] + lib/out/index.js.map 231 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch4/bundle.js new file mode 100644 index 000000000..5ea6d562c --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch4/output.txt new file mode 100644 index 000000000..e2e95d648 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch4/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.48 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 222 bytes {main} [built] +[./lib/out/index.js] 178 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch5/bundle.js new file mode 100644 index 000000000..632383519 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch5/output.txt new file mode 100644 index 000000000..450b169d1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.0/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.48 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 221 bytes {main} [built] +[./lib/out/index.js] 178 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..792e39e13 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..07231c09e --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.34 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/out/index.js] 130 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..792e39e13 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/index.js.map new file mode 100644 index 000000000..da47828f7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9f17945f9 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..8057c0d84 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.36 KiB main [emitted] main + lib/out/index.d.ts 102 bytes [emitted] + lib/out/index.js 183 bytes [emitted] + lib/out/index.js.map 224 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/out/index.js] 152 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch1/bundle.js new file mode 100644 index 000000000..e0edf07a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..4f26ba788 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.4 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/out/index.js] 161 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch2/bundle.js new file mode 100644 index 000000000..e0edf07a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch2/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch2/output.txt new file mode 100644 index 000000000..b6af07923 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch2/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names +bundle.js 4.4 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/out/index.js] 161 bytes {main} + +ERROR in lib\index.ts +[tsl] ERROR in lib\index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in lib\index.ts +[tsl] ERROR in lib\index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/bundle.js new file mode 100644 index 000000000..e0edf07a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/index.js.map new file mode 100644 index 000000000..6f1b651a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..558fb4544 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/output.txt new file mode 100644 index 000000000..62709cf4f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.43 KiB main [emitted] main + lib/out/index.d.ts 120 bytes [emitted] + lib/out/index.js 178 bytes [emitted] + lib/out/index.js.map 231 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch4/bundle.js new file mode 100644 index 000000000..c4af1b158 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch4/output.txt new file mode 100644 index 000000000..337d531c9 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 186 bytes {main} [built] [1 error] +[./lib/out/index.js] 156 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch5/bundle.js new file mode 100644 index 000000000..08fa55bd4 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch5/output.txt new file mode 100644 index 000000000..eed2af970 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.0/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 185 bytes {main} [built] +[./lib/out/index.js] 156 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..573327ca6 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..332ae20d1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.4 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/out/index.js] 152 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..d1901ba32 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..45ca4d5f4 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.46 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch2/output.txt new file mode 100644 index 000000000..99028a1de --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch2/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.46 KiB main main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] [2 errors] +[./lib/out/index.js] 183 bytes {main} + +ERROR in [tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in [tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/index.js.map new file mode 100644 index 000000000..6f1b651a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e94c835c7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/output.txt new file mode 100644 index 000000000..a518dadaa --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.46 KiB main main + lib/out/index.d.ts 120 bytes [emitted] + lib/out/index.js 178 bytes [emitted] + lib/out/index.js.map 231 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch4/bundle.js new file mode 100644 index 000000000..5ea6d562c --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch4/output.txt new file mode 100644 index 000000000..e2e95d648 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch4/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.48 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 222 bytes {main} [built] +[./lib/out/index.js] 178 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch5/bundle.js new file mode 100644 index 000000000..632383519 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch5/output.txt new file mode 100644 index 000000000..450b169d1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.0/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.48 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 221 bytes {main} [built] +[./lib/out/index.js] 178 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.1/bundle.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.1/bundle.js deleted file mode 100644 index 5b92811cd..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/src/index.ts": -/*!**************************!*\ - !*** ./lib/src/index.ts ***! - \**************************/ -/*! exports provided: lib */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/src/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.1/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.1/output.txt deleted file mode 100644 index a4653b242..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.69 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 81 bytes {main} [built] -[./lib/src/index.ts] 94 bytes {main} [built] [1 warning] - -WARNING in ./lib/src/index.ts -Module Warning (from /index.js): -Could not find source map file for referenced project output lib\out\index.js. Ensure the 'sourceMap' compiler option is enabled in lib\tsconfig.json to ensure Webpack can map project references to the appropriate source files. - @ ./app.ts 1:0-38 2:12-15 2:21-24 2:30-33 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.2/bundle.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.2/bundle.js deleted file mode 100644 index 5b92811cd..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/src/index.ts": -/*!**************************!*\ - !*** ./lib/src/index.ts ***! - \**************************/ -/*! exports provided: lib */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/src/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.2/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.2/output.txt deleted file mode 100644 index a4653b242..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.69 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 81 bytes {main} [built] -[./lib/src/index.ts] 94 bytes {main} [built] [1 warning] - -WARNING in ./lib/src/index.ts -Module Warning (from /index.js): -Could not find source map file for referenced project output lib\out\index.js. Ensure the 'sourceMap' compiler option is enabled in lib\tsconfig.json to ensure Webpack can map project references to the appropriate source files. - @ ./app.ts 1:0-38 2:12-15 2:21-24 2:30-33 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.3/bundle.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.3/bundle.js deleted file mode 100644 index 5b92811cd..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/src/index.ts": -/*!**************************!*\ - !*** ./lib/src/index.ts ***! - \**************************/ -/*! exports provided: lib */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/src/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.3/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.3/output.txt deleted file mode 100644 index a4653b242..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.69 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 81 bytes {main} [built] -[./lib/src/index.ts] 94 bytes {main} [built] [1 warning] - -WARNING in ./lib/src/index.ts -Module Warning (from /index.js): -Could not find source map file for referenced project output lib\out\index.js. Ensure the 'sourceMap' compiler option is enabled in lib\tsconfig.json to ensure Webpack can map project references to the appropriate source files. - @ ./app.ts 1:0-38 2:12-15 2:21-24 2:30-33 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.4/bundle.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.4/bundle.js deleted file mode 100644 index 5b92811cd..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/src/index.ts": -/*!**************************!*\ - !*** ./lib/src/index.ts ***! - \**************************/ -/*! exports provided: lib */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/src/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.4/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.4/output.txt deleted file mode 100644 index a4653b242..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.69 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 81 bytes {main} [built] -[./lib/src/index.ts] 94 bytes {main} [built] [1 warning] - -WARNING in ./lib/src/index.ts -Module Warning (from /index.js): -Could not find source map file for referenced project output lib\out\index.js. Ensure the 'sourceMap' compiler option is enabled in lib\tsconfig.json to ensure Webpack can map project references to the appropriate source files. - @ ./app.ts 1:0-38 2:12-15 2:21-24 2:30-33 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.5/bundle.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.5/bundle.js deleted file mode 100644 index 5b92811cd..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/src/index.ts": -/*!**************************!*\ - !*** ./lib/src/index.ts ***! - \**************************/ -/*! exports provided: lib */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/src/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.5/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.5/output.txt deleted file mode 100644 index a4653b242..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.69 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 81 bytes {main} [built] -[./lib/src/index.ts] 94 bytes {main} [built] [1 warning] - -WARNING in ./lib/src/index.ts -Module Warning (from /index.js): -Could not find source map file for referenced project output lib\out\index.js. Ensure the 'sourceMap' compiler option is enabled in lib\tsconfig.json to ensure Webpack can map project references to the appropriate source files. - @ ./app.ts 1:0-38 2:12-15 2:21-24 2:30-33 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..562a533e8 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/src/index.ts": +/*!**************************!*\ + !*** ./lib/src/index.ts ***! + \**************************/ +/*! exports provided: lib */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\r\n one: 1,\r\n two: 2,\r\n three: 3\r\n};\r\n\n\n//# sourceURL=webpack:///./lib/src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/out/index.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/out/index.js new file mode 100644 index 000000000..601001a45 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/out/index.js @@ -0,0 +1,6 @@ +export const lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/out/index.js.map new file mode 100644 index 000000000..e54726f0a --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..59f435cbf --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,299 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.d.ts": { + "version": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "signature": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2016.d.ts": { + "version": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "signature": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2017.d.ts": { + "version": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "signature": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2018.d.ts": { + "version": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2019.d.ts": { + "version": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "signature": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2020.d.ts": { + "version": "666172ccd045546f9b6d099744da9b822357e393c9fe67c34d3f44eabdf15723", + "signature": "666172ccd045546f9b6d099744da9b822357e393c9fe67c34d3f44eabdf15723", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.esnext.d.ts": { + "version": "2f8f379dedbdbd96a38a1e445cb3919853a1157a950fd977f85808db8d0f8a58", + "signature": "2f8f379dedbdbd96a38a1e445cb3919853a1157a950fd977f85808db8d0f8a58", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts": { + "version": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", + "signature": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts": { + "version": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "signature": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts": { + "version": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "signature": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts": { + "version": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "signature": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts": { + "version": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", + "signature": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts": { + "version": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", + "signature": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts": { + "version": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", + "signature": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts": { + "version": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "signature": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts": { + "version": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "signature": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": { + "version": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", + "signature": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts": { + "version": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "signature": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts": { + "version": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "signature": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": { + "version": "b5e4c2d67aa844ed503b29cd4ca2ede1a229ac7fe874613b2c996fa9c581a25f", + "signature": "b5e4c2d67aa844ed503b29cd4ca2ede1a229ac7fe874613b2c996fa9c581a25f", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts": { + "version": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "signature": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts": { + "version": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "signature": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": { + "version": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "signature": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": { + "version": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "signature": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": { + "version": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "signature": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts": { + "version": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "signature": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts": { + "version": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "signature": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": { + "version": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts": { + "version": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "signature": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts": { + "version": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "signature": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts": { + "version": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "signature": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts": { + "version": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "signature": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": { + "version": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "signature": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts": { + "version": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "signature": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts": { + "version": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "signature": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": { + "version": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "signature": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts": { + "version": "905b020308ed3bd9cd2457f5a4def1844620d48020cec405cafb4e86b3194af1", + "signature": "905b020308ed3bd9cd2457f5a4def1844620d48020cec405cafb4e86b3194af1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts": { + "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts": { + "version": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "signature": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts": { + "version": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "signature": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts": { + "version": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "signature": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "target": 99, + "composite": true, + "sourceMap": true, + "outDir": "./out", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..f00d56ecc --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.65 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 94 bytes [emitted] + lib/out/index.js.map 202 bytes [emitted] +lib/tsconfig.tsbuildinfo 16.2 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 81 bytes {main} [built] +[./lib/src/index.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..4cd40bf50 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/src/index.ts": +/*!**************************!*\ + !*** ./lib/src/index.ts ***! + \**************************/ +/*! exports provided: lib */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/out/index.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/out/index.js new file mode 100644 index 000000000..601001a45 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/out/index.js @@ -0,0 +1,6 @@ +export const lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/out/index.js.map new file mode 100644 index 000000000..e54726f0a --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..59f435cbf --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,299 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.d.ts": { + "version": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "signature": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2016.d.ts": { + "version": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "signature": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2017.d.ts": { + "version": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "signature": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2018.d.ts": { + "version": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2019.d.ts": { + "version": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "signature": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2020.d.ts": { + "version": "666172ccd045546f9b6d099744da9b822357e393c9fe67c34d3f44eabdf15723", + "signature": "666172ccd045546f9b6d099744da9b822357e393c9fe67c34d3f44eabdf15723", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.esnext.d.ts": { + "version": "2f8f379dedbdbd96a38a1e445cb3919853a1157a950fd977f85808db8d0f8a58", + "signature": "2f8f379dedbdbd96a38a1e445cb3919853a1157a950fd977f85808db8d0f8a58", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts": { + "version": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", + "signature": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts": { + "version": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "signature": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts": { + "version": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "signature": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts": { + "version": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "signature": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts": { + "version": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", + "signature": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts": { + "version": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", + "signature": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts": { + "version": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", + "signature": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts": { + "version": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "signature": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts": { + "version": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "signature": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": { + "version": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", + "signature": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts": { + "version": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "signature": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts": { + "version": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "signature": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": { + "version": "b5e4c2d67aa844ed503b29cd4ca2ede1a229ac7fe874613b2c996fa9c581a25f", + "signature": "b5e4c2d67aa844ed503b29cd4ca2ede1a229ac7fe874613b2c996fa9c581a25f", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts": { + "version": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "signature": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts": { + "version": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "signature": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": { + "version": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "signature": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": { + "version": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "signature": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": { + "version": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "signature": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts": { + "version": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "signature": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts": { + "version": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "signature": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": { + "version": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts": { + "version": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "signature": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts": { + "version": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "signature": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts": { + "version": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "signature": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts": { + "version": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "signature": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": { + "version": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "signature": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts": { + "version": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "signature": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts": { + "version": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "signature": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": { + "version": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "signature": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts": { + "version": "905b020308ed3bd9cd2457f5a4def1844620d48020cec405cafb4e86b3194af1", + "signature": "905b020308ed3bd9cd2457f5a4def1844620d48020cec405cafb4e86b3194af1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts": { + "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts": { + "version": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "signature": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts": { + "version": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "signature": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts": { + "version": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "signature": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "target": 99, + "composite": true, + "sourceMap": true, + "outDir": "./out", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..80dd597a2 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.65 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 94 bytes [emitted] + lib/out/index.js.map 202 bytes [emitted] +lib/tsconfig.tsbuildinfo 16.5 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 81 bytes {main} [built] +[./lib/src/index.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..562a533e8 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/src/index.ts": +/*!**************************!*\ + !*** ./lib/src/index.ts ***! + \**************************/ +/*! exports provided: lib */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\r\n one: 1,\r\n two: 2,\r\n three: 3\r\n};\r\n\n\n//# sourceURL=webpack:///./lib/src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/out/index.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/out/index.js new file mode 100644 index 000000000..601001a45 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/out/index.js @@ -0,0 +1,6 @@ +export const lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/out/index.js.map new file mode 100644 index 000000000..e54726f0a --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..59f435cbf --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,299 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.d.ts": { + "version": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "signature": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2016.d.ts": { + "version": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "signature": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2017.d.ts": { + "version": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "signature": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2018.d.ts": { + "version": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2019.d.ts": { + "version": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "signature": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2020.d.ts": { + "version": "666172ccd045546f9b6d099744da9b822357e393c9fe67c34d3f44eabdf15723", + "signature": "666172ccd045546f9b6d099744da9b822357e393c9fe67c34d3f44eabdf15723", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.esnext.d.ts": { + "version": "2f8f379dedbdbd96a38a1e445cb3919853a1157a950fd977f85808db8d0f8a58", + "signature": "2f8f379dedbdbd96a38a1e445cb3919853a1157a950fd977f85808db8d0f8a58", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts": { + "version": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", + "signature": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts": { + "version": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "signature": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts": { + "version": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "signature": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts": { + "version": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "signature": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts": { + "version": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", + "signature": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts": { + "version": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", + "signature": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts": { + "version": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", + "signature": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts": { + "version": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "signature": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts": { + "version": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "signature": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": { + "version": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", + "signature": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts": { + "version": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "signature": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts": { + "version": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "signature": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": { + "version": "b5e4c2d67aa844ed503b29cd4ca2ede1a229ac7fe874613b2c996fa9c581a25f", + "signature": "b5e4c2d67aa844ed503b29cd4ca2ede1a229ac7fe874613b2c996fa9c581a25f", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts": { + "version": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "signature": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts": { + "version": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "signature": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": { + "version": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "signature": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": { + "version": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "signature": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": { + "version": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "signature": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts": { + "version": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "signature": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts": { + "version": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "signature": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": { + "version": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts": { + "version": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "signature": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts": { + "version": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "signature": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts": { + "version": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "signature": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts": { + "version": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "signature": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": { + "version": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "signature": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts": { + "version": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "signature": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts": { + "version": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "signature": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": { + "version": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "signature": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts": { + "version": "905b020308ed3bd9cd2457f5a4def1844620d48020cec405cafb4e86b3194af1", + "signature": "905b020308ed3bd9cd2457f5a4def1844620d48020cec405cafb4e86b3194af1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts": { + "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts": { + "version": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "signature": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts": { + "version": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "signature": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts": { + "version": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "signature": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "target": 99, + "composite": true, + "sourceMap": true, + "outDir": "./out", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..f00d56ecc --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.65 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 94 bytes [emitted] + lib/out/index.js.map 202 bytes [emitted] +lib/tsconfig.tsbuildinfo 16.2 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 81 bytes {main} [built] +[./lib/src/index.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..4cd40bf50 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/src/index.ts": +/*!**************************!*\ + !*** ./lib/src/index.ts ***! + \**************************/ +/*! exports provided: lib */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/out/index.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/out/index.js new file mode 100644 index 000000000..601001a45 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/out/index.js @@ -0,0 +1,6 @@ +export const lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/out/index.js.map new file mode 100644 index 000000000..e54726f0a --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..59f435cbf --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,299 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.d.ts": { + "version": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "signature": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2016.d.ts": { + "version": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "signature": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2017.d.ts": { + "version": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "signature": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2018.d.ts": { + "version": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2019.d.ts": { + "version": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "signature": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2020.d.ts": { + "version": "666172ccd045546f9b6d099744da9b822357e393c9fe67c34d3f44eabdf15723", + "signature": "666172ccd045546f9b6d099744da9b822357e393c9fe67c34d3f44eabdf15723", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.esnext.d.ts": { + "version": "2f8f379dedbdbd96a38a1e445cb3919853a1157a950fd977f85808db8d0f8a58", + "signature": "2f8f379dedbdbd96a38a1e445cb3919853a1157a950fd977f85808db8d0f8a58", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts": { + "version": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", + "signature": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts": { + "version": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "signature": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts": { + "version": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "signature": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts": { + "version": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "signature": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts": { + "version": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", + "signature": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts": { + "version": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", + "signature": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts": { + "version": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", + "signature": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts": { + "version": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "signature": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts": { + "version": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "signature": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": { + "version": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", + "signature": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts": { + "version": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "signature": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts": { + "version": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "signature": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": { + "version": "b5e4c2d67aa844ed503b29cd4ca2ede1a229ac7fe874613b2c996fa9c581a25f", + "signature": "b5e4c2d67aa844ed503b29cd4ca2ede1a229ac7fe874613b2c996fa9c581a25f", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts": { + "version": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "signature": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts": { + "version": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "signature": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": { + "version": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "signature": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": { + "version": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "signature": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": { + "version": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "signature": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts": { + "version": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "signature": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts": { + "version": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "signature": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": { + "version": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts": { + "version": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "signature": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts": { + "version": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "signature": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts": { + "version": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "signature": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts": { + "version": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "signature": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": { + "version": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "signature": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts": { + "version": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "signature": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts": { + "version": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "signature": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": { + "version": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "signature": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts": { + "version": "905b020308ed3bd9cd2457f5a4def1844620d48020cec405cafb4e86b3194af1", + "signature": "905b020308ed3bd9cd2457f5a4def1844620d48020cec405cafb4e86b3194af1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts": { + "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts": { + "version": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "signature": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts": { + "version": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "signature": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts": { + "version": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "signature": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "target": 99, + "composite": true, + "sourceMap": true, + "outDir": "./out", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..80dd597a2 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.65 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 94 bytes [emitted] + lib/out/index.js.map 202 bytes [emitted] +lib/tsconfig.tsbuildinfo 16.5 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 81 bytes {main} [built] +[./lib/src/index.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/app/dist/index.js new file mode 100644 index 000000000..6cae910da --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/common/dist/index.js new file mode 100644 index 000000000..9bd8bcace --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/common/dist/index.js @@ -0,0 +1,4 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +exports.getMeaningOfLife2 = function () { return 45; }; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..905954094 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/common/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/lib/dist/index.js new file mode 100644 index 000000000..0980fe240 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..54976b3e9 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..4e113aea1 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 133 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 191 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 4.9 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 191 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/app/dist/index.js new file mode 100644 index 000000000..2fb9676d2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..b86719621 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..ef77c34d2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..68e07de99 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 193 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 4.9 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 193 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] [1 error] + +ERROR in app/src/index.ts +./src/index.ts +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: Module '"../../lib/dist"' has no exported member 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/app/dist/index.js new file mode 100644 index 000000000..39a5eaed0 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/common/dist/index.js new file mode 100644 index 000000000..9bd8bcace --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/common/dist/index.js @@ -0,0 +1,4 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +exports.getMeaningOfLife2 = function () { return 45; }; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0b72789c5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/lib/dist/index.js new file mode 100644 index 000000000..0980fe240 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..aec1f6fa2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..7400455bd --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 133 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 191 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 4.93 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 191 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/app/dist/index.js new file mode 100644 index 000000000..9dc613806 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..b86719621 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..ce3d8c2e1 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..d44367658 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 193 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 4.93 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 193 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/app/dist/index.js new file mode 100644 index 000000000..6cae910da --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/common/dist/index.js new file mode 100644 index 000000000..9bd8bcace --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/common/dist/index.js @@ -0,0 +1,4 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +exports.getMeaningOfLife2 = function () { return 45; }; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..6359a48d2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/common/tsconfig.tsbuildinfo @@ -0,0 +1,58 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/lib/dist/index.js new file mode 100644 index 000000000..0980fe240 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..a7d6c8c72 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..19e6f398e --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 133 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.41 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 191 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 4.9 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 191 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/app/dist/index.js new file mode 100644 index 000000000..2fb9676d2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..b86719621 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2294224f7 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..3b2f477e5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 193 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 4.9 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 193 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] [1 error] + +ERROR in app/src/index.ts +./src/index.ts +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: Module '"../../node_modules/lib/dist"' has no exported member 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/app/dist/index.js new file mode 100644 index 000000000..39a5eaed0 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/common/dist/index.js new file mode 100644 index 000000000..9bd8bcace --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/common/dist/index.js @@ -0,0 +1,4 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +exports.getMeaningOfLife2 = function () { return 45; }; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..06d95edbb --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo @@ -0,0 +1,58 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/lib/dist/index.js new file mode 100644 index 000000000..0980fe240 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..675f9ff17 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..f3004fcd5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 133 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.41 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 191 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 4.93 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 191 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/app/dist/index.js new file mode 100644 index 000000000..9dc613806 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..b86719621 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..db705d340 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..e0f8ee648 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 193 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 4.93 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 193 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/app/dist/index.js new file mode 100644 index 000000000..6cae910da --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/common/dist/index.js new file mode 100644 index 000000000..9bd8bcace --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/common/dist/index.js @@ -0,0 +1,4 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +exports.getMeaningOfLife2 = function () { return 45; }; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..06d95edbb --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/common/tsconfig.tsbuildinfo @@ -0,0 +1,58 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/lib/dist/index.js new file mode 100644 index 000000000..0980fe240 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..675f9ff17 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..19e6f398e --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 133 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.41 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 191 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 4.9 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 191 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/app/dist/index.js new file mode 100644 index 000000000..2fb9676d2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..b86719621 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..db705d340 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..3b2f477e5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 193 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 4.9 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 193 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] [1 error] + +ERROR in app/src/index.ts +./src/index.ts +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: Module '"../../node_modules/lib/dist"' has no exported member 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/app/dist/index.js new file mode 100644 index 000000000..39a5eaed0 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/common/dist/index.js new file mode 100644 index 000000000..9bd8bcace --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/common/dist/index.js @@ -0,0 +1,4 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +exports.getMeaningOfLife2 = function () { return 45; }; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..06d95edbb --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo @@ -0,0 +1,58 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.js new file mode 100644 index 000000000..0980fe240 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..675f9ff17 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..f3004fcd5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 133 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.41 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 191 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 4.93 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 191 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/app/dist/index.js new file mode 100644 index 000000000..9dc613806 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..b86719621 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..db705d340 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..e0f8ee648 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 193 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 4.93 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 193 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/app/dist/index.js new file mode 100644 index 000000000..6cae910da --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/common/dist/index.js new file mode 100644 index 000000000..9bd8bcace --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/common/dist/index.js @@ -0,0 +1,4 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +exports.getMeaningOfLife2 = function () { return 45; }; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0b72789c5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/common/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/lib/dist/index.js new file mode 100644 index 000000000..0980fe240 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..aec1f6fa2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..4e113aea1 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 133 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 191 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 4.9 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 191 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/app/dist/index.js new file mode 100644 index 000000000..2fb9676d2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..b86719621 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..ce3d8c2e1 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..68e07de99 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 193 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 4.9 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 193 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] [1 error] + +ERROR in app/src/index.ts +./src/index.ts +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: Module '"../../lib/dist"' has no exported member 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/app/dist/index.js new file mode 100644 index 000000000..39a5eaed0 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/common/dist/index.js new file mode 100644 index 000000000..9bd8bcace --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/common/dist/index.js @@ -0,0 +1,4 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +exports.getMeaningOfLife2 = function () { return 45; }; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0b72789c5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/common/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.js new file mode 100644 index 000000000..0980fe240 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..aec1f6fa2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..7400455bd --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 133 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 191 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 4.93 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 191 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/app/dist/index.js new file mode 100644 index 000000000..9dc613806 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nexports.getMeaningOfLife2 = function () { return 45; };\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nexports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..b86719621 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/lib/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +exports.getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..ce3d8c2e1 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..d44367658 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 193 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 4.93 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 133 bytes {main} [built] +[../lib/dist/index.js] 193 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..8cfb6d671 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..ceca3b200 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..07f654ffd --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..9032c302b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..bd0a3c2fb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..2edab3ba4 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.33 KiB main [emitted] main + lib/index.d.ts 102 bytes [emitted] + lib/index.js 183 bytes [emitted] + lib/index.js.map 221 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch1/bundle.js new file mode 100644 index 000000000..8cf5e9561 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..863917568 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.36 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 136 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch2/bundle.js new file mode 100644 index 000000000..8cf5e9561 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch2/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch2/output.txt new file mode 100644 index 000000000..b24dcfcfb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch2/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names +bundle.js 4.36 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 136 bytes {main} [built] [2 errors] + +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in lib\index.ts +./lib/index.ts +[tsl] ERROR in lib\index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/bundle.js new file mode 100644 index 000000000..f95b56d68 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/index.js.map new file mode 100644 index 000000000..6e255ed17 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..536710c25 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/output.txt new file mode 100644 index 000000000..4dfbb6e5b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.37 KiB main [emitted] main + lib/index.d.ts 120 bytes [emitted] + lib/index.js 178 bytes [emitted] + lib/index.js.map 228 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch4/bundle.js new file mode 100644 index 000000000..d45f528f1 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch4/output.txt new file mode 100644 index 000000000..0593bdf58 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.38 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 186 bytes {main} [built] [1 error] +[./lib/index.ts] 132 bytes {main} + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch5/bundle.js new file mode 100644 index 000000000..064d19ca9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch5/output.txt new file mode 100644 index 000000000..bd093b647 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.0/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.38 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 185 bytes {main} [built] +[./lib/index.ts] 132 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..746f03b67 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..9032c302b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..bc25425f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..0843d3fab --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.37 KiB main [emitted] main + lib/index.d.ts 102 bytes [emitted] + lib/index.js 183 bytes [emitted] + lib/index.js.map 221 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..78ed26c6a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..cd340511e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/bundle.js new file mode 100644 index 000000000..78ed26c6a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/output.txt new file mode 100644 index 000000000..fb141bbb0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] [2 errors] +[./lib/index.ts] 150 bytes {main} [built] + +ERROR in [tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in [tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/bundle.js new file mode 100644 index 000000000..ec0c99cc9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/index.js.map new file mode 100644 index 000000000..6e255ed17 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..518a15f78 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/output.txt new file mode 100644 index 000000000..70c81c60c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.4 KiB main [emitted] main + lib/index.d.ts 120 bytes [emitted] + lib/index.js 178 bytes [emitted] + lib/index.js.map 228 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch4/bundle.js new file mode 100644 index 000000000..c477f0bbc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch4/output.txt new file mode 100644 index 000000000..69914dca7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch4/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 222 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch5/bundle.js new file mode 100644 index 000000000..d8959b73c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch5/output.txt new file mode 100644 index 000000000..1a00574d3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 221 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..1d7adbfc8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..adaa378d6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..24e223bab --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.82 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..4cb2a7cd8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2e8e496cb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..e150024bd --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.83 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch1/bundle.js new file mode 100644 index 000000000..bac3c372e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..1bd1d4dfc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.94 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 215 bytes {main} [built] +[./lib/helper.ts] 121 bytes {main} +[./lib/index.ts] 197 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..d17d9411c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..459b5217d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..5d15efcf6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.86 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..eac881063 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b88f73f14 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..e939e9524 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.87 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..a83eea133 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..a01758221 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.99 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 251 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..1d7adbfc8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..8486d9d82 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.77 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 100 bytes {main} [built] +[./lib/index.ts] 189 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..c142b33d8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..6f7438518 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..42d9d72d3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.83 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/bundle.js new file mode 100644 index 000000000..2919f8072 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d029fb56d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "3.9.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..80fbd3bd8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.85 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch2/bundle.js new file mode 100644 index 000000000..cd02ff9fa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch2/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch2/output.txt new file mode 100644 index 000000000..169e62679 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.0/patch2/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.95 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 215 bytes {main} [built] +[./lib/helper.ts] 121 bytes {main} +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..d17d9411c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..ffca29969 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.86 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..09058d361 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..82e664657 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..352b01adc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.87 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..2a95f4826 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e2a061bdf --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..649d0875c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.88 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch2/bundle.js new file mode 100644 index 000000000..321d958fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch2/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch2/output.txt new file mode 100644 index 000000000..b1fa5e71e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.0/patch2/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 5 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 251 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..1d7adbfc8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..332b6c126 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,8 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.82 KiB main [emitted] main +tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..c142b33d8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..82e664657 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..e2ad0dd82 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.83 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9c9813780 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch0/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-427854485299", + "signature": "-427854485299", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "-62302669703", + "signature": "-62302669703", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11215156582", + "signature": "11215156582", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/bundle.js new file mode 100644 index 000000000..2919f8072 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e2a061bdf --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..475bc8cca --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.85 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/bundle.js new file mode 100644 index 000000000..cd02ff9fa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/output.txt new file mode 100644 index 000000000..0097b02fd --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/output.txt @@ -0,0 +1,8 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.97 KiB main [emitted] main +tsconfig.tsbuildinfo 1.72 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 215 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/tsconfig.tsbuildinfo new file mode 100644 index 000000000..34c0fa6e6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/patch2/tsconfig.tsbuildinfo @@ -0,0 +1,63 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-427854485299", + "signature": "-427854485299", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "-62302669703", + "signature": "-62302669703", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11215156582", + "signature": "11215156582", + "affectsGlobalScope": false + }, + "./lib/helper.d.ts": { + "version": "7897218607", + "signature": "7897218607", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-12553192154", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/helper.d.ts", + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..65900d9c6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-427854485299", + "signature": "-427854485299", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "-62302669703", + "signature": "-62302669703", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "12503634626", + "signature": "12503634626", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..d17d9411c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..ffca29969 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.86 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..09058d361 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..82e664657 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..352b01adc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.87 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..2a95f4826 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e2a061bdf --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..649d0875c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.88 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js new file mode 100644 index 000000000..321d958fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt new file mode 100644 index 000000000..b1fa5e71e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 5 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 251 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..1d7adbfc8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..ee41e2612 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.82 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..c142b33d8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..82e664657 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..42d9d72d3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.83 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/bundle.js new file mode 100644 index 000000000..2919f8072 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e2a061bdf --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..80fbd3bd8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.85 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch2/bundle.js new file mode 100644 index 000000000..cd02ff9fa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch2/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch2/output.txt new file mode 100644 index 000000000..76971748c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.0/patch2/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.97 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 215 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..d17d9411c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..ffca29969 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.86 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..09058d361 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..82e664657 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..352b01adc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.87 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..2a95f4826 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e2a061bdf --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..649d0875c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.88 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js new file mode 100644 index 000000000..321d958fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt new file mode 100644 index 000000000..b1fa5e71e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 5 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 251 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..1d7adbfc8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..459b5217d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..9c6ab352c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.82 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..4cb2a7cd8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b88f73f14 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..06cd61d80 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.83 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/bundle.js new file mode 100644 index 000000000..bac3c372e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..4b6636b9a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,8 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.95 KiB main [emitted] main +tsconfig.tsbuildinfo 1.72 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 215 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b201759d8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/patch1/tsconfig.tsbuildinfo @@ -0,0 +1,63 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-427854485299", + "signature": "-427854485299", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "-62302669703", + "signature": "-62302669703", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "12503634626", + "signature": "12503634626", + "affectsGlobalScope": false + }, + "./lib/helper.d.ts": { + "version": "7897218607", + "signature": "7897218607", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-12553192154", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/helper.d.ts", + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..65900d9c6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-427854485299", + "signature": "-427854485299", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "-62302669703", + "signature": "-62302669703", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "12503634626", + "signature": "12503634626", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..d17d9411c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..459b5217d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..5d15efcf6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.86 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..eac881063 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b88f73f14 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..e939e9524 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.87 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..a83eea133 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..a01758221 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.99 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 251 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..1d7adbfc8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..459b5217d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..24e223bab --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.82 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..4cb2a7cd8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b88f73f14 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..e150024bd --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.83 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch1/bundle.js new file mode 100644 index 000000000..bac3c372e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..f739556e6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.95 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 215 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..d17d9411c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..459b5217d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..5d15efcf6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.86 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..eac881063 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b88f73f14 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..e939e9524 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.87 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..a83eea133 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..a01758221 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.99 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 251 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..f83b087db --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..07f654ffd --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..9032c302b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..bc25425f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..4ea4bea27 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.33 KiB main [emitted] main + lib/index.d.ts 102 bytes [emitted] + lib/index.js 183 bytes [emitted] + lib/index.js.map 221 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9c9813780 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch0/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-427854485299", + "signature": "-427854485299", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "-62302669703", + "signature": "-62302669703", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11215156582", + "signature": "11215156582", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/bundle.js new file mode 100644 index 000000000..8cf5e9561 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..f890173c0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,7 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.37 KiB main [emitted] main +tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/tsconfig.tsbuildinfo new file mode 100644 index 000000000..37ac5d52f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch1/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-427854485299", + "signature": "-427854485299", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "-62302669703", + "signature": "-62302669703", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11215156582", + "signature": "11215156582", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-16299197056", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch2/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch2/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch2/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch2/bundle.js new file mode 100644 index 000000000..8cf5e9561 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch2/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch2/output.txt new file mode 100644 index 000000000..6eff0cd61 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch2/output.txt @@ -0,0 +1,16 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] [2 errors] + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/bundle.js new file mode 100644 index 000000000..f95b56d68 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/index.js.map new file mode 100644 index 000000000..6e255ed17 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..518a15f78 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/output.txt new file mode 100644 index 000000000..8b961e865 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.37 KiB main [emitted] main + lib/index.d.ts 120 bytes [emitted] + lib/index.js 178 bytes [emitted] + lib/index.js.map 228 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/tsconfig.tsbuildinfo new file mode 100644 index 000000000..dcee51876 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch3/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-427854485299", + "signature": "-427854485299", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "-62302669703", + "signature": "-62302669703", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11496633944", + "signature": "11496633944", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-16299197056", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/bundle.js new file mode 100644 index 000000000..d45f528f1 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/output.txt new file mode 100644 index 000000000..5367b0c7d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.38 KiB main [emitted] main +tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 186 bytes {main} [built] [1 error] +[./lib/index.ts] 145 bytes {main} + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d59f71b10 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch4/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-427854485299", + "signature": "-427854485299", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "-62302669703", + "signature": "-62302669703", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11496633944", + "signature": "11496633944", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-26657554079", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/bundle.js new file mode 100644 index 000000000..064d19ca9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/output.txt new file mode 100644 index 000000000..d5d29912d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/output.txt @@ -0,0 +1,7 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.38 KiB main [emitted] main +tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 185 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5b7e90d2f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/patch5/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-427854485299", + "signature": "-427854485299", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "-62302669703", + "signature": "-62302669703", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11496633944", + "signature": "11496633944", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-21839530949", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..65900d9c6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.0/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "-427854485299", + "signature": "-427854485299", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "-62302669703", + "signature": "-62302669703", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "12503634626", + "signature": "12503634626", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..746f03b67 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..9032c302b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..bc25425f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..0843d3fab --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.37 KiB main [emitted] main + lib/index.d.ts 102 bytes [emitted] + lib/index.js 183 bytes [emitted] + lib/index.js.map 221 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..78ed26c6a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..cd340511e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js new file mode 100644 index 000000000..78ed26c6a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt new file mode 100644 index 000000000..fb141bbb0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] [2 errors] +[./lib/index.ts] 150 bytes {main} [built] + +ERROR in [tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in [tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/bundle.js new file mode 100644 index 000000000..ec0c99cc9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js.map new file mode 100644 index 000000000..6e255ed17 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..518a15f78 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/output.txt new file mode 100644 index 000000000..70c81c60c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.4 KiB main [emitted] main + lib/index.d.ts 120 bytes [emitted] + lib/index.js 178 bytes [emitted] + lib/index.js.map 228 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch4/bundle.js new file mode 100644 index 000000000..c477f0bbc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch4/output.txt new file mode 100644 index 000000000..69914dca7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch4/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 222 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch5/bundle.js new file mode 100644 index 000000000..d8959b73c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch5/output.txt new file mode 100644 index 000000000..1a00574d3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 221 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..ceca3b200 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/bundle.js new file mode 100644 index 000000000..07f654ffd --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..9032c302b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..bc25425f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..2edab3ba4 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.33 KiB main [emitted] main + lib/index.d.ts 102 bytes [emitted] + lib/index.js 183 bytes [emitted] + lib/index.js.map 221 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch1/bundle.js new file mode 100644 index 000000000..8cf5e9561 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch1/output.txt new file mode 100644 index 000000000..3993b8991 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch2/bundle.js new file mode 100644 index 000000000..8cf5e9561 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch2/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch2/output.txt new file mode 100644 index 000000000..cdf7bfbc0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch2/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] [2 errors] + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/bundle.js new file mode 100644 index 000000000..f95b56d68 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/index.js.map new file mode 100644 index 000000000..6e255ed17 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..518a15f78 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/output.txt new file mode 100644 index 000000000..4dfbb6e5b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.37 KiB main [emitted] main + lib/index.d.ts 120 bytes [emitted] + lib/index.js 178 bytes [emitted] + lib/index.js.map 228 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch4/bundle.js new file mode 100644 index 000000000..d45f528f1 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch4/output.txt new file mode 100644 index 000000000..e5095f9ca --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.38 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 186 bytes {main} [built] [1 error] +[./lib/index.ts] 145 bytes {main} + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch5/bundle.js new file mode 100644 index 000000000..064d19ca9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch5/output.txt new file mode 100644 index 000000000..1bed26fd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.0/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.38 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 185 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e95c69c1d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..746f03b67 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map new file mode 100644 index 000000000..9032c302b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..bc25425f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..0843d3fab --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.37 KiB main [emitted] main + lib/index.d.ts 102 bytes [emitted] + lib/index.js 183 bytes [emitted] + lib/index.js.map 221 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..78ed26c6a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..cd340511e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js new file mode 100644 index 000000000..78ed26c6a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt new file mode 100644 index 000000000..fb141bbb0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] [2 errors] +[./lib/index.ts] 150 bytes {main} [built] + +ERROR in [tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in [tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/bundle.js new file mode 100644 index 000000000..ec0c99cc9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js.map new file mode 100644 index 000000000..6e255ed17 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..518a15f78 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "signature": "c9a1f03d6ba0fe3c871eb0dd81622e78fbb61ade70878b34d48a341a690c59e9", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "signature": "38130cdd16bd2318b9362f9d60dd9670f7e38708bb6131cf11fc78a41b2c34a0", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.0.3" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/output.txt new file mode 100644 index 000000000..70c81c60c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.4 KiB main [emitted] main + lib/index.d.ts 120 bytes [emitted] + lib/index.js 178 bytes [emitted] + lib/index.js.map 228 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch4/bundle.js new file mode 100644 index 000000000..c477f0bbc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch4/output.txt new file mode 100644 index 000000000..69914dca7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch4/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 222 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch5/bundle.js new file mode 100644 index 000000000..d8959b73c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch5/output.txt new file mode 100644 index 000000000..1a00574d3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 221 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-1.6/bundle.js b/test/comparison-tests/replacement/expectedOutput-1.6/bundle.js deleted file mode 100644 index fa1b7a738..000000000 --- a/test/comparison-tests/replacement/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,68 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var a = __webpack_require__(1); - console.log(a); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - var dep = 'replacement'; - module.exports = dep; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-1.6/output.txt b/test/comparison-tests/replacement/expectedOutput-1.6/output.txt deleted file mode 100644 index 1bc905e5f..000000000 --- a/test/comparison-tests/replacement/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 137 bytes [rendered] - [0] ./.test/replacement/app.ts 40 bytes {0} [built] - [1] ./.test/replacement/a.ts 50 bytes {0} [built] - [2] ./.test/replacement/sub/dep.ts 47 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-1.7/bundle.js b/test/comparison-tests/replacement/expectedOutput-1.7/bundle.js deleted file mode 100644 index fa1b7a738..000000000 --- a/test/comparison-tests/replacement/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,68 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var a = __webpack_require__(1); - console.log(a); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - var dep = 'replacement'; - module.exports = dep; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-1.7/output.txt b/test/comparison-tests/replacement/expectedOutput-1.7/output.txt deleted file mode 100644 index 1bc905e5f..000000000 --- a/test/comparison-tests/replacement/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.69 kB 0 [emitted] main -chunk {0} bundle.js (main) 137 bytes [rendered] - [0] ./.test/replacement/app.ts 40 bytes {0} [built] - [1] ./.test/replacement/a.ts 50 bytes {0} [built] - [2] ./.test/replacement/sub/dep.ts 47 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-1.8/bundle.js b/test/comparison-tests/replacement/expectedOutput-1.8/bundle.js deleted file mode 100644 index 8eaa8a1f4..000000000 --- a/test/comparison-tests/replacement/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,71 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var a = __webpack_require__(1); - console.log(a); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var dep = 'replacement'; - module.exports = dep; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-1.8/output.txt b/test/comparison-tests/replacement/expectedOutput-1.8/output.txt deleted file mode 100644 index 720a622c6..000000000 --- a/test/comparison-tests/replacement/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 179 bytes [rendered] - [0] ./.test/replacement/app.ts 54 bytes {0} [built] - [1] ./.test/replacement/a.ts 64 bytes {0} [built] - [2] ./.test/replacement/sub/dep.ts 61 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.0/bundle.js b/test/comparison-tests/replacement/expectedOutput-2.0/bundle.js deleted file mode 100644 index 8eaa8a1f4..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,71 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var a = __webpack_require__(1); - console.log(a); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - var dep = 'replacement'; - module.exports = dep; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.0/output.txt b/test/comparison-tests/replacement/expectedOutput-2.0/output.txt deleted file mode 100644 index 720a622c6..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 179 bytes [rendered] - [0] ./.test/replacement/app.ts 54 bytes {0} [built] - [1] ./.test/replacement/a.ts 64 bytes {0} [built] - [2] ./.test/replacement/sub/dep.ts 61 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.1/bundle.js b/test/comparison-tests/replacement/expectedOutput-2.1/bundle.js deleted file mode 100644 index 628b1021a..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(1); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = 'replacement'; -module.exports = dep; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var a = __webpack_require__(0); -console.log(a); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.1/output.txt b/test/comparison-tests/replacement/expectedOutput-2.1/output.txt deleted file mode 100644 index 8fc9f15f4..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main -chunk {0} bundle.js (main) 179 bytes [entry] [rendered] - [0] ./.test/replacement/a.ts 64 bytes {0} [built] - [1] ./.test/replacement/sub/dep.ts 61 bytes {0} [built] - [2] ./.test/replacement/app.ts 54 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.2/bundle.js b/test/comparison-tests/replacement/expectedOutput-2.2/bundle.js deleted file mode 100644 index f4e2a2198..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(0); -console.log(a); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = 'replacement'; -module.exports = dep; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.2/output.txt b/test/comparison-tests/replacement/expectedOutput-2.2/output.txt deleted file mode 100644 index 0bfbedf25..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.03 kB 0 [emitted] main -chunk {0} bundle.js (main) 206 bytes [entry] [rendered] - [0] ./.test/replacement/a.ts 64 bytes {0} [built] - [1] ./.test/replacement/app.ts 81 bytes {0} [built] - [2] ./.test/replacement/sub/dep.ts 61 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.3/bundle.js b/test/comparison-tests/replacement/expectedOutput-2.3/bundle.js deleted file mode 100644 index f4e2a2198..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(0); -console.log(a); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = 'replacement'; -module.exports = dep; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.3/output.txt b/test/comparison-tests/replacement/expectedOutput-2.3/output.txt deleted file mode 100644 index 0bfbedf25..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.03 kB 0 [emitted] main -chunk {0} bundle.js (main) 206 bytes [entry] [rendered] - [0] ./.test/replacement/a.ts 64 bytes {0} [built] - [1] ./.test/replacement/app.ts 81 bytes {0} [built] - [2] ./.test/replacement/sub/dep.ts 61 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.4/bundle.js b/test/comparison-tests/replacement/expectedOutput-2.4/bundle.js deleted file mode 100644 index f4e2a2198..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(0); -console.log(a); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = 'replacement'; -module.exports = dep; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.4/output.txt b/test/comparison-tests/replacement/expectedOutput-2.4/output.txt deleted file mode 100644 index 0bfbedf25..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.03 kB 0 [emitted] main -chunk {0} bundle.js (main) 206 bytes [entry] [rendered] - [0] ./.test/replacement/a.ts 64 bytes {0} [built] - [1] ./.test/replacement/app.ts 81 bytes {0} [built] - [2] ./.test/replacement/sub/dep.ts 61 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.5/bundle.js b/test/comparison-tests/replacement/expectedOutput-2.5/bundle.js deleted file mode 100644 index fdc2464e3..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(1); -console.log(a); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = 'replacement'; -module.exports = dep; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.5/output.txt b/test/comparison-tests/replacement/expectedOutput-2.5/output.txt deleted file mode 100644 index 56284bc55..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.87 kB 0 [emitted] main - [0] ./.test/replacement/app.ts 81 bytes {0} [built] - [1] ./.test/replacement/a.ts 64 bytes {0} [built] - [2] ./.test/replacement/sub/dep.ts 61 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.6/bundle.js b/test/comparison-tests/replacement/expectedOutput-2.6/bundle.js deleted file mode 100644 index fdc2464e3..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var a = __webpack_require__(1); -console.log(a); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = 'replacement'; -module.exports = dep; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.6/output.txt b/test/comparison-tests/replacement/expectedOutput-2.6/output.txt deleted file mode 100644 index 56284bc55..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.87 kB 0 [emitted] main - [0] ./.test/replacement/app.ts 81 bytes {0} [built] - [1] ./.test/replacement/a.ts 64 bytes {0} [built] - [2] ./.test/replacement/sub/dep.ts 61 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.7/bundle.js b/test/comparison-tests/replacement/expectedOutput-2.7/bundle.js deleted file mode 100644 index fdf9ab5a5..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/replacement/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 8561c3f55..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:11 - Asset Size Chunks Chunk Names -bundle.js 3.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.7/output.txt b/test/comparison-tests/replacement/expectedOutput-2.7/output.txt deleted file mode 100644 index afc88b8e5..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:10 - Asset Size Chunks Chunk Names -bundle.js 3.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.8/bundle.js b/test/comparison-tests/replacement/expectedOutput-2.8/bundle.js deleted file mode 100644 index fdf9ab5a5..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/replacement/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 8561c3f55..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:11 - Asset Size Chunks Chunk Names -bundle.js 3.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.8/output.txt b/test/comparison-tests/replacement/expectedOutput-2.8/output.txt deleted file mode 100644 index 3e21806f0..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/replacement/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 8561c3f55..000000000 --- a/test/comparison-tests/replacement/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:11 - Asset Size Chunks Chunk Names -bundle.js 3.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.0/bundle.js b/test/comparison-tests/replacement/expectedOutput-3.0/bundle.js deleted file mode 100644 index bb45415c7..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/replacement/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 8561c3f55..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:11 - Asset Size Chunks Chunk Names -bundle.js 3.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.0/output.txt b/test/comparison-tests/replacement/expectedOutput-3.0/output.txt deleted file mode 100644 index 74e906a99..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.49 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.1/bundle.js b/test/comparison-tests/replacement/expectedOutput-3.1/bundle.js deleted file mode 100644 index bb45415c7..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/replacement/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 8561c3f55..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:11 - Asset Size Chunks Chunk Names -bundle.js 3.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.1/output.txt b/test/comparison-tests/replacement/expectedOutput-3.1/output.txt deleted file mode 100644 index 74e906a99..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.49 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.2/bundle.js b/test/comparison-tests/replacement/expectedOutput-3.2/bundle.js deleted file mode 100644 index bb45415c7..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/replacement/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 8561c3f55..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:11 - Asset Size Chunks Chunk Names -bundle.js 3.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.2/output.txt b/test/comparison-tests/replacement/expectedOutput-3.2/output.txt deleted file mode 100644 index 74e906a99..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.49 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.3/bundle.js b/test/comparison-tests/replacement/expectedOutput-3.3/bundle.js deleted file mode 100644 index bb45415c7..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/replacement/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 8561c3f55..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:11 - Asset Size Chunks Chunk Names -bundle.js 3.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.3/output.txt b/test/comparison-tests/replacement/expectedOutput-3.3/output.txt deleted file mode 100644 index 74e906a99..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.49 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.4/bundle.js b/test/comparison-tests/replacement/expectedOutput-3.4/bundle.js deleted file mode 100644 index bb45415c7..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/replacement/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 8561c3f55..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:11 - Asset Size Chunks Chunk Names -bundle.js 3.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.4/output.txt b/test/comparison-tests/replacement/expectedOutput-3.4/output.txt deleted file mode 100644 index 74e906a99..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.49 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.5/bundle.js b/test/comparison-tests/replacement/expectedOutput-3.5/bundle.js deleted file mode 100644 index bb45415c7..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/replacement/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 8561c3f55..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:11 - Asset Size Chunks Chunk Names -bundle.js 3.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-3.5/output.txt b/test/comparison-tests/replacement/expectedOutput-3.5/output.txt deleted file mode 100644 index 74e906a99..000000000 --- a/test/comparison-tests/replacement/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.49 KiB main [emitted] main -Entrypoint main = bundle.js -[./a.ts] 64 bytes {main} [built] -[./app.ts] 81 bytes {main} [built] -[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-2.9/bundle.js b/test/comparison-tests/replacement/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/replacement/expectedOutput-2.9/bundle.js rename to test/comparison-tests/replacement/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/replacement/expectedOutput-2.9/output.txt b/test/comparison-tests/replacement/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/replacement/expectedOutput-2.9/output.txt rename to test/comparison-tests/replacement/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/replacement/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/replacement/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..ba30e0904 --- /dev/null +++ b/test/comparison-tests/replacement/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./sub/dep.ts": +/*!********************!*\ + !*** ./sub/dep.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/replacement/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..2083a5363 --- /dev/null +++ b/test/comparison-tests/replacement/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.53 KiB main [emitted] main +Entrypoint main = bundle.js +[./a.ts] 64 bytes {main} [built] +[./app.ts] 117 bytes {main} [built] +[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-2.6/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-2.6/bundle.js deleted file mode 100644 index b161c2931..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,88 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -__webpack_require__(1); -exports.a = '10'; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -exports.a = '10'; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/reportFiles/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index ca0441865..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.71 kB 0 [emitted] main - [0] ./.test/reportFiles/app.ts 78 bytes {0} [built] - [1] ./.test/reportFiles/skip.ts 59 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-2.6/output.txt b/test/comparison-tests/reportFiles/expectedOutput-2.6/output.txt deleted file mode 100644 index 293cb501a..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.71 kB 0 [emitted] main - [0] ./.test/reportFiles/app.ts 78 bytes {0} [built] [1 error] - [1] ./.test/reportFiles/skip.ts 59 bytes {0} [built] - -ERROR in ./.test/reportFiles/app.ts -[tsl] ERROR in app.ts(3,1) - TS2322: Type '"10"' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-2.7/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-2.7/bundle.js deleted file mode 100644 index 72f2c28d3..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./skip.ts": -/*!*****************!*\ - !*** ./skip.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/reportFiles/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index a8731c122..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:20:17 - Asset Size Chunks Chunk Names -bundle.js 3.2 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./skip.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-2.7/output.txt b/test/comparison-tests/reportFiles/expectedOutput-2.7/output.txt deleted file mode 100644 index 5dcb28e5e..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -Built at: 2018-3-18 09:20:17 - Asset Size Chunks Chunk Names -bundle.js 3.2 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] [1 error] -[./skip.ts] 59 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,1) - TS2322: Type '"10"' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-2.8/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-2.8/bundle.js deleted file mode 100644 index 72f2c28d3..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,98 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./skip.ts": -/*!*****************!*\ - !*** ./skip.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/reportFiles/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index e7a961a82..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.2 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./skip.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-2.8/output.txt b/test/comparison-tests/reportFiles/expectedOutput-2.8/output.txt deleted file mode 100644 index 3e1d0cb65..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.2 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] [1 error] -[./skip.ts] 59 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,1) - TS2322: Type '"10"' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-2.9/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-2.9/bundle.js deleted file mode 100644 index 541ee72b1..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./skip.ts": -/*!*****************!*\ - !*** ./skip.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/reportFiles/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index dd3e6889a..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./skip.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-2.9/output.txt b/test/comparison-tests/reportFiles/expectedOutput-2.9/output.txt deleted file mode 100644 index 607718cd9..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] [1 error] -[./skip.ts] 59 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,1) - TS2322: Type '"10"' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.0/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-3.0/bundle.js deleted file mode 100644 index 541ee72b1..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./skip.ts": -/*!*****************!*\ - !*** ./skip.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/reportFiles/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index dd3e6889a..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./skip.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.0/output.txt b/test/comparison-tests/reportFiles/expectedOutput-3.0/output.txt deleted file mode 100644 index 607718cd9..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] [1 error] -[./skip.ts] 59 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,1) - TS2322: Type '"10"' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.1/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-3.1/bundle.js deleted file mode 100644 index 541ee72b1..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./skip.ts": -/*!*****************!*\ - !*** ./skip.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/reportFiles/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index dd3e6889a..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./skip.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.1/output.txt b/test/comparison-tests/reportFiles/expectedOutput-3.1/output.txt deleted file mode 100644 index 607718cd9..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] [1 error] -[./skip.ts] 59 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,1) - TS2322: Type '"10"' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.2/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-3.2/bundle.js deleted file mode 100644 index 541ee72b1..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./skip.ts": -/*!*****************!*\ - !*** ./skip.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/reportFiles/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index dd3e6889a..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./skip.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.2/output.txt b/test/comparison-tests/reportFiles/expectedOutput-3.2/output.txt deleted file mode 100644 index 607718cd9..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] [1 error] -[./skip.ts] 59 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,1) - TS2322: Type '"10"' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.3/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-3.3/bundle.js deleted file mode 100644 index 541ee72b1..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./skip.ts": -/*!*****************!*\ - !*** ./skip.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/reportFiles/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index dd3e6889a..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./skip.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.3/output.txt b/test/comparison-tests/reportFiles/expectedOutput-3.3/output.txt deleted file mode 100644 index 607718cd9..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] [1 error] -[./skip.ts] 59 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,1) - TS2322: Type '"10"' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.4/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-3.4/bundle.js deleted file mode 100644 index 541ee72b1..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./skip.ts": -/*!*****************!*\ - !*** ./skip.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/reportFiles/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index dd3e6889a..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./skip.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.4/output.txt b/test/comparison-tests/reportFiles/expectedOutput-3.4/output.txt deleted file mode 100644 index 607718cd9..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] [1 error] -[./skip.ts] 59 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,1) - TS2322: Type '"10"' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.5/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-3.5/bundle.js deleted file mode 100644 index 541ee72b1..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./skip.ts": -/*!*****************!*\ - !*** ./skip.ts ***! - \*****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/reportFiles/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index dd3e6889a..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./skip.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.5/output.txt b/test/comparison-tests/reportFiles/expectedOutput-3.5/output.txt deleted file mode 100644 index 607718cd9..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.16 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] [1 error] -[./skip.ts] 59 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,1) - TS2322: Type '"10"' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-4.0/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..f0c912af6 --- /dev/null +++ b/test/comparison-tests/reportFiles/expectedOutput-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.a = void 0;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./skip.ts": +/*!*****************!*\ + !*** ./skip.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.a = void 0;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-4.0/output.txt b/test/comparison-tests/reportFiles/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..5211bb195 --- /dev/null +++ b/test/comparison-tests/reportFiles/expectedOutput-4.0/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.2 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 98 bytes {main} [built] [1 error] +[./skip.ts] 79 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,1) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..a1fbc5e07 --- /dev/null +++ b/test/comparison-tests/reportFiles/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.a = void 0;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./skip.ts": +/*!*****************!*\ + !*** ./skip.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.a = void 0;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/reportFiles/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..77560aba9 --- /dev/null +++ b/test/comparison-tests/reportFiles/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.27 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 134 bytes {main} [built] +[./skip.ts] 115 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.0/app.d.ts b/test/comparison-tests/resolveJsonModule/expectedOutput-4.0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-4.0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.0/bundle.js b/test/comparison-tests/resolveJsonModule/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..78e3ec85f --- /dev/null +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-4.0/bundle.js @@ -0,0 +1 @@ +!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";t.__esModule=!0;var n=r(1);console.log(n.foo)},function(e){e.exports=JSON.parse('{"foo":"bar"}')}]); \ No newline at end of file diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.0/output.txt b/test/comparison-tests/resolveJsonModule/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..74cae6627 --- /dev/null +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-4.0/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] +bundle.js 1.02 KiB 0 [emitted] main +Entrypoint main = bundle.js +[0] ./app.ts 99 bytes {0} [built] +[1] ./file.json 18 bytes {0} [built] + +WARNING in configuration +The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. +You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/ \ No newline at end of file diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..51ef0796e --- /dev/null +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1 @@ +!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1);console.log(n.foo)},function(e){e.exports=JSON.parse('{"foo":"bar"}')}]); \ No newline at end of file diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..5b907a54c --- /dev/null +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +bundle.js 1.05 KiB 0 [emitted] main +Entrypoint main = bundle.js +[0] ./app.ts 135 bytes {0} [built] +[1] ./file.json 18 bytes {0} [built] + +WARNING in configuration +The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. +You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/ \ No newline at end of file diff --git a/test/comparison-tests/run-tests.js b/test/comparison-tests/run-tests.js index 48d403db6..6bd92043c 100644 --- a/test/comparison-tests/run-tests.js +++ b/test/comparison-tests/run-tests.js @@ -11,7 +11,7 @@ const typescriptVersion = parseFloat( semver.major(typescript.version) + '.' + semver.minor(typescript.version) ); // @ts-ignore -if (typescriptVersion < 3.9 || typescriptVersion > 3.9) return; +if (typescriptVersion < 4.0 || typescriptVersion > 4.0) return; // Build const program = getProgram(path.resolve(__dirname, 'tsconfig.json')); diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.6/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-1.6/bundle.js deleted file mode 100644 index ce5a1493f..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,69 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(1); - dep(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.6/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.6/output.txt deleted file mode 100644 index 0c369aa44..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 155 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 37 bytes {0} [built] - [1] ./.test/simpleDependency/dep.ts 56 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 62 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch0/bundle.js deleted file mode 100644 index ce5a1493f..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch0/bundle.js +++ /dev/null @@ -1,69 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(1); - dep(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch0/output.transpiled.txt deleted file mode 100644 index 4abfc9827..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 155 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 37 bytes {0} - [1] ./.test/simpleDependency/dep.ts 56 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 62 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch0/output.txt deleted file mode 100644 index 6bf873681..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 155 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 37 bytes {0} [built] [1 error] - [1] ./.test/simpleDependency/dep.ts 56 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 62 bytes {0} [built] - -ERROR in ./.test/simpleDependency/app.ts -(3,5): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch1/bundle.js deleted file mode 100644 index ce5a1493f..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch1/bundle.js +++ /dev/null @@ -1,69 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(1); - dep(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch1/output.transpiled.txt deleted file mode 100644 index 4abfc9827..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 155 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 37 bytes {0} - [1] ./.test/simpleDependency/dep.ts 56 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 62 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch1/output.txt deleted file mode 100644 index 0c369aa44..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.6/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 155 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 37 bytes {0} [built] - [1] ./.test/simpleDependency/dep.ts 56 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 62 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.7/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-1.7/bundle.js deleted file mode 100644 index ce5a1493f..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,69 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(1); - dep(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.7/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.7/output.txt deleted file mode 100644 index 0c369aa44..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 155 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 37 bytes {0} [built] - [1] ./.test/simpleDependency/dep.ts 56 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 62 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch0/bundle.js deleted file mode 100644 index ce5a1493f..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch0/bundle.js +++ /dev/null @@ -1,69 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(1); - dep(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch0/output.transpiled.txt deleted file mode 100644 index 4abfc9827..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 155 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 37 bytes {0} - [1] ./.test/simpleDependency/dep.ts 56 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 62 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch0/output.txt deleted file mode 100644 index 6bf873681..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 155 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 37 bytes {0} [built] [1 error] - [1] ./.test/simpleDependency/dep.ts 56 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 62 bytes {0} [built] - -ERROR in ./.test/simpleDependency/app.ts -(3,5): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch1/bundle.js deleted file mode 100644 index ce5a1493f..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch1/bundle.js +++ /dev/null @@ -1,69 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(1); - dep(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch1/output.transpiled.txt deleted file mode 100644 index 4abfc9827..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 155 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 37 bytes {0} - [1] ./.test/simpleDependency/dep.ts 56 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 62 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch1/output.txt deleted file mode 100644 index 0c369aa44..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.7/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 155 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 37 bytes {0} [built] - [1] ./.test/simpleDependency/dep.ts 56 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 62 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.8/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-1.8/bundle.js deleted file mode 100644 index b69b1a1f1..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,72 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(1); - dep(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.8/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.8/output.txt deleted file mode 100644 index a68e8e4a5..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.75 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 51 bytes {0} [built] - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch0/bundle.js deleted file mode 100644 index b69b1a1f1..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch0/bundle.js +++ /dev/null @@ -1,72 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(1); - dep(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch0/output.transpiled.txt deleted file mode 100644 index b70ffbaa5..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.75 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 51 bytes {0} - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch0/output.txt deleted file mode 100644 index eec01eaa8..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.75 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 51 bytes {0} [built] [1 error] - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] - -ERROR in ./.test/simpleDependency/app.ts -(3,5): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch1/bundle.js deleted file mode 100644 index b69b1a1f1..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch1/bundle.js +++ /dev/null @@ -1,72 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(1); - dep(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch1/output.transpiled.txt deleted file mode 100644 index b70ffbaa5..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.75 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 51 bytes {0} - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch1/output.txt deleted file mode 100644 index a68e8e4a5..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-1.8/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.75 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 51 bytes {0} [built] - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.0/bundle.js deleted file mode 100644 index b69b1a1f1..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,72 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(1); - dep(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.0/output.txt deleted file mode 100644 index a68e8e4a5..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.75 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 51 bytes {0} [built] - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch0/bundle.js deleted file mode 100644 index b69b1a1f1..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch0/bundle.js +++ /dev/null @@ -1,72 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(1); - dep(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch0/output.transpiled.txt deleted file mode 100644 index b70ffbaa5..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.75 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 51 bytes {0} - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch0/output.txt deleted file mode 100644 index c5aaf6705..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.75 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 51 bytes {0} [1 error] - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] - -ERROR in ./.test/simpleDependency/app.ts -(3,5): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch1/bundle.js deleted file mode 100644 index b69b1a1f1..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch1/bundle.js +++ /dev/null @@ -1,72 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(1); - dep(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var dep = __webpack_require__(2); - module.exports = dep; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - function doSomething(input) { - } - module.exports = doSomething; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch1/output.transpiled.txt deleted file mode 100644 index b70ffbaa5..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.75 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 51 bytes {0} - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch1/output.txt deleted file mode 100644 index 038e84f63..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.0/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.75 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [rendered] - [0] ./.test/simpleDependency/app.ts 51 bytes {0} - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.1/bundle.js deleted file mode 100644 index 3101ed0a2..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(1); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(0); -dep(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.1/output.txt deleted file mode 100644 index efdf79e03..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [1] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] - [2] ./.test/simpleDependency/app.ts 51 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch0/bundle.js deleted file mode 100644 index 3101ed0a2..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch0/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(1); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(0); -dep(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch0/output.transpiled.txt deleted file mode 100644 index c78ed24fc..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} - [1] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] - [2] ./.test/simpleDependency/app.ts 51 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch0/output.txt deleted file mode 100644 index ff5ade661..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [1] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] - [2] ./.test/simpleDependency/app.ts 51 bytes {0} [1 error] - -ERROR in ./.test/simpleDependency/app.ts -(3,5): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch1/bundle.js deleted file mode 100644 index 3101ed0a2..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch1/bundle.js +++ /dev/null @@ -1,101 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(1); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(0); -dep(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch1/output.transpiled.txt deleted file mode 100644 index c78ed24fc..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} - [1] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] - [2] ./.test/simpleDependency/app.ts 51 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch1/output.txt deleted file mode 100644 index cd4330a0b..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.1/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.89 kB 0 [emitted] main -chunk {0} bundle.js (main) 197 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [1] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] - [2] ./.test/simpleDependency/app.ts 51 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.2/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.2/bundle.js deleted file mode 100644 index cf48ef34b..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -dep(''); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.2/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.2/output.txt deleted file mode 100644 index 0b43d09b6..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [1] ./.test/simpleDependency/app.ts 78 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/bundle.js deleted file mode 100644 index cf48ef34b..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -dep(''); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/output.transpiled.txt deleted file mode 100644 index a2b509805..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} - [1] ./.test/simpleDependency/app.ts 78 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/output.txt deleted file mode 100644 index 9374de47c..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [1] ./.test/simpleDependency/app.ts 78 bytes {0} [1 error] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] - -ERROR in ./.test/simpleDependency/app.ts -(3,5): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/bundle.js deleted file mode 100644 index cf48ef34b..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -dep(''); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/output.transpiled.txt deleted file mode 100644 index a2b509805..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} - [1] ./.test/simpleDependency/app.ts 78 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/output.txt deleted file mode 100644 index 02203bd47..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [1] ./.test/simpleDependency/app.ts 78 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.3/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.3/bundle.js deleted file mode 100644 index cf48ef34b..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -dep(''); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.3/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.3/output.txt deleted file mode 100644 index 0b43d09b6..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [1] ./.test/simpleDependency/app.ts 78 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch0/bundle.js deleted file mode 100644 index cf48ef34b..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch0/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -dep(''); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch0/output.transpiled.txt deleted file mode 100644 index a2b509805..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} - [1] ./.test/simpleDependency/app.ts 78 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch0/output.txt deleted file mode 100644 index 9374de47c..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [1] ./.test/simpleDependency/app.ts 78 bytes {0} [1 error] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] - -ERROR in ./.test/simpleDependency/app.ts -(3,5): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch1/bundle.js deleted file mode 100644 index cf48ef34b..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch1/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -dep(''); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch1/output.transpiled.txt deleted file mode 100644 index a2b509805..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} - [1] ./.test/simpleDependency/app.ts 78 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch1/output.txt deleted file mode 100644 index 02203bd47..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.3/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [1] ./.test/simpleDependency/app.ts 78 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.4/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.4/bundle.js deleted file mode 100644 index cf48ef34b..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -dep(''); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.4/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.4/output.txt deleted file mode 100644 index 0b43d09b6..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [1] ./.test/simpleDependency/app.ts 78 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch0/bundle.js deleted file mode 100644 index cf48ef34b..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch0/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -dep(''); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch0/output.transpiled.txt deleted file mode 100644 index a2b509805..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} - [1] ./.test/simpleDependency/app.ts 78 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch0/output.txt deleted file mode 100644 index 9374de47c..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [1] ./.test/simpleDependency/app.ts 78 bytes {0} [1 error] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] - -ERROR in ./.test/simpleDependency/app.ts -(3,5): error TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch1/bundle.js deleted file mode 100644 index cf48ef34b..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch1/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(0); -dep(''); - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch1/output.transpiled.txt deleted file mode 100644 index a2b509805..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} - [1] ./.test/simpleDependency/app.ts 78 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch1/output.txt deleted file mode 100644 index 02203bd47..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.4/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.04 kB 0 [emitted] main -chunk {0} bundle.js (main) 224 bytes [entry] [rendered] - [0] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [1] ./.test/simpleDependency/app.ts 78 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.5/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.5/bundle.js deleted file mode 100644 index fef0dd299..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(1); -dep(''); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.5/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.5/output.txt deleted file mode 100644 index 805201a40..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main - [0] ./.test/simpleDependency/app.ts 78 bytes {0} [built] - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch0/bundle.js deleted file mode 100644 index fef0dd299..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch0/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(1); -dep(''); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch0/output.transpiled.txt deleted file mode 100644 index 6b3bd5e24..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main - [0] ./.test/simpleDependency/app.ts 78 bytes {0} - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch0/output.txt deleted file mode 100644 index ab622a7f1..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main - [0] ./.test/simpleDependency/app.ts 78 bytes {0} [1 error] - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] - -ERROR in ./.test/simpleDependency/app.ts -[tsl] ERROR in app.ts(3,5) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch1/bundle.js deleted file mode 100644 index fef0dd299..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch1/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(1); -dep(''); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch1/output.transpiled.txt deleted file mode 100644 index 6b3bd5e24..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main - [0] ./.test/simpleDependency/app.ts 78 bytes {0} - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch1/output.txt deleted file mode 100644 index 514dbc69c..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.5/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main - [0] ./.test/simpleDependency/app.ts 78 bytes {0} - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.6/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.6/bundle.js deleted file mode 100644 index fef0dd299..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(1); -dep(''); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.6/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.6/output.txt deleted file mode 100644 index 805201a40..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main - [0] ./.test/simpleDependency/app.ts 78 bytes {0} [built] - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch0/bundle.js deleted file mode 100644 index fef0dd299..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch0/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(1); -dep(''); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch0/output.transpiled.txt deleted file mode 100644 index 6b3bd5e24..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main - [0] ./.test/simpleDependency/app.ts 78 bytes {0} - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch0/output.txt deleted file mode 100644 index ab622a7f1..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main - [0] ./.test/simpleDependency/app.ts 78 bytes {0} [1 error] - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] - -ERROR in ./.test/simpleDependency/app.ts -[tsl] ERROR in app.ts(3,5) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch1/bundle.js deleted file mode 100644 index fef0dd299..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch1/bundle.js +++ /dev/null @@ -1,99 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var dep = __webpack_require__(1); -dep(''); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dep = __webpack_require__(2); -module.exports = dep; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function doSomething(input) { -} -module.exports = doSomething; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch1/output.transpiled.txt deleted file mode 100644 index 6b3bd5e24..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main - [0] ./.test/simpleDependency/app.ts 78 bytes {0} - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch1/output.txt deleted file mode 100644 index 514dbc69c..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.6/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main - [0] ./.test/simpleDependency/app.ts 78 bytes {0} - [1] ./.test/simpleDependency/dep.ts 70 bytes {0} [built] - [2] ./.test/simpleDependency/deeperDep.ts 76 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.7/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.7/bundle.js deleted file mode 100644 index 504a3b869..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 8d6c75bd0..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:28 - Asset Size Chunks Chunk Names -bundle.js 3.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.7/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.7/output.txt deleted file mode 100644 index 399fbf3d1..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:23 - Asset Size Chunks Chunk Names -bundle.js 3.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch0/bundle.js deleted file mode 100644 index 504a3b869..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch0/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch0/output.transpiled.txt deleted file mode 100644 index 1acc63258..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:31 - Asset Size Chunks Chunk Names -bundle.js 3.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch0/output.txt deleted file mode 100644 index b8cb0f61e..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch0/output.txt +++ /dev/null @@ -1,12 +0,0 @@ -Built at: 2018-3-18 09:20:25 - Asset Size Chunks Chunk Names -bundle.js 3.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [1 error] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,5) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch1/bundle.js deleted file mode 100644 index 504a3b869..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch1/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch1/output.transpiled.txt deleted file mode 100644 index 1c3719086..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:34 - Asset Size Chunks Chunk Names -bundle.js 3.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch1/output.txt deleted file mode 100644 index dfb6aafc7..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.7/patch1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:28 - Asset Size Chunks Chunk Names -bundle.js 3.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.8/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.8/bundle.js deleted file mode 100644 index 504a3b869..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 8d6c75bd0..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:28 - Asset Size Chunks Chunk Names -bundle.js 3.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.8/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.8/output.txt deleted file mode 100644 index a392e054a..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch0/bundle.js deleted file mode 100644 index 504a3b869..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch0/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch0/output.transpiled.txt deleted file mode 100644 index 054a5ad06..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch0/output.txt deleted file mode 100644 index c11890744..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [1 error] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,5) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch1/bundle.js deleted file mode 100644 index 504a3b869..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch1/bundle.js +++ /dev/null @@ -1,110 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch1/output.transpiled.txt deleted file mode 100644 index 054a5ad06..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch1/output.txt deleted file mode 100644 index 8b36f9037..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.8/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 8d6c75bd0..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ -Built at: 2018-3-18 09:20:28 - Asset Size Chunks Chunk Names -bundle.js 3.57 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.9/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.9/patch0/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.9/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.9/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.9/patch0/output.txt deleted file mode 100644 index 74cb33e07..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.9/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [1 error] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,5) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.9/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-2.9/patch1/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.9/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.0/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index a01fdfb5e..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.0/output.txt deleted file mode 100644 index a01fdfb5e..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/bundle.transpiled.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/bundle.transpiled.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/output.txt deleted file mode 100644 index 74cb33e07..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [1 error] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,5) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/bundle.transpiled.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/bundle.transpiled.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/output.txt deleted file mode 100644 index 46622b920..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.0/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.1/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index a01fdfb5e..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.1/output.txt deleted file mode 100644 index a01fdfb5e..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/bundle.transpiled.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/bundle.transpiled.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/output.txt deleted file mode 100644 index 74cb33e07..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [1 error] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,5) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/bundle.transpiled.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/bundle.transpiled.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/output.txt deleted file mode 100644 index 46622b920..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.1/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.2/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.2/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index a01fdfb5e..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.2/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.2/output.txt deleted file mode 100644 index a01fdfb5e..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/bundle.transpiled.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/bundle.transpiled.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/output.txt deleted file mode 100644 index 74cb33e07..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [1 error] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,5) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/bundle.transpiled.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/bundle.transpiled.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/output.txt deleted file mode 100644 index 46622b920..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.2/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.3/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.3/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index a01fdfb5e..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.3/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.3/output.txt deleted file mode 100644 index a01fdfb5e..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/bundle.transpiled.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/bundle.transpiled.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/output.txt deleted file mode 100644 index 74cb33e07..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [1 error] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,5) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/bundle.transpiled.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/bundle.transpiled.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/output.txt deleted file mode 100644 index 46622b920..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.3/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.4/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.4/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index a01fdfb5e..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.4/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.4/output.txt deleted file mode 100644 index a01fdfb5e..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/bundle.transpiled.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/bundle.transpiled.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/output.txt deleted file mode 100644 index 74cb33e07..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [1 error] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,5) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/bundle.transpiled.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/bundle.transpiled.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/output.txt deleted file mode 100644 index 46622b920..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.4/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.5/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.5/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index a01fdfb5e..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.5/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.5/output.txt deleted file mode 100644 index a01fdfb5e..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [built] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/bundle.transpiled.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/bundle.transpiled.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/output.txt deleted file mode 100644 index 74cb33e07..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} [1 error] -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(3,5) - TS2345: Argument of type '""' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/bundle.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/bundle.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/bundle.transpiled.js deleted file mode 100644 index c0a362098..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/bundle.transpiled.js +++ /dev/null @@ -1,125 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/output.transpiled.txt deleted file mode 100644 index 7b9f56949..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/output.txt deleted file mode 100644 index 46622b920..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-3.5/patch1/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 78 bytes {main} -[./deeperDep.ts] 76 bytes {main} [built] -[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.9/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-2.9/bundle.js rename to test/comparison-tests/simpleDependency/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.9/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-2.9/output.txt rename to test/comparison-tests/simpleDependency/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.9/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-2.9/patch0/bundle.js rename to test/comparison-tests/simpleDependency/expectedOutput-4.0/patch0/bundle.js diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.0/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.0/patch0/output.txt new file mode 100644 index 000000000..0f981418b --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-4.0/patch0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.53 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 78 bytes {main} [1 error] +[./deeperDep.ts] 76 bytes {main} [built] +[./dep.ts] 70 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,5) + TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.9/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-4.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-2.9/patch1/bundle.js rename to test/comparison-tests/simpleDependency/expectedOutput-4.0/patch1/bundle.js diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.9/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-2.9/patch1/output.txt rename to test/comparison-tests/simpleDependency/expectedOutput-4.0/patch1/output.txt diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..b2030b4d6 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./deeperDep.ts": +/*!**********************!*\ + !*** ./deeperDep.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..9205705a9 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.57 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 114 bytes {main} [built] +[./deeperDep.ts] 76 bytes {main} [built] +[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch0/bundle.js new file mode 100644 index 000000000..b2030b4d6 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./deeperDep.ts": +/*!**********************!*\ + !*** ./deeperDep.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch0/output.txt new file mode 100644 index 000000000..3e9f611a1 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.57 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 114 bytes {main} +[./deeperDep.ts] 76 bytes {main} [built] +[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch1/bundle.js new file mode 100644 index 000000000..b2030b4d6 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./deeperDep.ts": +/*!**********************!*\ + !*** ./deeperDep.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch1/output.txt new file mode 100644 index 000000000..3e9f611a1 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.0/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.57 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 114 bytes {main} +[./deeperDep.ts] 76 bytes {main} [built] +[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-1.6/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-1.6/bundle.js deleted file mode 100644 index 49fa50b4f..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - console.log('Hello world'); - - -/***/ } -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-1.6/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-1.6/bundle.js.map deleted file mode 100644 index 66d9f64e4..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-1.6/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;ACtCA,QAAO,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\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap [hash]\n **/","console.log('Hello world')\n\n\n/** WEBPACK FOOTER **\n ** ./a.ts\n **/"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-1.6/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-1.6/output.txt deleted file mode 100644 index a912ea5a1..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 1.54 kB 0 [emitted] main -bundle.js.map 1.57 kB 0 [emitted] main -chunk {0} bundle.js, bundle.js.map (main) 28 bytes [rendered] - [0] ./.test/sourceMaps/a.ts 28 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-1.7/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-1.7/bundle.js deleted file mode 100644 index 49fa50b4f..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - console.log('Hello world'); - - -/***/ } -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-1.7/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-1.7/bundle.js.map deleted file mode 100644 index 66d9f64e4..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-1.7/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;ACtCA,QAAO,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\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap [hash]\n **/","console.log('Hello world')\n\n\n/** WEBPACK FOOTER **\n ** ./a.ts\n **/"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-1.7/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-1.7/output.txt deleted file mode 100644 index a912ea5a1..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 1.54 kB 0 [emitted] main -bundle.js.map 1.57 kB 0 [emitted] main -chunk {0} bundle.js, bundle.js.map (main) 28 bytes [rendered] - [0] ./.test/sourceMaps/a.ts 28 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.js deleted file mode 100644 index 49fa50b4f..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - console.log('Hello world'); - - -/***/ } -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.js.map deleted file mode 100644 index 66d9f64e4..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;ACtCA,QAAO,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\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap [hash]\n **/","console.log('Hello world')\n\n\n/** WEBPACK FOOTER **\n ** ./a.ts\n **/"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.js.transpiled.map b/test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.js.transpiled.map deleted file mode 100644 index c96241f5a..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.js.transpiled.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;ACtCA,QAAO,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\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap [hash]\n **/","console.log('Hello world')\n\n\n/** WEBPACK FOOTER **\n ** ./a.ts\n **/"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.transpiled.js b/test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.transpiled.js deleted file mode 100644 index 75b3cb58a..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-1.8/bundle.transpiled.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log('Hello world'); - - -/***/ } -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/sourceMaps/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index 6f7712e6e..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 1.55 kB 0 [emitted] main -bundle.js.map 1.57 kB 0 [emitted] main -chunk {0} bundle.js, bundle.js.map (main) 42 bytes [rendered] - [0] ./.test/sourceMaps/a.ts 42 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-1.8/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-1.8/output.txt deleted file mode 100644 index a912ea5a1..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 1.54 kB 0 [emitted] main -bundle.js.map 1.57 kB 0 [emitted] main -chunk {0} bundle.js, bundle.js.map (main) 28 bytes [rendered] - [0] ./.test/sourceMaps/a.ts 28 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.js deleted file mode 100644 index 49fa50b4f..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,52 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - console.log('Hello world'); - - -/***/ } -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.js.map deleted file mode 100644 index ae9d844b8..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;ACtCA,QAAO,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\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(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.0/bundle.js.transpiled.map b/test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.js.transpiled.map deleted file mode 100644 index f0ad72a2e..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.js.transpiled.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;ACtCA,QAAO,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\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(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.0/bundle.transpiled.js b/test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index 75b3cb58a..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,53 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - console.log('Hello world'); - - -/***/ } -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index 412af416a..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 1.55 kB 0 [emitted] main -bundle.js.map 1.55 kB 0 [emitted] main -chunk {0} bundle.js, bundle.js.map (main) 42 bytes [rendered] - [0] ./.test/sourceMaps/a.ts 42 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.0/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.0/output.txt deleted file mode 100644 index 6a3ed44d3..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 1.54 kB 0 [emitted] main -bundle.js.map 1.55 kB 0 [emitted] main -chunk {0} bundle.js, bundle.js.map (main) 28 bytes [rendered] - [0] ./.test/sourceMaps/a.ts 28 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.js deleted file mode 100644 index 49765d559..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('Hello world'); - - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.js.map deleted file mode 100644 index ad544c898..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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 diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.js.transpiled.map b/test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.js.transpiled.map deleted file mode 100644 index 233716d01..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.js.transpiled.map +++ /dev/null @@ -1 +0,0 @@ -{"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 diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index acb0c8de2..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,80 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -console.log('Hello world'); - - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index a9be2ee4c..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 2.73 kB 0 [emitted] main -bundle.js.map 2.74 kB 0 [emitted] main -chunk {0} bundle.js, bundle.js.map (main) 42 bytes [entry] [rendered] - [0] ./.test/sourceMaps/a.ts 42 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.1/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.1/output.txt deleted file mode 100644 index dc0c9b468..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 2.69 kB 0 [emitted] main -bundle.js.map 2.74 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/sourceMaps/expectedOutput-2.2/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js deleted file mode 100644 index 09bbc64d0..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('Hello world'); - - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.map deleted file mode 100644 index e62b9bf5e..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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 deleted file mode 100644 index f620aa99f..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.transpiled.map +++ /dev/null @@ -1 +0,0 @@ -{"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 deleted file mode 100644 index 588cd342f..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,81 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -console.log('Hello world'); - - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index 0eed5e1fb..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - 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 deleted file mode 100644 index 5dc2d0e46..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - 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/sourceMaps/expectedOutput-2.3/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-2.3/bundle.js deleted file mode 100644 index 09bbc64d0..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('Hello world'); - - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.3/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-2.3/bundle.js.map deleted file mode 100644 index e62b9bf5e..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.3/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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.3/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.3/output.txt deleted file mode 100644 index 5dc2d0e46..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - 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/sourceMaps/expectedOutput-2.4/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-2.4/bundle.js deleted file mode 100644 index 09bbc64d0..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('Hello world'); - - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.4/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-2.4/bundle.js.map deleted file mode 100644 index e62b9bf5e..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.4/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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.4/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.4/output.txt deleted file mode 100644 index 5dc2d0e46..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - 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/sourceMaps/expectedOutput-2.5/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-2.5/bundle.js deleted file mode 100644 index 4755871db..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('Hello world'); - - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.5/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-2.5/bundle.js.map deleted file mode 100644 index 410c25f38..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.5/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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;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;;;;;;;AC7DA,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// 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.5/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.5/output.txt deleted file mode 100644 index 2fece8175..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 2.54 kB 0 [emitted] main -bundle.js.map 2.58 kB 0 [emitted] main - [0] ./.test/sourceMaps/a.ts 28 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.6/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-2.6/bundle.js deleted file mode 100644 index 4755871db..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,75 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -console.log('Hello world'); - - -/***/ }) -/******/ ]); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.6/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-2.6/bundle.js.map deleted file mode 100644 index 410c25f38..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.6/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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;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;;;;;;;AC7DA,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// 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.6/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.6/output.txt deleted file mode 100644 index 2fece8175..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 2.54 kB 0 [emitted] main -bundle.js.map 2.58 kB 0 [emitted] main - [0] ./.test/sourceMaps/a.ts 28 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.7/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-2.7/bundle.js deleted file mode 100644 index 87f1c8aee..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -console.log('Hello world'); - - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.7/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-2.7/bundle.js.map deleted file mode 100644 index 91616eda5..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.7/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;ACnEA,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// 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// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.7/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.7/output.txt deleted file mode 100644 index a501d6012..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:20:38 - Asset Size Chunks Chunk Names - bundle.js 2.78 KiB main [emitted] main -bundle.js.map 2.61 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.8/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-2.8/bundle.js deleted file mode 100644 index 87f1c8aee..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -console.log('Hello world'); - - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.8/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-2.8/bundle.js.map deleted file mode 100644 index 91616eda5..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.8/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;ACnEA,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// 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// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.8/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.8/output.txt deleted file mode 100644 index 77efe9c42..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 2.78 KiB main [emitted] main -bundle.js.map 2.61 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.9/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-2.9/bundle.js.map deleted file mode 100644 index 957a153cf..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.9/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;AClFA,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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.9/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.9/output.txt deleted file mode 100644 index 79976eca9..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.74 KiB main [emitted] main -bundle.js.map 3.61 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.0/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-3.0/bundle.js.map deleted file mode 100644 index 957a153cf..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.0/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;AClFA,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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.0/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-3.0/output.txt deleted file mode 100644 index 79976eca9..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.74 KiB main [emitted] main -bundle.js.map 3.61 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.1/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-3.1/bundle.js deleted file mode 100644 index f3d4c05b6..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -console.log('Hello world'); - - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.1/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-3.1/bundle.js.map deleted file mode 100644 index 957a153cf..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.1/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;AClFA,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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.1/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-3.1/output.txt deleted file mode 100644 index 79976eca9..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.74 KiB main [emitted] main -bundle.js.map 3.61 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.2/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-3.2/bundle.js deleted file mode 100644 index f3d4c05b6..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -console.log('Hello world'); - - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.2/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-3.2/bundle.js.map deleted file mode 100644 index 957a153cf..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.2/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;AClFA,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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.2/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-3.2/output.txt deleted file mode 100644 index 79976eca9..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.74 KiB main [emitted] main -bundle.js.map 3.61 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.3/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-3.3/bundle.js deleted file mode 100644 index f3d4c05b6..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -console.log('Hello world'); - - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.3/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-3.3/bundle.js.map deleted file mode 100644 index 957a153cf..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.3/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;AClFA,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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.3/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-3.3/output.txt deleted file mode 100644 index 79976eca9..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.74 KiB main [emitted] main -bundle.js.map 3.61 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.4/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-3.4/bundle.js deleted file mode 100644 index f3d4c05b6..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -console.log('Hello world'); - - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.4/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-3.4/bundle.js.map deleted file mode 100644 index 957a153cf..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.4/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;AClFA,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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.4/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-3.4/output.txt deleted file mode 100644 index 79976eca9..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.74 KiB main [emitted] main -bundle.js.map 3.61 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.5/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-3.5/bundle.js deleted file mode 100644 index f3d4c05b6..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,102 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -console.log('Hello world'); - - -/***/ }) - -/******/ }); -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.5/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-3.5/bundle.js.map deleted file mode 100644 index 957a153cf..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.5/bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","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;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;AClFA,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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.5/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-3.5/output.txt deleted file mode 100644 index 79976eca9..000000000 --- a/test/comparison-tests/sourceMaps/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names - bundle.js 3.74 KiB main [emitted] main -bundle.js.map 3.61 KiB main [emitted] main -Entrypoint main = bundle.js bundle.js.map -[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.9/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/sourceMaps/expectedOutput-2.9/bundle.js rename to test/comparison-tests/sourceMaps/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/sourceMaps/expectedOutput-4.0/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-4.0/bundle.js.map new file mode 100644 index 000000000..91873324b --- /dev/null +++ b/test/comparison-tests/sourceMaps/expectedOutput-4.0/bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./a.ts"],"names":[],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;AClFA,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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-4.0/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..536e8d3a9 --- /dev/null +++ b/test/comparison-tests/sourceMaps/expectedOutput-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names + bundle.js 3.74 KiB main [emitted] main +bundle.js.map 3.61 KiB main [emitted] [dev] main +Entrypoint main = bundle.js bundle.js.map +[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-3.0/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/sourceMaps/expectedOutput-3.0/bundle.js rename to test/comparison-tests/sourceMaps/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.0/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.0/bundle.js.map new file mode 100644 index 000000000..91873324b --- /dev/null +++ b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.0/bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./a.ts"],"names":[],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;AClFA,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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..536e8d3a9 --- /dev/null +++ b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names + bundle.js 3.74 KiB main [emitted] main +bundle.js.map 3.61 KiB main [emitted] [dev] main +Entrypoint main = bundle.js bundle.js.map +[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/stub-new-version.js b/test/comparison-tests/stub-new-version.js index ea72dfc7c..1b076cf7c 100644 --- a/test/comparison-tests/stub-new-version.js +++ b/test/comparison-tests/stub-new-version.js @@ -4,9 +4,12 @@ const path = require('path'); const mkdirp = require('mkdirp'); const copySync = require('./copySync'); +// BASH script to delete old test output +// find ./test/comparison-tests -type d -name '*expectedOutput*3.5' -print0 | xargs -0 -I {} /bin/rm -rf "{}" + // update this manually when a new version comes out -const OLD_VERSION = '3.8'; -const NEW_VERSION = '3.9'; +const OLD_VERSION = '3.9'; +const NEW_VERSION = '4.0'; fs.readdirSync(__dirname).forEach(function(test) { const testPath = path.join(__dirname, test); diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-1.6/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-1.6/output.txt deleted file mode 100644 index 77a28519e..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - -ERROR in tsconfig.json -error TS6047: Argument for '--target' option must be 'ES3', 'ES5', or 'ES6'. - -ERROR in tsconfig.json -error TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in ./.test/tsconfigInvalid/app.ts -Module build failed: error while parsing tsconfig.json \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-1.7/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-1.7/output.txt deleted file mode 100644 index 77a28519e..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - -ERROR in tsconfig.json -error TS6047: Argument for '--target' option must be 'ES3', 'ES5', or 'ES6'. - -ERROR in tsconfig.json -error TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in ./.test/tsconfigInvalid/app.ts -Module build failed: error while parsing tsconfig.json \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-1.8/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-1.8/output.txt deleted file mode 100644 index b49a632e3..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - -ERROR in tsconfig.json -error TS6047: Argument for '--target' option must be 'ES3', 'ES5', or 'ES2015'. - -ERROR in tsconfig.json -error TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in ./.test/tsconfigInvalid/app.ts -Module build failed: error while parsing tsconfig.json \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.0/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.0/output.txt deleted file mode 100644 index 8a01b3e34..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - -ERROR in tsconfig.json -error TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015' - -ERROR in tsconfig.json -error TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in ./.test/tsconfigInvalid/app.ts -Module build failed: error while parsing tsconfig.json \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.1/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.1/bundle.js deleted file mode 100644 index 71ff2fc2f..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror while parsing tsconfig.json\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.1/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.1/output.txt deleted file mode 100644 index 0c76e4dd3..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.6 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] - -ERROR in tsconfig.json -error TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'esnext' - -ERROR in tsconfig.json -error TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in ./.test/tsconfigInvalid/app.ts -Module build failed: error while parsing tsconfig.json \ 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 deleted file mode 100644 index b3736f86f..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror while parsing tsconfig.json\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/output.txt deleted file mode 100644 index 14960c078..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in tsconfig.json -error TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'esnext' - -ERROR in tsconfig.json -error TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in ./.test/tsconfigInvalid/app.ts -Module build failed: error while parsing tsconfig.json \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.3/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.3/bundle.js deleted file mode 100644 index b3736f86f..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror while parsing tsconfig.json\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.3/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.3/output.txt deleted file mode 100644 index 1779d7fd0..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in tsconfig.json -error TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'esnext'. - -ERROR in tsconfig.json -error TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in ./.test/tsconfigInvalid/app.ts -Module build failed: error while parsing tsconfig.json \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.4/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.4/bundle.js deleted file mode 100644 index b3736f86f..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror while parsing tsconfig.json\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.4/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.4/output.txt deleted file mode 100644 index 1779d7fd0..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in tsconfig.json -error TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'esnext'. - -ERROR in tsconfig.json -error TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in ./.test/tsconfigInvalid/app.ts -Module build failed: error while parsing tsconfig.json \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.5/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.5/bundle.js deleted file mode 100644 index 1e11ce500..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror while parsing tsconfig.json\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.5/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.5/output.txt deleted file mode 100644 index d3527429b..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,14 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main - [0] ./.test/tsconfigInvalid/app.ts 94 bytes {0} [built] [failed] [3 errors] - -ERROR in tsconfig.json -[tsl] ERROR - TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in tsconfig.json -[tsl] ERROR - TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'esnext'. - -ERROR in ./.test/tsconfigInvalid/app.ts -Module build failed: error while parsing tsconfig.json \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.6/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.6/bundle.js deleted file mode 100644 index 1e11ce500..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror while parsing tsconfig.json\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.6/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.6/output.txt deleted file mode 100644 index d3527429b..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,14 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.57 kB 0 [emitted] main - [0] ./.test/tsconfigInvalid/app.ts 94 bytes {0} [built] [failed] [3 errors] - -ERROR in tsconfig.json -[tsl] ERROR - TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in tsconfig.json -[tsl] ERROR - TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'esnext'. - -ERROR in ./.test/tsconfigInvalid/app.ts -Module build failed: error while parsing tsconfig.json \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.7/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.7/bundle.js deleted file mode 100644 index 71a0c1455..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: /u001b[31merror while parsing tsconfig.json/u001b[39m\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.7/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.7/output.txt deleted file mode 100644 index 9b9cd226d..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,16 +0,0 @@ -Built at: 2018-3-18 09:20:43 - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 94 bytes {main} [built] [failed] [3 errors] - -ERROR in tsconfig.json -[tsl] ERROR - TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in tsconfig.json -[tsl] ERROR - TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'esnext'. - -ERROR in ./app.ts -Module build failed: error while parsing tsconfig.json \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.8/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.8/bundle.js deleted file mode 100644 index 71a0c1455..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: /u001b[31merror while parsing tsconfig.json/u001b[39m\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.8/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.8/output.txt deleted file mode 100644 index 9abb50004..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.87 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 94 bytes {main} [built] [failed] [3 errors] - -ERROR in tsconfig.json -[tsl] ERROR - TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in tsconfig.json -[tsl] ERROR - TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'esnext'. - -ERROR in ./app.ts -Module build failed: error while parsing tsconfig.json \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.9/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.9/bundle.js deleted file mode 100644 index 3c19ed8d9..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: Error: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.9/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.9/output.txt deleted file mode 100644 index b161c91a3..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,16 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.91 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 169 bytes {main} [built] [failed] [3 errors] - -ERROR in tsconfig.json -[tsl] ERROR - TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in tsconfig.json -[tsl] ERROR - TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'esnext'. - -ERROR in ./app.ts -Module build failed: Error: error while parsing tsconfig.json - at Object.loader (dist\index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.0/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-3.0/output.txt deleted file mode 100644 index bcf8314bb..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 206 bytes {main} [built] [failed] [3 errors] - -ERROR in tsconfig.json -[tsl] ERROR - TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in tsconfig.json -[tsl] ERROR - TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'esnext'. - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while parsing tsconfig.json - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.1/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-3.1/bundle.js deleted file mode 100644 index 304f7229b..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.1/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-3.1/output.txt deleted file mode 100644 index bcf8314bb..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 206 bytes {main} [built] [failed] [3 errors] - -ERROR in tsconfig.json -[tsl] ERROR - TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in tsconfig.json -[tsl] ERROR - TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'esnext'. - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while parsing tsconfig.json - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.2/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-3.2/bundle.js deleted file mode 100644 index 304f7229b..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.2/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-3.2/output.txt deleted file mode 100644 index bcf8314bb..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 206 bytes {main} [built] [failed] [3 errors] - -ERROR in tsconfig.json -[tsl] ERROR - TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in tsconfig.json -[tsl] ERROR - TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'esnext'. - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while parsing tsconfig.json - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.3/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-3.3/bundle.js deleted file mode 100644 index 304f7229b..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.3/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-3.3/output.txt deleted file mode 100644 index bcf8314bb..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 206 bytes {main} [built] [failed] [3 errors] - -ERROR in tsconfig.json -[tsl] ERROR - TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in tsconfig.json -[tsl] ERROR - TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'esnext'. - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while parsing tsconfig.json - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.4/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-3.4/bundle.js deleted file mode 100644 index 304f7229b..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.4/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-3.4/output.txt deleted file mode 100644 index 95c93db90..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,17 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 206 bytes {main} [built] [failed] [3 errors] - -ERROR in tsconfig.json -[tsl] ERROR - TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in tsconfig.json -[tsl] ERROR - TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'esnext'. - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while parsing tsconfig.json - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.5/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-3.5/bundle.js deleted file mode 100644 index 304f7229b..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.0/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/tsconfigInvalid/expectedOutput-3.0/bundle.js rename to test/comparison-tests/tsconfigInvalid/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-3.5/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/tsconfigInvalid/expectedOutput-3.5/output.txt rename to test/comparison-tests/tsconfigInvalid/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..037bd4b00 --- /dev/null +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..5748796f9 --- /dev/null +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,17 @@ + Asset Size Chunks Chunk Names +bundle.js 3.94 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 206 bytes {main} [built] [failed] [3 errors] + +ERROR in tsconfig.json +[tsl] ERROR + TS5024: Compiler option 'sourceMap' requires a value of type boolean. + +ERROR in tsconfig.json +[tsl] ERROR + TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'esnext'. + +ERROR in ./app.ts +Module build failed (from index.js): +Error: error while parsing tsconfig.json + at Object.loader (dist/index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.6/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.6/bundle.transpiled.js deleted file mode 100644 index 53daa020b..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.6/bundle.transpiled.js +++ /dev/null @@ -1,50 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.6/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.6/output.transpiled.txt deleted file mode 100644 index d47d7531c..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.6/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.39 kB 0 [emitted] main -chunk {0} bundle.js (main) 0 bytes [rendered] - [0] ./.test/tsconfigInvalidFile/app.ts 0 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.6/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.6/output.txt deleted file mode 100644 index 32c729263..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - -ERROR in ./.test/tsconfigInvalidFile/app.ts -Module build failed: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.7/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.7/bundle.transpiled.js deleted file mode 100644 index 53daa020b..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.7/bundle.transpiled.js +++ /dev/null @@ -1,50 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.7/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.7/output.transpiled.txt deleted file mode 100644 index d47d7531c..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.7/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.39 kB 0 [emitted] main -chunk {0} bundle.js (main) 0 bytes [rendered] - [0] ./.test/tsconfigInvalidFile/app.ts 0 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.7/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.7/output.txt deleted file mode 100644 index 32c729263..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - -ERROR in ./.test/tsconfigInvalidFile/app.ts -Module build failed: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.8/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.8/bundle.transpiled.js deleted file mode 100644 index 5650b52eb..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.8/bundle.transpiled.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index 04ed019a5..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.4 kB 0 [emitted] main -chunk {0} bundle.js (main) 14 bytes [rendered] - [0] ./.test/tsconfigInvalidFile/app.ts 14 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.8/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.8/output.txt deleted file mode 100644 index 32c729263..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - -ERROR in ./.test/tsconfigInvalidFile/app.ts -Module build failed: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.0/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index 5650b52eb..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,51 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index 04ed019a5..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.4 kB 0 [emitted] main -chunk {0} bundle.js (main) 14 bytes [rendered] - [0] ./.test/tsconfigInvalidFile/app.ts 14 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.0/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.0/output.txt deleted file mode 100644 index 32c729263..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - -ERROR in ./.test/tsconfigInvalidFile/app.ts -Module build failed: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/bundle.js deleted file mode 100644 index a0fb7cb97..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /tsconfigInvalidFile/i-am-a-file-what-does-not-exist.ts\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index fb8e63b24..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,78 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index f6d52711f..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.54 kB 0 [emitted] main -chunk {0} bundle.js (main) 14 bytes [entry] [rendered] - [0] ./.test/tsconfigInvalidFile/app.ts 14 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/output.txt deleted file mode 100644 index af05fbb1e..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 200 bytes [entry] [rendered] - [0] ./.test/tsconfigInvalidFile/app.ts 200 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigInvalidFile/app.ts -Module build failed: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.js deleted file mode 100644 index 6eba2f880..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /tsconfigInvalidFile/i-am-a-file-what-does-not-exist.ts\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.transpiled.js deleted file mode 100644 index a0b37bb1d..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,79 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index 1c2394884..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - 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/tsconfigInvalidFile/expectedOutput-2.2/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/output.txt deleted file mode 100644 index 25ddb1aa0..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 200 bytes [entry] [rendered] - [0] ./.test/tsconfigInvalidFile/app.ts 200 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigInvalidFile/app.ts -Module build failed: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/bundle.js deleted file mode 100644 index 6eba2f880..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /tsconfigInvalidFile/i-am-a-file-what-does-not-exist.ts\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/bundle.transpiled.js deleted file mode 100644 index 42acaad36..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/bundle.transpiled.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index f0d6551c9..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.63 kB 0 [emitted] main -chunk {0} bundle.js (main) 0 bytes [entry] [rendered] - [0] ./.test/tsconfigInvalidFile/app.ts 0 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/output.txt deleted file mode 100644 index 83531517b..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.84 kB 0 [emitted] main -chunk {0} bundle.js (main) 205 bytes [entry] [rendered] - [0] ./.test/tsconfigInvalidFile/app.ts 205 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigInvalidFile/app.ts -Module build failed: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/bundle.js deleted file mode 100644 index 6eba2f880..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /tsconfigInvalidFile/i-am-a-file-what-does-not-exist.ts\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/bundle.transpiled.js deleted file mode 100644 index 42acaad36..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/bundle.transpiled.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index f0d6551c9..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.63 kB 0 [emitted] main -chunk {0} bundle.js (main) 0 bytes [entry] [rendered] - [0] ./.test/tsconfigInvalidFile/app.ts 0 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/output.txt deleted file mode 100644 index 25ddb1aa0..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 200 bytes [entry] [rendered] - [0] ./.test/tsconfigInvalidFile/app.ts 200 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigInvalidFile/app.ts -Module build failed: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/bundle.js deleted file mode 100644 index e3b711d05..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /tsconfigInvalidFile/i-am-a-file-what-does-not-exist.ts\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/bundle.transpiled.js deleted file mode 100644 index 30d65ea5b..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/bundle.transpiled.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index 7487113ee..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.47 kB 0 [emitted] main - [0] ./.test/tsconfigInvalidFile/app.ts 0 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/output.txt deleted file mode 100644 index b919b0cce..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.67 kB 0 [emitted] main - [0] ./.test/tsconfigInvalidFile/app.ts 200 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigInvalidFile/app.ts -Module build failed: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/bundle.js deleted file mode 100644 index e3b711d05..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31mA file specified in tsconfig.json could not be found: /tsconfigInvalidFile/i-am-a-file-what-does-not-exist.ts\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/bundle.transpiled.js deleted file mode 100644 index 30d65ea5b..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/bundle.transpiled.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index 7487113ee..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.47 kB 0 [emitted] main - [0] ./.test/tsconfigInvalidFile/app.ts 0 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/output.txt deleted file mode 100644 index b919b0cce..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,6 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.67 kB 0 [emitted] main - [0] ./.test/tsconfigInvalidFile/app.ts 200 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigInvalidFile/app.ts -Module build failed: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/bundle.js deleted file mode 100644 index 00efc2f99..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//tsconfigInvalidFile//i-am-a-file-what-does-not-exist.ts/u001b[39m\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/bundle.transpiled.js deleted file mode 100644 index 9cb87268a..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/bundle.transpiled.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index b4d53a502..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:20:47 - Asset Size Chunks Chunk Names -bundle.js 2.77 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 0 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/output.txt deleted file mode 100644 index 5639563bc..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -Built at: 2018-3-18 09:20:46 - Asset Size Chunks Chunk Names -bundle.js 2.98 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 200 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/bundle.js deleted file mode 100644 index 00efc2f99..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//tsconfigInvalidFile//i-am-a-file-what-does-not-exist.ts/u001b[39m\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/bundle.transpiled.js deleted file mode 100644 index 9cb87268a..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/bundle.transpiled.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 551dc48fa..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.77 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 0 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/output.txt deleted file mode 100644 index 32aba1d5d..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.98 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 200 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.9/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.9/bundle.js deleted file mode 100644 index 852be5931..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: Error: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//tsconfigInvalidFile//i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.9/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.9/output.txt deleted file mode 100644 index 7c8b75364..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.03 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 275 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed: Error: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts - at Object.loader (dist\index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.0/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.0/bundle.transpiled.js deleted file mode 100644 index 4906581d6..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.0/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 6a1feb334..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.73 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 0 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/bundle.js deleted file mode 100644 index b3cc9379a..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//tsconfigInvalidFile//i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/bundle.transpiled.js deleted file mode 100644 index 4906581d6..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 6a1feb334..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.73 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 0 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/output.txt deleted file mode 100644 index 993192773..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/bundle.js deleted file mode 100644 index b3cc9379a..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//tsconfigInvalidFile//i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/bundle.transpiled.js deleted file mode 100644 index 4906581d6..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 6a1feb334..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.73 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 0 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/output.txt deleted file mode 100644 index 993192773..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/bundle.js deleted file mode 100644 index b3cc9379a..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//tsconfigInvalidFile//i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/bundle.transpiled.js deleted file mode 100644 index 4906581d6..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 6a1feb334..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.73 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 0 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/output.txt deleted file mode 100644 index 993192773..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/bundle.js deleted file mode 100644 index b3cc9379a..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//tsconfigInvalidFile//i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/bundle.transpiled.js deleted file mode 100644 index 4906581d6..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 6a1feb334..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.73 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 0 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/output.txt deleted file mode 100644 index 993192773..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/bundle.js deleted file mode 100644 index b3cc9379a..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: C://source//ts-loader//.test//tsconfigInvalidFile//i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/bundle.transpiled.js deleted file mode 100644 index 4906581d6..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 6a1feb334..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.73 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 0 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/output.txt deleted file mode 100644 index 993192773..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.06 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 312 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.0/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.0/bundle.js rename to test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.0/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.0/output.txt rename to test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.9/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.9/bundle.transpiled.js rename to test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.9/output.transpiled.txt rename to test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/instance/_FLAKY_ b/test/comparison-tests/tsconfigNotReadable/_FLAKY_ similarity index 100% rename from test/comparison-tests/instance/_FLAKY_ rename to test/comparison-tests/tsconfigNotReadable/_FLAKY_ diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-1.6/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-1.6/output.txt deleted file mode 100644 index 84bc777ce..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error TS5014: Failed to parse file 'tsconfig.json': Unexpected token /. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-1.7/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-1.7/output.txt deleted file mode 100644 index 84bc777ce..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error TS5014: Failed to parse file 'tsconfig.json': Unexpected token /. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-1.8/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-1.8/output.txt deleted file mode 100644 index 4a889651d..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error TS5014: Failed to parse file 'tsconfig.json': Unexpected token .. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.0/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.0/output.txt deleted file mode 100644 index a69aaf953..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error TS5014: Failed to parse file 'tsconfig.json': Unexpected token . in JSON at position 41. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/bundle.js deleted file mode 100644 index ba8bd2916..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror TS5014: Failed to parse file '/tsconfigNotReadable/tsconfig.json': Unexpected token . in JSON at position 41.\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index 5a900acf3..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror TS5014: Failed to parse file '/tsconfigNotReadable.transpile/tsconfig.json': Unexpected token . in JSON at position 41.\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index 36aee1a83..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main -chunk {0} bundle.js (main) 216 bytes [entry] [rendered] - [0] ./.test/tsconfigNotReadable/app.ts 216 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error TS5014: Failed to parse file 'tsconfig.json': Unexpected token . in JSON at position 41. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/output.txt deleted file mode 100644 index f8c601ca9..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.71 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] - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error TS5014: Failed to parse file 'tsconfig.json': Unexpected token . in JSON at position 41. \ 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 deleted file mode 100644 index ead4850ba..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror TS5014: Failed to parse file '/tsconfigNotReadable/tsconfig.json': Unexpected token . in JSON at position 41.\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.transpiled.js deleted file mode 100644 index bc487970b..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror TS5014: Failed to parse file '/tsconfigNotReadable.transpile/tsconfig.json': Unexpected token . in JSON at position 41.\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index 88f66dd51..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.85 kB 0 [emitted] main -chunk {0} bundle.js (main) 216 bytes [entry] [rendered] - [0] ./.test/tsconfigNotReadable/app.ts 216 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error TS5014: Failed to parse file 'tsconfig.json': Unexpected token . in JSON at position 41. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/output.txt deleted file mode 100644 index 6ce29af3c..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error TS5014: Failed to parse file 'tsconfig.json': Unexpected token . in JSON at position 41. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/bundle.js deleted file mode 100644 index ead4850ba..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror TS5014: Failed to parse file '/tsconfigNotReadable/tsconfig.json': Unexpected token . in JSON at position 41.\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/bundle.transpiled.js deleted file mode 100644 index bc487970b..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/bundle.transpiled.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror TS5014: Failed to parse file '/tsconfigNotReadable.transpile/tsconfig.json': Unexpected token . in JSON at position 41.\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/output.transpiled.txt deleted file mode 100644 index dc4e1ec6b..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.86 kB 0 [emitted] main -chunk {0} bundle.js (main) 221 bytes [entry] [rendered] - [0] ./.test/tsconfigNotReadable/app.ts 221 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error TS5014: Failed to parse file 'tsconfig.json': Unexpected token . in JSON at position 41. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/output.txt deleted file mode 100644 index dabb2b400..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.85 kB 0 [emitted] main -chunk {0} bundle.js (main) 211 bytes [entry] [rendered] - [0] ./.test/tsconfigNotReadable/app.ts 211 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error TS5014: Failed to parse file 'tsconfig.json': Unexpected token . in JSON at position 41. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/bundle.js deleted file mode 100644 index ead4850ba..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror TS5014: Failed to parse file '/tsconfigNotReadable/tsconfig.json': Unexpected token . in JSON at position 41.\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/bundle.transpiled.js deleted file mode 100644 index bc487970b..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/bundle.transpiled.js +++ /dev/null @@ -1,76 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror TS5014: Failed to parse file '/tsconfigNotReadable.transpile/tsconfig.json': Unexpected token . in JSON at position 41.\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/output.transpiled.txt deleted file mode 100644 index 88f66dd51..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/output.transpiled.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.85 kB 0 [emitted] main -chunk {0} bundle.js (main) 216 bytes [entry] [rendered] - [0] ./.test/tsconfigNotReadable/app.ts 216 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error TS5014: Failed to parse file 'tsconfig.json': Unexpected token . in JSON at position 41. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/output.txt deleted file mode 100644 index 6ce29af3c..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,7 +0,0 @@ - Asset Size Chunks Chunk Names -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] - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error TS5014: Failed to parse file 'tsconfig.json': Unexpected token . in JSON at position 41. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/bundle.js deleted file mode 100644 index 98637a4ac..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror while reading tsconfig.json:\u001b[39m\r\n\u001b[31m\u001b[90m[tsl] \u001b[31m\u001b[1m\u001b[31mERROR\u001b[31m\u001b[22m\u001b[1m\u001b[31m in \u001b[31m\u001b[22m\u001b[1m\u001b[36m/tsconfigNotReadable/tsconfig.json(5,2)\u001b[31m\u001b[22m\u001b[39m\r\n\u001b[31m\u001b[1m\u001b[31m TS1109: Expression expected.\u001b[31m\u001b[22m\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/bundle.transpiled.js deleted file mode 100644 index af8d40d75..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/bundle.transpiled.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror while reading tsconfig.json:\u001b[39m\r\n\u001b[31m\u001b[90m[tsl] \u001b[31m\u001b[1m\u001b[31mERROR\u001b[31m\u001b[22m\u001b[1m\u001b[31m in \u001b[31m\u001b[22m\u001b[1m\u001b[36m/tsconfigNotReadable.transpile/tsconfig.json(5,2)\u001b[31m\u001b[22m\u001b[39m\r\n\u001b[31m\u001b[1m\u001b[31m TS1109: Expression expected.\u001b[31m\u001b[22m\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/output.transpiled.txt deleted file mode 100644 index d36cf7856..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/output.transpiled.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.92 kB 0 [emitted] main - [0] ./.test/tsconfigNotReadable/app.ts 447 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/output.txt deleted file mode 100644 index d7eb15e24..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.91 kB 0 [emitted] main - [0] ./.test/tsconfigNotReadable/app.ts 437 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/bundle.js deleted file mode 100644 index 98637a4ac..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror while reading tsconfig.json:\u001b[39m\r\n\u001b[31m\u001b[90m[tsl] \u001b[31m\u001b[1m\u001b[31mERROR\u001b[31m\u001b[22m\u001b[1m\u001b[31m in \u001b[31m\u001b[22m\u001b[1m\u001b[36m/tsconfigNotReadable/tsconfig.json(5,2)\u001b[31m\u001b[22m\u001b[39m\r\n\u001b[31m\u001b[1m\u001b[31m TS1109: Expression expected.\u001b[31m\u001b[22m\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/bundle.transpiled.js deleted file mode 100644 index af8d40d75..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/bundle.transpiled.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: \u001b[31merror while reading tsconfig.json:\u001b[39m\r\n\u001b[31m\u001b[90m[tsl] \u001b[31m\u001b[1m\u001b[31mERROR\u001b[31m\u001b[22m\u001b[1m\u001b[31m in \u001b[31m\u001b[22m\u001b[1m\u001b[36m/tsconfigNotReadable.transpile/tsconfig.json(5,2)\u001b[31m\u001b[22m\u001b[39m\r\n\u001b[31m\u001b[1m\u001b[31m TS1109: Expression expected.\u001b[31m\u001b[22m\u001b[39m"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/output.transpiled.txt deleted file mode 100644 index d36cf7856..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/output.transpiled.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.92 kB 0 [emitted] main - [0] ./.test/tsconfigNotReadable/app.ts 447 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/output.txt deleted file mode 100644 index d7eb15e24..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.91 kB 0 [emitted] main - [0] ./.test/tsconfigNotReadable/app.ts 437 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/tsconfigNotReadable/app.ts -Module build failed: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/bundle.js deleted file mode 100644 index d8c523090..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/bundle.transpiled.js deleted file mode 100644 index cc95a330e..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/bundle.transpiled.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable.transpile//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 71c825c48..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-3-18 09:20:50 - Asset Size Chunks Chunk Names -bundle.js 3.25 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 447 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/output.txt deleted file mode 100644 index 29dbad29a..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -Built at: 2018-3-18 09:20:49 - Asset Size Chunks Chunk Names -bundle.js 3.24 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 437 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/bundle.js deleted file mode 100644 index d8c523090..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/bundle.transpiled.js deleted file mode 100644 index cc95a330e..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/bundle.transpiled.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable.transpile//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index a3a432032..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.25 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 447 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/output.txt deleted file mode 100644 index 0cb76198f..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.24 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 437 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/bundle.js deleted file mode 100644 index 351795df8..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: Error: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/bundle.transpiled.js deleted file mode 100644 index f1ee08b8f..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: Error: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable.transpile//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 382781187..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.29 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 522 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed: Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist\index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/output.txt deleted file mode 100644 index 0bc86d3ab..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.28 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 512 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed: Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist\index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.0/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.0/bundle.transpiled.js deleted file mode 100644 index d94a76001..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.0/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable.transpile//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index b172f4309..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 559 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/bundle.js deleted file mode 100644 index 68384d66f..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/bundle.transpiled.js deleted file mode 100644 index d94a76001..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable.transpile//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index b172f4309..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 559 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/output.txt deleted file mode 100644 index f4610e7b3..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.32 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 549 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/bundle.js deleted file mode 100644 index 68384d66f..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/bundle.transpiled.js deleted file mode 100644 index d94a76001..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable.transpile//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index b172f4309..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 559 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/output.txt deleted file mode 100644 index f4610e7b3..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.32 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 549 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/bundle.js deleted file mode 100644 index 68384d66f..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/bundle.transpiled.js deleted file mode 100644 index d94a76001..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable.transpile//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index b172f4309..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 559 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/output.txt deleted file mode 100644 index f4610e7b3..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.32 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 549 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/bundle.js deleted file mode 100644 index 68384d66f..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/bundle.transpiled.js deleted file mode 100644 index d94a76001..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable.transpile//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index b172f4309..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 559 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/output.txt deleted file mode 100644 index f4610e7b3..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.32 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 549 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/bundle.js deleted file mode 100644 index 68384d66f..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/bundle.transpiled.js deleted file mode 100644 index d94a76001..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/r/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36mC://source//ts-loader//.test//tsconfigNotReadable.transpile//tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/r/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (C://source//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index b172f4309..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.33 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 559 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/output.txt deleted file mode 100644 index f4610e7b3..000000000 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,11 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.32 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 549 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: error while reading tsconfig.json: -[tsl] ERROR in tsconfig.json(5,2) - TS1109: Expression expected. - at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.0/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/tsconfigNotReadable/expectedOutput-3.0/bundle.js rename to test/comparison-tests/tsconfigNotReadable/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.0/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/tsconfigNotReadable/expectedOutput-3.0/output.txt rename to test/comparison-tests/tsconfigNotReadable/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..ecdfef3aa --- /dev/null +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36m/tsconfigNotReadable.transpile/tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..9ec7ad50d --- /dev/null +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.3 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 552 bytes {main} [built] [failed] [1 error] + +ERROR in ./app.ts +Module build failed (from index.js): +Error: error while reading tsconfig.json: +[tsl] ERROR in tsconfig.json(5,2) + TS1109: Expression expected. + at Object.loader (dist/index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-1.6/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-1.6/bundle.js deleted file mode 100644 index b2562bd89..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var externalLib = __webpack_require__(1); - externalLib.doSomething(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-1.6/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-1.6/output.txt deleted file mode 100644 index aee5db423..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 126 bytes [rendered] - [0] ./.test/tsconfigSearch/src/app.ts 71 bytes {0} [built] - [1] ./.test/tsconfigSearch/lib/externalLib.js 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-1.7/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-1.7/bundle.js deleted file mode 100644 index b2562bd89..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var externalLib = __webpack_require__(1); - externalLib.doSomething(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-1.7/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-1.7/output.txt deleted file mode 100644 index aee5db423..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 126 bytes [rendered] - [0] ./.test/tsconfigSearch/src/app.ts 71 bytes {0} [built] - [1] ./.test/tsconfigSearch/lib/externalLib.js 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-1.8/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-1.8/bundle.js deleted file mode 100644 index 0921910ff..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var externalLib = __webpack_require__(1); - externalLib.doSomething(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-1.8/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-1.8/output.txt deleted file mode 100644 index 905da8473..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 140 bytes [rendered] - [0] ./.test/tsconfigSearch/src/app.ts 85 bytes {0} [built] - [1] ./.test/tsconfigSearch/lib/externalLib.js 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.0/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-2.0/bundle.js deleted file mode 100644 index 0921910ff..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - var externalLib = __webpack_require__(1); - externalLib.doSomething(''); - - -/***/ }, -/* 1 */ -/***/ function(module, exports) { - - module.exports = { - doSomething: function() { } - } - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.0/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-2.0/output.txt deleted file mode 100644 index 905da8473..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 140 bytes [rendered] - [0] ./.test/tsconfigSearch/src/app.ts 85 bytes {0} [built] - [1] ./.test/tsconfigSearch/lib/externalLib.js 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.1/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-2.1/bundle.js deleted file mode 100644 index 81ccd73df..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,88 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var externalLib = __webpack_require__(0); -externalLib.doSomething(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.1/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-2.1/output.txt deleted file mode 100644 index baecfb586..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main -chunk {0} bundle.js (main) 140 bytes [entry] [rendered] - [0] ./.test/tsconfigSearch/lib/externalLib.js 55 bytes {0} [built] - [1] ./.test/tsconfigSearch/src/app.ts 85 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/bundle.js deleted file mode 100644 index b8585aab0..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var externalLib = __webpack_require__(0); -externalLib.doSomething(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/output.txt deleted file mode 100644 index 58c2de5e9..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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/tsconfigSearch/expectedOutput-2.3/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-2.3/bundle.js deleted file mode 100644 index b8585aab0..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var externalLib = __webpack_require__(0); -externalLib.doSomething(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.3/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-2.3/output.txt deleted file mode 100644 index 58c2de5e9..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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/tsconfigSearch/expectedOutput-2.4/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-2.4/bundle.js deleted file mode 100644 index b8585aab0..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var externalLib = __webpack_require__(0); -externalLib.doSomething(''); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.4/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-2.4/output.txt deleted file mode 100644 index 58c2de5e9..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -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/tsconfigSearch/expectedOutput-2.5/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-2.5/bundle.js deleted file mode 100644 index 5b9b2ab54..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var externalLib = __webpack_require__(1); -externalLib.doSomething(''); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.5/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-2.5/output.txt deleted file mode 100644 index f20f22db8..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.72 kB 0 [emitted] main - [0] ./.test/tsconfigSearch/src/app.ts 112 bytes {0} [built] - [1] ./.test/tsconfigSearch/lib/externalLib.js 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.6/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-2.6/bundle.js deleted file mode 100644 index 5b9b2ab54..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var externalLib = __webpack_require__(1); -externalLib.doSomething(''); - - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = { - doSomething: function() { } -} - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.6/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-2.6/output.txt deleted file mode 100644 index f20f22db8..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.72 kB 0 [emitted] main - [0] ./.test/tsconfigSearch/src/app.ts 112 bytes {0} [built] - [1] ./.test/tsconfigSearch/lib/externalLib.js 55 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.7/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-2.7/bundle.js deleted file mode 100644 index 9f9727d7a..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,97 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./src/app.ts": -/*!********************!*\ - !*** ./src/app.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 8110ad6c0..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:20:55 - Asset Size Chunks Chunk Names -bundle.js 3.29 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.7/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-2.7/output.txt deleted file mode 100644 index fdb9518ba..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:20:54 - Asset Size Chunks Chunk Names -bundle.js 3.29 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.8/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-2.8/bundle.js deleted file mode 100644 index 9f9727d7a..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,97 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./src/app.ts": -/*!********************!*\ - !*** ./src/app.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 8110ad6c0..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:20:55 - Asset Size Chunks Chunk Names -bundle.js 3.29 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.8/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-2.8/output.txt deleted file mode 100644 index fcd2b7679..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.29 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 8110ad6c0..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:20:55 - Asset Size Chunks Chunk Names -bundle.js 3.29 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.0/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-3.0/bundle.js deleted file mode 100644 index 717083d76..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./src/app.ts": -/*!********************!*\ - !*** ./src/app.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 8110ad6c0..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:20:55 - Asset Size Chunks Chunk Names -bundle.js 3.29 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.0/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-3.0/output.txt deleted file mode 100644 index 976f0477d..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.25 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.1/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-3.1/bundle.js deleted file mode 100644 index 717083d76..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./src/app.ts": -/*!********************!*\ - !*** ./src/app.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 8110ad6c0..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:20:55 - Asset Size Chunks Chunk Names -bundle.js 3.29 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.1/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-3.1/output.txt deleted file mode 100644 index 976f0477d..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.25 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.2/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-3.2/bundle.js deleted file mode 100644 index 717083d76..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./src/app.ts": -/*!********************!*\ - !*** ./src/app.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 8110ad6c0..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:20:55 - Asset Size Chunks Chunk Names -bundle.js 3.29 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.2/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-3.2/output.txt deleted file mode 100644 index 976f0477d..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.25 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.3/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-3.3/bundle.js deleted file mode 100644 index 717083d76..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./src/app.ts": -/*!********************!*\ - !*** ./src/app.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 8110ad6c0..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:20:55 - Asset Size Chunks Chunk Names -bundle.js 3.29 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.3/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-3.3/output.txt deleted file mode 100644 index 976f0477d..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.25 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.4/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-3.4/bundle.js deleted file mode 100644 index 717083d76..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./src/app.ts": -/*!********************!*\ - !*** ./src/app.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 8110ad6c0..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:20:55 - Asset Size Chunks Chunk Names -bundle.js 3.29 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.4/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-3.4/output.txt deleted file mode 100644 index 976f0477d..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.25 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.5/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-3.5/bundle.js deleted file mode 100644 index 717083d76..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,112 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }), - -/***/ "./src/app.ts": -/*!********************!*\ - !*** ./src/app.ts ***! - \********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 8110ad6c0..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,6 +0,0 @@ -Built at: 2018-3-18 09:20:55 - Asset Size Chunks Chunk Names -bundle.js 3.29 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.5/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-3.5/output.txt deleted file mode 100644 index 976f0477d..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.25 KiB main [emitted] main -Entrypoint main = bundle.js -[./lib/externalLib.js] 55 bytes {main} [built] -[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.9/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/tsconfigSearch/expectedOutput-2.9/bundle.js rename to test/comparison-tests/tsconfigSearch/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.9/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/tsconfigSearch/expectedOutput-2.9/output.txt rename to test/comparison-tests/tsconfigSearch/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..2ad0074c0 --- /dev/null +++ b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./src/app.ts": +/*!********************!*\ + !*** ./src/app.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..5a910fad6 --- /dev/null +++ b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.29 KiB main [emitted] main +Entrypoint main = bundle.js +[./lib/externalLib.js] 55 bytes {main} [built] +[./src/app.ts] 148 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/bundle.js deleted file mode 100644 index 611efb53a..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - })(); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/output.txt deleted file mode 100644 index c7e7a6551..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch0/bundle.js deleted file mode 100644 index 611efb53a..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch0/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - })(); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch0/output.transpiled.txt deleted file mode 100644 index c7e7a6551..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch0/output.txt deleted file mode 100644 index 28c33d248..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] [1 error] - -ERROR in ./.test/typeSystemWatch/app.ts -(11,5): error TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch1/bundle.js deleted file mode 100644 index 611efb53a..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch1/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - })(); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch1/output.txt deleted file mode 100644 index c7e7a6551..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.6/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/bundle.js deleted file mode 100644 index 611efb53a..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - })(); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/output.txt deleted file mode 100644 index c7e7a6551..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch0/bundle.js deleted file mode 100644 index 611efb53a..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch0/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - })(); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch0/output.transpiled.txt deleted file mode 100644 index c7e7a6551..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch0/output.txt deleted file mode 100644 index 28c33d248..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] [1 error] - -ERROR in ./.test/typeSystemWatch/app.ts -(11,5): error TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch1/bundle.js deleted file mode 100644 index 611efb53a..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch1/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - })(); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch1/output.txt deleted file mode 100644 index c7e7a6551..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.7/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/bundle.js deleted file mode 100644 index 0b3be6883..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - }()); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/bundle.transpiled.js deleted file mode 100644 index f22a31b72..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/bundle.transpiled.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - }()); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/output.transpiled.txt deleted file mode 100644 index 7bff09b85..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 212 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/output.txt deleted file mode 100644 index c7e7a6551..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/bundle.js deleted file mode 100644 index 0b3be6883..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - }()); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/bundle.transpiled.js deleted file mode 100644 index f22a31b72..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/bundle.transpiled.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - }()); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/output.transpiled.txt deleted file mode 100644 index 7bff09b85..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 212 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/output.txt deleted file mode 100644 index 28c33d248..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] [1 error] - -ERROR in ./.test/typeSystemWatch/app.ts -(11,5): error TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/bundle.js deleted file mode 100644 index 0b3be6883..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - }()); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/bundle.transpiled.js deleted file mode 100644 index f22a31b72..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/bundle.transpiled.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - }()); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/output.transpiled.txt deleted file mode 100644 index 7bff09b85..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 212 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/output.txt deleted file mode 100644 index c7e7a6551..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-1.8/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/bundle.js deleted file mode 100644 index 0b3be6883..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - }()); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/bundle.transpiled.js deleted file mode 100644 index f22a31b72..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/bundle.transpiled.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - }()); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/output.transpiled.txt deleted file mode 100644 index 7bff09b85..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 212 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/output.txt deleted file mode 100644 index c7e7a6551..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/bundle.js deleted file mode 100644 index 0b3be6883..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - }()); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/bundle.transpiled.js deleted file mode 100644 index f22a31b72..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/bundle.transpiled.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - }()); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/output.transpiled.txt deleted file mode 100644 index 7bff09b85..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 212 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/output.txt deleted file mode 100644 index 28c33d248..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] [1 error] - -ERROR in ./.test/typeSystemWatch/app.ts -(11,5): error TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/bundle.js deleted file mode 100644 index 0b3be6883..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/bundle.js +++ /dev/null @@ -1,60 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - }()); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/bundle.transpiled.js deleted file mode 100644 index f22a31b72..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/bundle.transpiled.js +++ /dev/null @@ -1,61 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports) { - - "use strict"; - var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; - }()); - var foo = new Foo(); - var x = foo.getSomething(); - - -/***/ } -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/output.transpiled.txt deleted file mode 100644 index 7bff09b85..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.61 kB 0 [emitted] main -chunk {0} bundle.js (main) 212 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/output.txt deleted file mode 100644 index c7e7a6551..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.0/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 1.59 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/bundle.js deleted file mode 100644 index 36553190c..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/bundle.transpiled.js deleted file mode 100644 index 07bc2f3bc..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/bundle.transpiled.js +++ /dev/null @@ -1,88 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/output.transpiled.txt deleted file mode 100644 index ae51c3058..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 212 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/output.txt deleted file mode 100644 index 1b8d6d2a8..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/bundle.js deleted file mode 100644 index 36553190c..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/bundle.transpiled.js deleted file mode 100644 index 07bc2f3bc..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/bundle.transpiled.js +++ /dev/null @@ -1,88 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/output.transpiled.txt deleted file mode 100644 index ae51c3058..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 212 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/output.txt deleted file mode 100644 index ea5e32528..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] [1 error] - -ERROR in ./.test/typeSystemWatch/app.ts -(11,5): error TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/bundle.js deleted file mode 100644 index 36553190c..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/bundle.transpiled.js deleted file mode 100644 index 07bc2f3bc..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/bundle.transpiled.js +++ /dev/null @@ -1,88 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.l = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; - -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; - -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; - -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/output.transpiled.txt deleted file mode 100644 index ae51c3058..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.74 kB 0 [emitted] main -chunk {0} bundle.js (main) 212 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/output.txt deleted file mode 100644 index 1b8d6d2a8..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.1/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.71 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 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 deleted file mode 100644 index c31f7c4a5..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.transpiled.js deleted file mode 100644 index 459e2656f..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.transpiled.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/output.transpiled.txt deleted file mode 100644 index 9422b78c5..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - 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/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/output.txt deleted file mode 100644 index 893d66df1..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 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 deleted file mode 100644 index c31f7c4a5..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file 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 deleted file mode 100644 index 459e2656f..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/bundle.transpiled.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file 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 deleted file mode 100644 index 9422b78c5..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - 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/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/output.txt deleted file mode 100644 index d6685c2a6..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] [1 error] - -ERROR in ./.test/typeSystemWatch/app.ts -(11,5): error TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ 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 deleted file mode 100644 index c31f7c4a5..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file 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 deleted file mode 100644 index 459e2656f..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/bundle.transpiled.js +++ /dev/null @@ -1,89 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file 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 deleted file mode 100644 index 9422b78c5..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - 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/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/output.txt deleted file mode 100644 index 893d66df1..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/bundle.js deleted file mode 100644 index c31f7c4a5..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/output.txt deleted file mode 100644 index 893d66df1..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch0/bundle.js deleted file mode 100644 index c31f7c4a5..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch0/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch0/output.transpiled.txt deleted file mode 100644 index 893d66df1..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch0/output.txt deleted file mode 100644 index d6685c2a6..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] [1 error] - -ERROR in ./.test/typeSystemWatch/app.ts -(11,5): error TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch1/bundle.js deleted file mode 100644 index c31f7c4a5..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch1/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch1/output.txt deleted file mode 100644 index 893d66df1..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.3/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/bundle.js deleted file mode 100644 index c31f7c4a5..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/output.txt deleted file mode 100644 index 893d66df1..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch0/bundle.js deleted file mode 100644 index c31f7c4a5..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch0/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch0/output.transpiled.txt deleted file mode 100644 index 893d66df1..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch0/output.txt deleted file mode 100644 index e567812d2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] [1 error] - -ERROR in ./.test/typeSystemWatch/app.ts -(11,5): error TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch1/bundle.js deleted file mode 100644 index c31f7c4a5..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch1/bundle.js +++ /dev/null @@ -1,86 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // identity function for calling harmony imports with the correct context -/******/ __webpack_require__.i = function(value) { return value; }; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch1/output.txt deleted file mode 100644 index 893d66df1..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.4/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main -chunk {0} bundle.js (main) 198 bytes [entry] [rendered] - [0] ./.test/typeSystemWatch/app.ts 198 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/bundle.js deleted file mode 100644 index fa231d17a..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,83 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = /** @class */ (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/output.txt deleted file mode 100644 index 280f8335f..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch0/bundle.js deleted file mode 100644 index fa231d17a..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch0/bundle.js +++ /dev/null @@ -1,83 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = /** @class */ (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch0/output.transpiled.txt deleted file mode 100644 index 280f8335f..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch0/output.txt deleted file mode 100644 index a902abbb0..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] [1 error] - -ERROR in ./.test/typeSystemWatch/app.ts -[tsl] ERROR in app.ts(11,5) - TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch1/bundle.js deleted file mode 100644 index fa231d17a..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch1/bundle.js +++ /dev/null @@ -1,83 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = /** @class */ (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch1/output.txt deleted file mode 100644 index 280f8335f..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.5/patch1/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/bundle.js deleted file mode 100644 index fa231d17a..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,83 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = /** @class */ (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/output.txt deleted file mode 100644 index 280f8335f..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch0/bundle.js deleted file mode 100644 index fa231d17a..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch0/bundle.js +++ /dev/null @@ -1,83 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = /** @class */ (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch0/output.transpiled.txt deleted file mode 100644 index 280f8335f..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch0/output.transpiled.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch0/output.txt deleted file mode 100644 index a902abbb0..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] [1 error] - -ERROR in ./.test/typeSystemWatch/app.ts -[tsl] ERROR in app.ts(11,5) - TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch1/bundle.js deleted file mode 100644 index fa231d17a..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch1/bundle.js +++ /dev/null @@ -1,83 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -var Foo = /** @class */ (function () { - function Foo() { - } - Foo.prototype.getSomething = function () { - return null; - }; - return Foo; -}()); -var foo = new Foo(); -var x = foo.getSomething(); - - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch1/output.txt deleted file mode 100644 index 280f8335f..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.6/patch1/output.txt +++ /dev/null @@ -1,3 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main - [0] ./.test/typeSystemWatch/app.ts 212 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/bundle.js deleted file mode 100644 index f7bcce84d..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/output.transpiled.txt deleted file mode 100644 index 224591c27..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:21:05 - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/output.txt deleted file mode 100644 index 1b009dec4..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:20:59 - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch0/bundle.js deleted file mode 100644 index f7bcce84d..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch0/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch0/output.transpiled.txt deleted file mode 100644 index 494c89038..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch0/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:21:07 - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch0/output.txt deleted file mode 100644 index d3b26ea8c..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -Built at: 2018-3-18 09:21:02 - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(11,5) - TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch1/bundle.js deleted file mode 100644 index f7bcce84d..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch1/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch1/output.transpiled.txt deleted file mode 100644 index e1e2984fc..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:21:10 - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch1/output.txt deleted file mode 100644 index 3bfab2f63..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.7/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:21:04 - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/bundle.js deleted file mode 100644 index f7bcce84d..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/output.transpiled.txt deleted file mode 100644 index 224591c27..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:21:05 - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/output.txt deleted file mode 100644 index 960b4bc9f..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch0/bundle.js deleted file mode 100644 index f7bcce84d..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch0/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch0/output.transpiled.txt deleted file mode 100644 index 960b4bc9f..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch0/output.txt deleted file mode 100644 index 0bfd74d58..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(11,5) - TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch1/bundle.js deleted file mode 100644 index f7bcce84d..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch1/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch1/output.transpiled.txt deleted file mode 100644 index e1e2984fc..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:21:10 - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch1/output.txt deleted file mode 100644 index 960b4bc9f..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.8/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/output.transpiled.txt deleted file mode 100644 index 224591c27..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:21:05 - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch0/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch0/output.txt deleted file mode 100644 index 910d9f86b..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(11,5) - TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch1/output.transpiled.txt deleted file mode 100644 index e1e2984fc..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch1/output.transpiled.txt +++ /dev/null @@ -1,5 +0,0 @@ -Built at: 2018-3-18 09:21:10 - Asset Size Chunks Chunk Names -bundle.js 2.99 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/bundle.transpiled.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/output.txt deleted file mode 100644 index 910d9f86b..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(11,5) - TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch1/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch1/bundle.transpiled.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch1/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch1/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/bundle.transpiled.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/output.txt deleted file mode 100644 index 910d9f86b..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(11,5) - TS2322: Type 'AType' is not assignable to type 'BType'. - Property 'b' is missing in type 'AType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/bundle.transpiled.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/output.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/output.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/bundle.transpiled.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/bundle.transpiled.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/output.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/output.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/bundle.transpiled.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/output.txt deleted file mode 100644 index 3de8aa6e6..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(11,5) - TS2741: Property 'b' is missing in type 'AType' but required in type 'BType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/bundle.transpiled.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/output.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.3/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/output.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/bundle.transpiled.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/output.txt deleted file mode 100644 index 3de8aa6e6..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(11,5) - TS2741: Property 'b' is missing in type 'AType' but required in type 'BType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/bundle.transpiled.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/output.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.4/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/output.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/bundle.transpiled.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/output.txt deleted file mode 100644 index 3de8aa6e6..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] [1 error] - -ERROR in app.ts -./app.ts -[tsl] ERROR in app.ts(11,5) - TS2741: Property 'b' is missing in type 'AType' but required in type 'BType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/bundle.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/bundle.transpiled.js deleted file mode 100644 index 94f8c68e2..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/bundle.transpiled.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/output.transpiled.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/output.transpiled.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/output.txt deleted file mode 100644 index 1b16d8347..000000000 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-3.5/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.95 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-4.0/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-2.9/bundle.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-4.0/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-4.0/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-2.9/output.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-4.0/output.txt diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch0/bundle.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-4.0/patch0/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-3.2/patch0/output.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-4.0/patch0/output.txt diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-4.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch1/bundle.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-4.0/patch1/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-4.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-2.9/patch1/output.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-4.0/patch1/output.txt diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.0/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-3.0/bundle.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.0/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.0/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-3.0/output.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.0/output.txt diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch0/bundle.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.0/patch0/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch1/output.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.0/patch0/output.txt diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-3.0/patch1/bundle.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.0/patch1/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-3.1/output.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.0/patch1/output.txt diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.5/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.5/bundle.js deleted file mode 100644 index 312e6ead1..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.5/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption\n\nPlease take a look at the options you are supplying; the following are valid options:\nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers\n\n at validateLoaderOptions (C:/source/ts-loader/dist/index.js:92:19)\n at getLoaderOptions (C:/source/ts-loader/dist/index.js:75:5)\n at Object.loader (C:/source/ts-loader/dist/index.js:23:19)"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.5/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.5/output.txt deleted file mode 100644 index 69f494225..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.5/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.15 kB 0 [emitted] main - [0] ./.test/validateLoaderOptionNames/app.ts 676 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/validateLoaderOptionNames/app.ts -Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption - -Please take a look at the options you are supplying; the following are valid options: -silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers - - at validateLoaderOptions (dist\index.js:92:19) - at getLoaderOptions (dist\index.js:75:5) - at Object.loader (dist\index.js:23:19) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.6/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.6/bundle.js deleted file mode 100644 index 312e6ead1..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.6/bundle.js +++ /dev/null @@ -1,73 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -throw new Error("Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption\n\nPlease take a look at the options you are supplying; the following are valid options:\nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers\n\n at validateLoaderOptions (C:/source/ts-loader/dist/index.js:92:19)\n at getLoaderOptions (C:/source/ts-loader/dist/index.js:75:5)\n at Object.loader (C:/source/ts-loader/dist/index.js:23:19)"); - -/***/ }) -/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.6/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.6/output.txt deleted file mode 100644 index a9355b467..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.6/output.txt +++ /dev/null @@ -1,13 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.17 kB 0 [emitted] main - [0] ./.test/validateLoaderOptionNames/app.ts 702 bytes {0} [built] [failed] [1 error] - -ERROR in ./.test/validateLoaderOptionNames/app.ts -Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption - -Please take a look at the options you are supplying; the following are valid options: -silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers - - at validateLoaderOptions (dist\index.js:92:19) - at getLoaderOptions (dist\index.js:75:5) - at Object.loader (dist\index.js:23:19) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.7/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.7/bundle.js deleted file mode 100644 index 34d564b72..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.7/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi/n/n at validateLoaderOptions (C://source//ts-loader//dist//index.js:103:19)/n at getLoaderOptions (C://source//ts-loader//dist//index.js:66:5)/n at Object.loader (C://source//ts-loader//dist//index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.7/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.7/output.txt deleted file mode 100644 index a88647f54..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.7/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -Built at: 2018-3-18 09:21:14 - Asset Size Chunks Chunk Names -bundle.js 3.51 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 728 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption - -Please take a look at the options you are supplying; the following are valid options: -silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi - - at validateLoaderOptions (dist\index.js:103:19) - at getLoaderOptions (dist\index.js:66:5) - at Object.loader (dist\index.js:15:21) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.8/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.8/bundle.js deleted file mode 100644 index f684f787e..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.8/bundle.js +++ /dev/null @@ -1,85 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching/n/n at validateLoaderOptions (/Users/alawson/dev/ts-loader/dist/index.js:110:19)/n at getLoaderOptions (/Users/alawson/dev/ts-loader/dist/index.js:72:5)/n at Object.loader (/Users/alawson/dev/ts-loader/dist/index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.8/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.8/output.txt deleted file mode 100644 index 0c333d2f7..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.8/output.txt +++ /dev/null @@ -1,14 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 3.53 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 766 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption - -Please take a look at the options you are supplying; the following are valid options: -silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching - - at validateLoaderOptions (dist/index.js:110:19) - at getLoaderOptions (dist/index.js:72:5) - at Object.loader (dist/index.js:15:21) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/bundle.js deleted file mode 100644 index a10bf8df5..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching/n/n at validateLoaderOptions (C://source//ts-loader//dist//index.js:110:19)/n at getLoaderOptions (C://source//ts-loader//dist//index.js:72:5)/n at Object.loader (C://source//ts-loader//dist//index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/output.txt deleted file mode 100644 index 04b649230..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/output.txt +++ /dev/null @@ -1,14 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.5 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 751 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption - -Please take a look at the options you are supplying; the following are valid options: -silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching - - at validateLoaderOptions (dist\index.js:110:19) - at getLoaderOptions (dist\index.js:72:5) - at Object.loader (dist\index.js:15:21) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.0/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.0/bundle.js deleted file mode 100644 index 07e172697..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.0/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences/n/n at validateLoaderOptions (C://source//ts-loader//dist//index.js:151:19)/n at getLoaderOptions (C://source//ts-loader//dist//index.js:110:5)/n at Object.loader (C://source//ts-loader//dist//index.js:16:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.0/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.0/output.txt deleted file mode 100644 index cb1108e95..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.58 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 835 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: ts-loader was supplied with an unexpected loader option: notRealOption - -Please take a look at the options you are supplying; the following are valid options: -silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences - - at validateLoaderOptions (dist\index.js:151:19) - at getLoaderOptions (dist\index.js:110:5) - at Object.loader (dist\index.js:16:21) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.1/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.1/bundle.js deleted file mode 100644 index f469245b1..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.1/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName/n/n at validateLoaderOptions (C://source//ts-loader//dist//index.js:152:19)/n at getLoaderOptions (C://source//ts-loader//dist//index.js:110:5)/n at Object.loader (C://source//ts-loader//dist//index.js:16:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.1/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.1/output.txt deleted file mode 100644 index 6f71f590f..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.1/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.6 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 855 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: ts-loader was supplied with an unexpected loader option: notRealOption - -Please take a look at the options you are supplying; the following are valid options: -silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName - - at validateLoaderOptions (dist\index.js:152:19) - at getLoaderOptions (dist\index.js:110:5) - at Object.loader (dist\index.js:16:21) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.2/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.2/bundle.js deleted file mode 100644 index f469245b1..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.2/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName/n/n at validateLoaderOptions (C://source//ts-loader//dist//index.js:152:19)/n at getLoaderOptions (C://source//ts-loader//dist//index.js:110:5)/n at Object.loader (C://source//ts-loader//dist//index.js:16:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.2/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.2/output.txt deleted file mode 100644 index 6f71f590f..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.2/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.6 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 855 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: ts-loader was supplied with an unexpected loader option: notRealOption - -Please take a look at the options you are supplying; the following are valid options: -silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName - - at validateLoaderOptions (dist\index.js:152:19) - at getLoaderOptions (dist\index.js:110:5) - at Object.loader (dist\index.js:16:21) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.3/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.3/bundle.js deleted file mode 100644 index f469245b1..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.3/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName/n/n at validateLoaderOptions (C://source//ts-loader//dist//index.js:152:19)/n at getLoaderOptions (C://source//ts-loader//dist//index.js:110:5)/n at Object.loader (C://source//ts-loader//dist//index.js:16:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.3/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.3/output.txt deleted file mode 100644 index 6f71f590f..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.3/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.6 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 855 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: ts-loader was supplied with an unexpected loader option: notRealOption - -Please take a look at the options you are supplying; the following are valid options: -silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName - - at validateLoaderOptions (dist\index.js:152:19) - at getLoaderOptions (dist\index.js:110:5) - at Object.loader (dist\index.js:16:21) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.4/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.4/bundle.js deleted file mode 100644 index a2e209d25..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.4/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective/n/n at validateLoaderOptions (C://source//ts-loader//dist//index.js:153:19)/n at getLoaderOptions (C://source//ts-loader//dist//index.js:110:5)/n at Object.loader (C://source//ts-loader//dist//index.js:16:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.4/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.4/output.txt deleted file mode 100644 index da41ad53f..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.4/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.63 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 887 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: ts-loader was supplied with an unexpected loader option: notRealOption - -Please take a look at the options you are supplying; the following are valid options: -silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective - - at validateLoaderOptions (dist\index.js:153:19) - at getLoaderOptions (dist\index.js:110:5) - at Object.loader (dist\index.js:16:21) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.5/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.5/bundle.js deleted file mode 100644 index a2e209d25..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.5/bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("throw new Error(\"Module build failed (from C:/source/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective/n/n at validateLoaderOptions (C://source//ts-loader//dist//index.js:153:19)/n at getLoaderOptions (C://source//ts-loader//dist//index.js:110:5)/n at Object.loader (C://source//ts-loader//dist//index.js:16:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.5/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.5/output.txt deleted file mode 100644 index da41ad53f..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-3.5/output.txt +++ /dev/null @@ -1,15 +0,0 @@ - Asset Size Chunks Chunk Names -bundle.js 4.63 KiB main [emitted] main -Entrypoint main = bundle.js -[./app.ts] 887 bytes {main} [built] [failed] [1 error] - -ERROR in ./app.ts -Module build failed (from /index.js): -Error: ts-loader was supplied with an unexpected loader option: notRealOption - -Please take a look at the options you are supplying; the following are valid options: -silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective - - at validateLoaderOptions (dist\index.js:153:19) - at getLoaderOptions (dist\index.js:110:5) - at Object.loader (dist\index.js:16:21) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.0/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.0/bundle.js new file mode 100644 index 000000000..2700c4b8a --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from c:/github/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (c://github//ts-loader//dist//index.js:153:19)/n at getLoaderOptions (c://github//ts-loader//dist//index.js:110:5)/n at Object.loader (c://github//ts-loader//dist//index.js:16:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.0/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.0/output.txt new file mode 100644 index 000000000..87738e429 --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.0/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names +bundle.js 4.66 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 915 bytes {main} [built] [failed] [1 error] + +ERROR in ./app.ts +Module build failed (from /index.js): +Error: ts-loader was supplied with an unexpected loader option: notRealOption + +Please take a look at the options you are supplying; the following are valid options: +silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames + + at validateLoaderOptions (dist\index.js:153:19) + at getLoaderOptions (dist\index.js:110:5) + at Object.loader (dist\index.js:16:21) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.0/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.0/bundle.js new file mode 100644 index 000000000..3e3b988e5 --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (/workspaces/ts-loader/dist/index.js:154:19)/n at getLoaderOptions (/workspaces/ts-loader/dist/index.js:111:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:16:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.0/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.0/output.txt new file mode 100644 index 000000000..723e2798f --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.0/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names +bundle.js 4.63 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 911 bytes {main} [built] [failed] [1 error] + +ERROR in ./app.ts +Module build failed (from index.js): +Error: ts-loader was supplied with an unexpected loader option: notRealOption + +Please take a look at the options you are supplying; the following are valid options: +silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames + + at validateLoaderOptions (dist/index.js:154:19) + at getLoaderOptions (dist/index.js:111:5) + at Object.loader (dist/index.js:16:21) \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 98eb13524..64277017c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3,23 +3,23 @@ "@babel/code-frame@^7.0.0": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" - integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g== + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a" + integrity sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg== dependencies: - "@babel/highlight" "^7.8.3" + "@babel/highlight" "^7.10.4" -"@babel/helper-validator-identifier@^7.9.0": - version "7.9.5" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz#90977a8e6fbf6b431a7dc31752eee233bf052d80" - integrity sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g== +"@babel/helper-validator-identifier@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz#a78c7a7251e01f616512d31b10adcf52ada5e0d2" + integrity sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw== -"@babel/highlight@^7.8.3": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.9.0.tgz#4e9b45ccb82b79607271b2979ad82c7b68163079" - integrity sha512-lJZPilxX7Op3Nv/2cvFdnlepPXDxi29wxteT57Q965oc5R9v86ztx0jfxVrTcBk8C2kcPkkDa2Z4T3ZsPPVWsQ== +"@babel/highlight@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143" + integrity sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA== dependencies: - "@babel/helper-validator-identifier" "^7.9.0" + "@babel/helper-validator-identifier" "^7.10.4" chalk "^2.0.0" js-tokens "^4.0.0" @@ -30,6 +30,43 @@ dependencies: regenerator-runtime "^0.13.2" +"@eslint/eslintrc@^0.1.3": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.1.3.tgz#7d1a2b2358552cc04834c0979bd4275362e37085" + integrity sha512-4YVwPkANLeNtRjMekzux1ci8hIaH5eGKktGqR0d3LWsKNn5B2X/1Z6Trxy7jQXl9EBGE6Yj02O+t09FMeRllaA== + dependencies: + ajv "^6.12.4" + debug "^4.1.1" + espree "^7.3.0" + globals "^12.1.0" + ignore "^4.0.6" + import-fresh "^3.2.1" + js-yaml "^3.13.1" + lodash "^4.17.19" + minimatch "^3.0.4" + strip-json-comments "^3.1.1" + +"@nodelib/fs.scandir@2.1.3": + version "2.1.3" + resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" + integrity sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw== + dependencies: + "@nodelib/fs.stat" "2.0.3" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@2.0.3", "@nodelib/fs.stat@^2.0.2": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz#34dc5f4cabbc720f4e60f75a747e7ecd6c175bd3" + integrity sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA== + +"@nodelib/fs.walk@^1.2.3": + version "1.2.4" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz#011b9202a70a6366e436ca5c065844528ab04976" + integrity sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ== + dependencies: + "@nodelib/fs.scandir" "2.1.3" + fastq "^1.6.0" + "@samverschueren/stream-to-observable@^0.3.0": version "0.3.0" resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f" @@ -52,11 +89,6 @@ resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== -"@types/eslint-visitor-keys@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d" - integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag== - "@types/json-schema@^7.0.3": version "7.0.4" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.4.tgz#38fd73ddfd9b55abb1e1b2ed578cb55bd7b7d339" @@ -122,50 +154,76 @@ "@types/webpack-sources" "*" source-map "^0.6.0" -"@typescript-eslint/eslint-plugin@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.0.0.tgz#02f8ec6b5ce814bda80dfc22463f108bed1f699b" - integrity sha512-lcZ0M6jD4cqGccYOERKdMtg+VWpoq3NSnWVxpc/AwAy0zhkUYVioOUZmfNqiNH8/eBNGhCn6HXd6mKIGRgNc1Q== +"@typescript-eslint/eslint-plugin@^4.0.0": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.1.1.tgz#78d5b18e259b13c2f4ec41dd9105af269a161a75" + integrity sha512-Hoxyt99EA9LMmqo/5PuWWPeWeB3mKyvibfJ1Hy5SfiUpjE8Nqp+5QNd9fOkzL66+fqvIWSIE+Ett16LGMzCGnQ== dependencies: - "@typescript-eslint/experimental-utils" "3.0.0" + "@typescript-eslint/experimental-utils" "4.1.1" + "@typescript-eslint/scope-manager" "4.1.1" + debug "^4.1.1" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-3.0.0.tgz#1ddf53eeb61ac8eaa9a77072722790ac4f641c03" - integrity sha512-BN0vmr9N79M9s2ctITtChRuP1+Dls0x/wlg0RXW1yQ7WJKPurg6X3Xirv61J2sjPif4F8SLsFMs5Nzte0WYoTQ== +"@typescript-eslint/experimental-utils@4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.1.1.tgz#52ff4e37c93113eb96385a4e6d075abece1ea72d" + integrity sha512-jzYsNciHoa4Z3c1URtmeT/bamYm8Dwfw6vuN3WHIE/BXb1iC4KveAnXDErTAZtPVxTYBaYn3n2gbt6F6D2rm1A== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "3.0.0" + "@typescript-eslint/scope-manager" "4.1.1" + "@typescript-eslint/types" "4.1.1" + "@typescript-eslint/typescript-estree" "4.1.1" eslint-scope "^5.0.0" eslint-utils "^2.0.0" -"@typescript-eslint/parser@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-3.0.0.tgz#fe9fdf18a1155c02c04220c14506a320cb6c6944" - integrity sha512-8RRCA9KLxoFNO0mQlrLZA0reGPd/MsobxZS/yPFj+0/XgMdS8+mO8mF3BDj2ZYQj03rkayhSJtF1HAohQ3iylw== +"@typescript-eslint/parser@^4.0.0": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.1.1.tgz#324b4b35e314075adbc92bd8330cf3ef0c88cf3e" + integrity sha512-NLIhmicpKGfJbdXyQBz9j48PA6hq6e+SDOoXy7Ak6bq1ebGqbgG+fR1UIDAuay6OjQdot69c/URu2uLlsP8GQQ== dependencies: - "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "3.0.0" - "@typescript-eslint/typescript-estree" "3.0.0" - eslint-visitor-keys "^1.1.0" + "@typescript-eslint/scope-manager" "4.1.1" + "@typescript-eslint/types" "4.1.1" + "@typescript-eslint/typescript-estree" "4.1.1" + debug "^4.1.1" -"@typescript-eslint/typescript-estree@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-3.0.0.tgz#fa40e1b76ccff880130be054d9c398e96004bf42" - integrity sha512-nevQvHyNghsfLrrByzVIH4ZG3NROgJ8LZlfh3ddwPPH4CH7W4GAiSx5qu+xHuX5pWsq6q/eqMc1io840ZhAnUg== +"@typescript-eslint/scope-manager@4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.1.1.tgz#bdb8526e82435f32b4ccd9dd4cec01af97b48850" + integrity sha512-0W8TTobCvIIQ2FsrYTffyZGAAFUyIbEHq5EYJb1m7Rpd005jrnOvKOo8ywCLhs/Bm17C+KsrUboBvBAARQVvyA== + dependencies: + "@typescript-eslint/types" "4.1.1" + "@typescript-eslint/visitor-keys" "4.1.1" + +"@typescript-eslint/types@4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.1.1.tgz#57500c4a86b28cb47094c1a62f1177ea279a09cb" + integrity sha512-zrBiqOKYerMTllKcn+BP+i1b7LW/EbMMYytroXMxUTvFPn1smkCu0D7lSAx29fTUO4jnwV0ljSvYQtn2vNrNxA== + +"@typescript-eslint/typescript-estree@4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.1.1.tgz#2015a84d71303ecdb6f46efd807ac19a51aab490" + integrity sha512-2AUg5v0liVBsqbGxBphbJ0QbGqSRVaF5qPoTPWcxop+66vMdU1h4CCvHxTC47+Qb+Pr4l2RhXDd41JNpwcQEKw== dependencies: + "@typescript-eslint/types" "4.1.1" + "@typescript-eslint/visitor-keys" "4.1.1" debug "^4.1.1" - eslint-visitor-keys "^1.1.0" - glob "^7.1.6" + globby "^11.0.1" is-glob "^4.0.1" lodash "^4.17.15" semver "^7.3.2" tsutils "^3.17.1" +"@typescript-eslint/visitor-keys@4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.1.1.tgz#bb05664bf4bea28dc120d1da94f3027d42ab0f6f" + integrity sha512-/EOOXbA2ferGLG6RmCHEQ0lTTLkOlXYDgblCmQk3tIU7mTPLm4gKhFMeeUSe+bcchTUsKeCk8xcpbop5Zr/8Rw== + dependencies: + "@typescript-eslint/types" "4.1.1" + eslint-visitor-keys "^2.0.0" + "@webassemblyjs/ast@1.9.0": version "1.9.0" resolved "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz#bd850604b4042459a5a41cd7d338cbed695ed964" @@ -330,19 +388,19 @@ accepts@~1.3.4: negotiator "0.6.1" acorn-jsx@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.2.0.tgz#4c66069173d6fdd68ed85239fc256226182b2ebe" - integrity sha512-HiUX/+K2YpkpJ+SzBffkM/AQ2YE03S0U1kjTLVpoJdhZMOWy8qvXVN9JdLqv2QsaQ6MPYQIuNmwD8zOiYUofLQ== + version "5.3.1" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.1.tgz#fc8661e11b7ac1539c47dbfea2e72b3af34d267b" + integrity sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng== acorn@^6.4.1: version "6.4.1" resolved "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz#531e58ba3f51b9dacb9a6646ca4debf5b14ca474" integrity sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA== -acorn@^7.1.1: - version "7.2.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.2.0.tgz#17ea7e40d7c8640ff54a694c889c26f31704effe" - integrity sha512-apwXVmYVpQ34m/i71vrApRrRKCWQnZZF1+npOD0WV5xZFfwWOmKGQ2RWlfdy9vWITsenisM8M0Qeq8agcFHNiQ== +acorn@^7.4.0: + version "7.4.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.0.tgz#e1ad486e6c54501634c6c397c5c121daa383607c" + integrity sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w== after@0.8.2: version "0.8.2" @@ -369,10 +427,10 @@ ajv@^6.1.0: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^6.10.0, ajv@^6.10.2: - version "6.12.2" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.2.tgz#c629c5eced17baf314437918d2da88c99d5958cd" - integrity sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ== +ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.4: + version "6.12.5" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.5.tgz#19b0e8bae8f476e5ba666300387775fb1a00a4da" + integrity sha512-lRF8RORchjpKG50/WFf8xmg7sgCLFiYNNnqdKflk63whMQcWR5ngGjiSXkL9bjxy6B2npOK2HSMN49jEBMSkag== dependencies: fast-deep-equal "^3.1.1" fast-json-stable-stringify "^2.0.0" @@ -384,18 +442,16 @@ ansi-colors@3.2.3, ansi-colors@^3.0.0: resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.3.tgz#57d35b8686e851e2cc04c403f1c00203976a1813" integrity sha512-LEHHyuhlPY3TmuUYMh2oz89lTShfvgbmzaBcxve9t/9Wuy7Dwf4yoAKcND7KFT1HAQfqZ12qtc+DUrBMeKF9nw== +ansi-colors@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" + integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== + ansi-escapes@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.1.0.tgz#f73207bb81207d75fd6c83f125af26eea378ca30" integrity sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw== -ansi-escapes@^4.2.1: - version "4.3.1" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.1.tgz#a5c47cc43181f1f38ffd7076837700d395522a61" - integrity sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA== - dependencies: - type-fest "^0.11.0" - ansi-red@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/ansi-red/-/ansi-red-0.1.1.tgz#8c638f9d1080800a353c9c28c8a81ca4705d946c" @@ -503,6 +559,11 @@ array-union@^1.0.1: dependencies: array-uniq "^1.0.1" +array-union@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" + integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== + array-uniq@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" @@ -1201,7 +1262,7 @@ backo2@1.0.2: balanced-match@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= base64-arraybuffer@0.1.5: @@ -1314,7 +1375,7 @@ boolbase@~1.0.0: brace-expansion@^1.1.7: version "1.1.11" - resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== dependencies: balanced-match "^1.0.0" @@ -1573,27 +1634,14 @@ chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.4.1: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" - integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - chalk@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.0.0.tgz#6e98081ed2d17faab615eb52ac66ec1fe6209e72" - integrity sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A== + version "4.1.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" + integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== dependencies: ansi-styles "^4.1.0" supports-color "^7.1.0" -chardet@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" - integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== - chokidar@^2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.0.4.tgz#356ff4e2b0e8e43e322d18a372460bbcf3accd26" @@ -1697,13 +1745,6 @@ cli-cursor@^2.0.0, cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" -cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - dependencies: - restore-cursor "^3.1.0" - cli-truncate@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" @@ -1712,11 +1753,6 @@ cli-truncate@^0.2.1: slice-ansi "0.0.4" string-width "^1.0.1" -cli-width@^2.0.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48" - integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== - cliui@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49" @@ -1820,7 +1856,7 @@ component-inherit@0.0.3: concat-map@0.0.1: version "0.0.1" - resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= concat-stream@^1.5.0, concat-stream@^1.5.2: @@ -1965,9 +2001,9 @@ cross-spawn@^6.0.0, cross-spawn@^6.0.5: which "^1.2.9" cross-spawn@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.2.tgz#d0d7dcfa74e89115c7619f4f721a94e1fdb716d6" - integrity sha512-PD6G8QG3S4FK/XCGFbEQrDqO2AnMMsy0meR7lerlIOHAAbkuavGU/pOqprrlvfTNjvowivTeBsjebAL0NSoMxw== + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== dependencies: path-key "^3.1.0" shebang-command "^2.0.0" @@ -2166,6 +2202,13 @@ diffie-hellman@^5.0.0: miller-rabin "^4.0.0" randombytes "^2.0.0" +dir-glob@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" + integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== + dependencies: + path-type "^4.0.0" + doctrine@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" @@ -2273,11 +2316,6 @@ emoji-regex@^7.0.1: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - emojis-list@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" @@ -2358,6 +2396,13 @@ enhanced-resolve@^4.1.0: memory-fs "^0.5.0" tapable "^1.0.0" +enquirer@^2.3.5: + version "2.3.6" + resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" + integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg== + dependencies: + ansi-colors "^4.1.1" + ent@~2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/ent/-/ent-2.2.0.tgz#e964219325a21d05f44466a2f686ed6ce5f5dd1d" @@ -2459,41 +2504,48 @@ eslint-scope@^4.0.3: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-scope@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.0.0.tgz#e87c8887c73e8d1ec84f1ca591645c358bfc8fb9" - integrity sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw== +eslint-scope@^5.0.0, eslint-scope@^5.1.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" + integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== dependencies: - esrecurse "^4.1.0" + esrecurse "^4.3.0" estraverse "^4.1.1" -eslint-utils@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.0.0.tgz#7be1cc70f27a72a76cd14aa698bcabed6890e1cd" - integrity sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA== +eslint-utils@^2.0.0, eslint-utils@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" + integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== dependencies: eslint-visitor-keys "^1.1.0" -eslint-visitor-keys@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2" - integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A== +eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" + integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== + +eslint-visitor-keys@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8" + integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== eslint@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.1.0.tgz#d9a1df25e5b7859b0a3d86bb05f0940ab676a851" - integrity sha512-DfS3b8iHMK5z/YLSme8K5cge168I8j8o1uiVmFCgnnjxZQbCGyraF8bMl7Ju4yfBmCuxD7shOF7eqGkcuIHfsA== + version "7.9.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.9.0.tgz#522aeccc5c3a19017cf0cb46ebfd660a79acf337" + integrity sha512-V6QyhX21+uXp4T+3nrNfI3hQNBDa/P8ga7LoQOenwrlEFXrEnUEE+ok1dMtaS3b6rmLXhT1TkTIsG75HMLbknA== dependencies: "@babel/code-frame" "^7.0.0" + "@eslint/eslintrc" "^0.1.3" ajv "^6.10.0" chalk "^4.0.0" cross-spawn "^7.0.2" debug "^4.0.1" doctrine "^3.0.0" - eslint-scope "^5.0.0" - eslint-utils "^2.0.0" - eslint-visitor-keys "^1.1.0" - espree "^7.0.0" + enquirer "^2.3.5" + eslint-scope "^5.1.0" + eslint-utils "^2.1.0" + eslint-visitor-keys "^1.3.0" + espree "^7.3.0" esquery "^1.2.0" esutils "^2.0.2" file-entry-cache "^5.0.1" @@ -2503,12 +2555,11 @@ eslint@^7.1.0: ignore "^4.0.6" import-fresh "^3.0.0" imurmurhash "^0.1.4" - inquirer "^7.0.0" is-glob "^4.0.0" js-yaml "^3.13.1" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" - lodash "^4.17.14" + lodash "^4.17.19" minimatch "^3.0.4" natural-compare "^1.4.0" optionator "^0.9.1" @@ -2521,14 +2572,14 @@ eslint@^7.1.0: text-table "^0.2.0" v8-compile-cache "^2.0.3" -espree@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/espree/-/espree-7.0.0.tgz#8a7a60f218e69f120a842dc24c5a88aa7748a74e" - integrity sha512-/r2XEx5Mw4pgKdyb7GNLQNsu++asx/dltf/CI8RFi9oGHxmQFgvLbc5Op4U6i8Oaj+kdslhJtVlEZeAqH5qOTw== +espree@^7.3.0: + version "7.3.0" + resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.0.tgz#dc30437cf67947cf576121ebd780f15eeac72348" + integrity sha512-dksIWsvKCixn1yrEXO8UosNSxaDoSYpq9reEjZSbHLpT5hpaCAKTLBwq0RHtLrIr+c0ByiYzWT8KTMRzoRCNlw== dependencies: - acorn "^7.1.1" + acorn "^7.4.0" acorn-jsx "^5.2.0" - eslint-visitor-keys "^1.1.0" + eslint-visitor-keys "^1.3.0" esprima@^4.0.0: version "4.0.1" @@ -2542,27 +2593,27 @@ esquery@^1.2.0: dependencies: estraverse "^5.1.0" -esrecurse@^4.1.0: - version "4.2.1" - resolved "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf" - integrity sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ== +esrecurse@^4.1.0, esrecurse@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== dependencies: - estraverse "^4.1.0" + estraverse "^5.2.0" -estraverse@^4.1.0, estraverse@^4.1.1: +estraverse@^4.1.1: version "4.3.0" - resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== -estraverse@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.1.0.tgz#374309d39fd935ae500e7b92e8a6b4c720e59642" - integrity sha512-FyohXK+R0vE+y1nHLoBM7ZTyqRpqAlhdZHCWIWEviFLiGB8b04H6bQs8G+XTthacvT8VuwvteiP7RJSxMs8UEw== +estraverse@^5.1.0, estraverse@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880" + integrity sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ== esutils@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" - integrity sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs= + version "2.0.3" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== eventemitter3@^3.0.0: version "3.1.0" @@ -2648,15 +2699,6 @@ extend@^3.0.0: resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== -external-editor@^3.0.3: - version "3.1.0" - resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" - integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== - dependencies: - chardet "^0.7.0" - iconv-lite "^0.4.24" - tmp "^0.0.33" - extglob@^2.0.4: version "2.0.4" resolved "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" @@ -2672,18 +2714,30 @@ extglob@^2.0.4: to-regex "^3.0.1" fast-deep-equal@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" - integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== fast-diff@^1.1.2: version "1.2.0" resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== +fast-glob@^3.1.1: + version "3.2.4" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3" + integrity sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.0" + merge2 "^1.3.0" + micromatch "^4.0.2" + picomatch "^2.2.1" + fast-json-stable-stringify@^2.0.0: version "2.1.0" - resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== fast-levenshtein@^2.0.6: @@ -2691,6 +2745,13 @@ fast-levenshtein@^2.0.6: resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= +fastq@^1.6.0: + version "1.8.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.8.0.tgz#550e1f9f59bbc65fe185cb6a9b4d95357107f481" + integrity sha512-SMIZoZdLh/fgofivvIkmknUXyPnvxRE3DhtZ5Me3Mrsk5gyPL42F0xr51TdRXskBxHfMp+07bcYzfsYEsSQA9Q== + dependencies: + reusify "^1.0.4" + figgy-pudding@^3.5.1: version "3.5.2" resolved "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e" @@ -2711,13 +2772,6 @@ figures@^2.0.0: dependencies: escape-string-regexp "^1.0.5" -figures@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" - integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== - dependencies: - escape-string-regexp "^1.0.5" - file-entry-cache@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" @@ -2825,9 +2879,9 @@ flat@^4.1.0: is-buffer "~2.0.3" flatted@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.0.tgz#55122b6536ea496b4b44893ee2608141d10d9916" - integrity sha512-R+H8IZclI8AAkSBRQJLVOsxwAoHd6WC40b4QTNWIjzAa6BXOBfQcM587MXDTVPeYaopFNWHUFLx7eNmHDSxMWg== + version "2.0.2" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138" + integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA== flush-write-stream@^1.0.0: version "1.1.1" @@ -2902,7 +2956,7 @@ fs-write-stream-atomic@^1.0.8: fs.realpath@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= fsevents@^1.2.2, fsevents@^1.2.7: @@ -2987,14 +3041,14 @@ glob-parent@^3.1.0: is-glob "^3.1.0" path-dirname "^1.0.0" -glob-parent@^5.0.0, glob-parent@~5.1.0: +glob-parent@^5.0.0, glob-parent@^5.1.0, glob-parent@~5.1.0: version "5.1.1" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229" integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ== dependencies: is-glob "^4.0.1" -glob@7.1.3, glob@^7.0.3, glob@^7.1.1, glob@^7.1.3: +glob@7.1.3, glob@^7.0.3, glob@^7.1.1: version "7.1.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1" integrity sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ== @@ -3006,7 +3060,7 @@ glob@7.1.3, glob@^7.0.3, glob@^7.1.1, glob@^7.1.3: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.5, glob@^7.1.4, glob@^7.1.6: +glob@^7.0.5, glob@^7.1.3, glob@^7.1.4: version "7.1.6" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== @@ -3035,6 +3089,18 @@ globals@^9.18.0: resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" integrity sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ== +globby@^11.0.1: + version "11.0.1" + resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.1.tgz#9a2bf107a068f3ffeabc49ad702c79ede8cfd357" + integrity sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.1.1" + ignore "^5.1.4" + merge2 "^1.3.0" + slash "^3.0.0" + globby@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" @@ -3286,13 +3352,6 @@ iconv-lite@0.4.23: dependencies: safer-buffer ">= 2.1.2 < 3" -iconv-lite@^0.4.24: - version "0.4.24" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== - dependencies: - safer-buffer ">= 2.1.2 < 3" - ieee754@^1.1.4: version "1.1.13" resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84" @@ -3313,6 +3372,11 @@ ignore@^5.1.1: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.6.tgz#643194ad4bf2712f37852e386b6998eff0db2106" integrity sha512-cgXgkypZBcCnOgSihyeqbo6gjIaIyDqPQB7Ra4vhE9m6kigdGoQDMHjviFhRZo3IMlRy6yElosoviMs5YxZXUA== +ignore@^5.1.4: + version "5.1.8" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57" + integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw== + import-fresh@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546" @@ -3321,7 +3385,7 @@ import-fresh@^2.0.0: caller-path "^2.0.0" resolve-from "^3.0.0" -import-fresh@^3.0.0: +import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ== @@ -3339,7 +3403,7 @@ import-local@^2.0.0: imurmurhash@^0.1.4: version "0.1.4" - resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= indent-string@^3.0.0: @@ -3359,7 +3423,7 @@ infer-owner@^1.0.3: inflight@^1.0.4: version "1.0.6" - resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= dependencies: once "^1.3.0" @@ -3380,25 +3444,6 @@ inherits@2.0.3: resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= -inquirer@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.1.0.tgz#1298a01859883e17c7264b82870ae1034f92dd29" - integrity sha512-5fJMWEmikSYu0nv/flMc475MhGbB7TSPd/2IpFV4I4rMklboCH2rQjYY5kKiYGHqUF9gvaambupcJFFG9dvReg== - dependencies: - ansi-escapes "^4.2.1" - chalk "^3.0.0" - cli-cursor "^3.1.0" - cli-width "^2.0.0" - external-editor "^3.0.3" - figures "^3.0.0" - lodash "^4.17.15" - mute-stream "0.0.8" - run-async "^2.4.0" - rxjs "^6.5.3" - string-width "^4.1.0" - strip-ansi "^6.0.0" - through "^2.3.6" - interpret@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614" @@ -3527,7 +3572,7 @@ is-extendable@^1.0.1: is-extglob@^2.1.0, is-extglob@^2.1.1: version "2.1.1" - resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" + resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= is-finite@^1.0.0: @@ -3546,14 +3591,9 @@ is-fullwidth-code-point@^1.0.0: is-fullwidth-code-point@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= -is-fullwidth-code-point@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - is-glob@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" @@ -3759,7 +3799,7 @@ json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: json-schema-traverse@^0.4.1: version "0.4.1" - resolved "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== json-stable-stringify-without-jsonify@^1.0.1: @@ -4065,11 +4105,16 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" -lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.3, lodash@^4.17.4: +lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3, lodash@^4.17.4: version "4.17.15" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== +lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19: + version "4.17.20" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" + integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== + log-symbols@2.2.0, log-symbols@^2.1.0, log-symbols@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a" @@ -4239,6 +4284,11 @@ memory-fs@^0.5.0: errno "^0.1.3" readable-stream "^2.0.1" +merge2@^1.3.0: + version "1.4.1" + resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8: version "3.1.10" resolved "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -4258,7 +4308,7 @@ micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8: snapdragon "^0.8.1" to-regex "^3.0.2" -micromatch@^4.0.0: +micromatch@^4.0.0, micromatch@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259" integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q== @@ -4296,11 +4346,6 @@ mimic-fn@^1.0.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== -mimic-fn@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" @@ -4313,7 +4358,7 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: minimatch@3.0.4, minimatch@^3.0.2, minimatch@^3.0.4: version "3.0.4" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== dependencies: brace-expansion "^1.1.7" @@ -4417,15 +4462,15 @@ ms@2.0.0: resolved "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= -ms@2.1.1, ms@^2.1.1: +ms@2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== -mute-stream@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" - integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== +ms@^2.1.1: + version "2.1.2" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== nan@^2.12.1: version "2.14.1" @@ -4652,7 +4697,7 @@ on-finished@~2.3.0: once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" - resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= dependencies: wrappy "1" @@ -4664,13 +4709,6 @@ onetime@^2.0.0: dependencies: mimic-fn "^1.0.0" -onetime@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.0.tgz#fff0f3c91617fe62bb50189636e99ac8a6df7be5" - integrity sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q== - dependencies: - mimic-fn "^2.1.0" - optimist@^0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" @@ -4899,6 +4937,11 @@ path-parse@^1.0.6: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + pbkdf2@^3.0.3: version "3.1.1" resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz#cb8724b0fada984596856d1a6ebafd3584654b94" @@ -5094,7 +5137,7 @@ punycode@^1.2.4: punycode@^2.1.0: version "2.1.1" - resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== qjobs@^1.1.4: @@ -5387,19 +5430,16 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" - integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== - dependencies: - onetime "^5.1.0" - signal-exit "^3.0.2" - ret@~0.1.10: version "0.1.15" resolved "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== +reusify@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" + integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== + rfdc@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.1.2.tgz#e6e72d74f5dc39de8f538f65e00c36c18018e349" @@ -5434,16 +5474,16 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" -run-async@^2.4.0: - version "2.4.1" - resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" - integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== - run-node@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/run-node/-/run-node-1.0.0.tgz#46b50b946a2aa2d4947ae1d886e9856fd9cabe5e" integrity sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A== +run-parallel@^1.1.9: + version "1.1.9" + resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.1.9.tgz#c9dd3a7cf9f4b2c4b6244e173a6ed866e61dd679" + integrity sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q== + run-queue@^1.0.0, run-queue@^1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47" @@ -5458,13 +5498,6 @@ rxjs@^6.3.3: dependencies: tslib "^1.9.0" -rxjs@^6.5.3: - version "6.5.5" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.5.tgz#c5c884e3094c8cfee31bf27eb87e54ccfc87f9ec" - integrity sha512-WfQI+1gohdf0Dai/Bbmk5L5ItH5tYqm3ki2c5GdWhKjalzjg93N3avFjVStyZZz+A2Em+ZxKH5bNghw9UeylGQ== - dependencies: - tslib "^1.9.0" - safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" @@ -5484,7 +5517,7 @@ safe-regex@^1.1.0: "safer-buffer@>= 2.1.2 < 3": version "2.1.2" - resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== schema-utils@^1.0.0: @@ -5607,16 +5640,11 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -signal-exit@^3.0.0: +signal-exit@^3.0.0, signal-exit@^3.0.2: version "3.0.3" resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== -signal-exit@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= - simple-git@^1.85.0: version "1.112.0" resolved "https://registry.yarnpkg.com/simple-git/-/simple-git-1.112.0.tgz#2aec1b124c3705adf6baf977b663a0632f50267f" @@ -5634,6 +5662,11 @@ slash@^2.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + slice-ansi@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" @@ -5917,15 +5950,6 @@ string-width@^3.0.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" -string-width@^4.1.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" - integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.0" - string_decoder@^1.0.0, string_decoder@^1.1.1: version "1.3.0" resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" @@ -5997,10 +6021,10 @@ strip-json-comments@2.0.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= -strip-json-comments@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.0.tgz#7638d31422129ecf4457440009fba03f9f9ac180" - integrity sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w== +strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== supports-color@6.0.0: version "6.0.0" @@ -6022,9 +6046,9 @@ supports-color@^5.3.0, supports-color@^5.5.0: has-flag "^3.0.0" supports-color@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1" - integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g== + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== dependencies: has-flag "^4.0.0" @@ -6090,11 +6114,6 @@ through2@^2.0.0: readable-stream "~2.3.6" xtend "~4.0.1" -through@^2.3.6: - version "2.3.8" - resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= - timers-browserify@^2.0.4: version "2.0.11" resolved "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.11.tgz#800b1f3eee272e5bc53ee465a04d0e804c31211f" @@ -6102,7 +6121,7 @@ timers-browserify@^2.0.4: dependencies: setimmediate "^1.0.4" -tmp@0.0.33, tmp@0.0.x, tmp@^0.0.33: +tmp@0.0.33, tmp@0.0.x: version "0.0.33" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== @@ -6183,7 +6202,7 @@ tslib@^1.8.1: tslib@^1.9.0: version "1.13.0" - resolved "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043" integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== tsutils@^3.17.1: @@ -6205,11 +6224,6 @@ type-check@^0.4.0, type-check@~0.4.0: dependencies: prelude-ls "^1.2.1" -type-fest@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.11.0.tgz#97abf0872310fed88a5c466b25681576145e33f1" - integrity sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ== - type-fest@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.4.1.tgz#8bdf77743385d8a4f13ba95f610f5ccd68c728f8" @@ -6233,10 +6247,10 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@^3.6.2: - version "3.9.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.3.tgz#d3ac8883a97c26139e42df5e93eeece33d610b8a" - integrity sha512-D/wqnB2xzNFIcoBG9FG8cXRDjiqSTbG2wd8DMZeQyJlP1vfTkIxH4GKveWaEBYySKIg+USu+E+EDIR47SqnaMQ== +typescript@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.3.tgz#153bbd468ef07725c1df9c77e8b453f8d36abba5" + integrity sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg== uglify-js@3.3.x: version "3.3.9" @@ -6304,9 +6318,9 @@ upper-case@^1.1.1: integrity sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg= uri-js@^4.2.2: - version "4.2.2" - resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" - integrity sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ== + version "4.4.0" + resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.0.tgz#aa714261de793e8a82347a7bcc9ce74e86f28602" + integrity sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g== dependencies: punycode "^2.1.0" @@ -6389,9 +6403,9 @@ v8-compile-cache@^2.0.2: integrity sha512-1wFuMUIM16MDJRCrpbpuEPTUGmM5QMUg0cr3KFwra2XgOgFcPGDQHDh3CszSCD2Zewc/dh/pamNEW8CbfDebUw== v8-compile-cache@^2.0.3: - version "2.1.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e" - integrity sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g== + version "2.1.1" + resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz#54bc3cdd43317bca91e35dcaf305b1a7237de745" + integrity sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ== validate-npm-package-license@^3.0.1: version "3.0.4" @@ -6568,7 +6582,7 @@ wrap-ansi@^3.0.1: wrappy@1: version "1.0.2" - resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= write@1.0.3: From 0767bce96e5fef3a21890a401bf80029374f0b25 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Mon, 21 Sep 2020 05:40:16 +0100 Subject: [PATCH 02/26] add github action status badge (#1190) * add github action status badge * Delete appveyor.yml --- README.md | 3 ++- appveyor.yml | 22 ---------------------- 2 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 appveyor.yml diff --git a/README.md b/README.md index 1a02c590a..f911a4df1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # TypeScript loader for webpack [![npm version](https://img.shields.io/npm/v/ts-loader.svg)](https://www.npmjs.com/package/ts-loader) -[![Build Status](https://travis-ci.org/TypeStrong/ts-loader.svg?branch=master)](https://travis-ci.org/TypeStrong/ts-loader) +![GitHub build)](https://github.com/TypeStrong/ts-loader/workflows/Continuous%20Integration%20(build%20and%20test)/badge.svg) +[![Travis build](https://travis-ci.org/TypeStrong/ts-loader.svg?branch=master)](https://travis-ci.org/TypeStrong/ts-loader) [![Downloads](http://img.shields.io/npm/dm/ts-loader.svg)](https://npmjs.org/package/ts-loader) [![node version](https://img.shields.io/node/v/ts-loader.svg)](https://www.npmjs.com/package/ts-loader) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index bb1fa65dd..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,22 +0,0 @@ -image: Visual Studio 2019 -environment: - FORCE_COLOR: 1 - nodejs_version: "14" - matrix: - - TYPESCRIPT: typescript@3.9.3 - - TYPESCRIPT: typescript@next - - TYPESCRIPT: typescript@3.8.2 - - TYPESCRIPT: typescript@3.7.4 - - TYPESCRIPT: typescript@3.6.3 - -install: - - ps: Install-Product node $env:nodejs_version - - yarn install - - yarn build - - yarn lint - - yarn add %TYPESCRIPT% -test_script: - - node --version - - yarn --version - - yarn test -build: off From f5e901e4928621934d9894ff8ae3aeef2332e567 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Sep 2020 05:43:09 +0100 Subject: [PATCH 03/26] Bump http-proxy in /examples/react-babel-karma-gulp (#1182) Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.16.2 to 1.18.1. - [Release notes](https://github.com/http-party/node-http-proxy/releases) - [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md) - [Commits](https://github.com/http-party/node-http-proxy/compare/1.16.2...1.18.1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- examples/react-babel-karma-gulp/yarn.lock | 25 +++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/examples/react-babel-karma-gulp/yarn.lock b/examples/react-babel-karma-gulp/yarn.lock index 30a65bb20..27e447133 100644 --- a/examples/react-babel-karma-gulp/yarn.lock +++ b/examples/react-babel-karma-gulp/yarn.lock @@ -1878,9 +1878,10 @@ event-stream@^3.1.0: stream-combiner "~0.0.4" through "~2.3.1" -eventemitter3@1.x.x: - version "1.2.0" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-1.2.0.tgz#1c86991d816ad1e504750e73874224ecf3bec508" +eventemitter3@^4.0.0: + version "4.0.7" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" + integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== events@^1.0.0: version "1.1.1" @@ -2178,6 +2179,11 @@ flux@^2.0.3: fbjs "0.1.0-alpha.7" immutable "^3.7.4" +follow-redirects@^1.0.0: + version "1.13.0" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.0.tgz#b42e8d93a2a7eea5ed88633676d6597bc8e384db" + integrity sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA== + for-in@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" @@ -2742,11 +2748,13 @@ http-errors@1.6.2, http-errors@~1.6.2: statuses ">= 1.3.1 < 2" http-proxy@^1.13.0: - version "1.16.2" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.16.2.tgz#06dff292952bf64dbe8471fa9df73066d4f37742" + version "1.18.1" + resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" + integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== dependencies: - eventemitter3 "1.x.x" - requires-port "1.x.x" + eventemitter3 "^4.0.0" + follow-redirects "^1.0.0" + requires-port "^1.0.0" http-signature@~1.1.0: version "1.1.1" @@ -4678,9 +4686,10 @@ require-uncached@^1.0.2: caller-path "^0.1.0" resolve-from "^1.0.0" -requires-port@1.x.x: +requires-port@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" + integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= resolve-dir@^0.1.0: version "0.1.1" From cafc933deccd2ea816d41a8de0289d8a8ce36348 Mon Sep 17 00:00:00 2001 From: Luis Marroquin Date: Thu, 1 Oct 2020 23:01:00 -0500 Subject: [PATCH 04/26] Fix installation link on README.md (#1192) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f911a4df1..9fa44b9f6 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ This is the TypeScript loader for webpack.

- Installation + Installation · Report Bug · From 6d8d601e1171502cc972e05b4e132cf3b674e2cc Mon Sep 17 00:00:00 2001 From: Timofey Kachalov Date: Tue, 13 Oct 2020 07:36:05 +0300 Subject: [PATCH 05/26] Fixed deprecation warnings on webpack@5. (#1195) * Fixed deprecation warnings on webpack@5. Fixed https://github.com/TypeStrong/ts-loader/issues/1194 * Removed redundant `!!` in `module.addError` checks * Version update to 8.0.5 --- CHANGELOG.md | 3 +++ package.json | 2 +- src/index.ts | 13 +++++++++++-- src/instances.ts | 22 ++++++++++++++++++++-- 4 files changed, 35 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f03c57e5..b2e9697fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v8.0.5 +* [Fixed deprecation warnings on webpack@5](https://github.com/TypeStrong/ts-loader/issues/1194) - thanks @sanex3339 + ## v8.0.4 * [Uses existing instance if config file is same as already built solution](https://github.com/TypeStrong/ts-loader/pull/1177) - thanks @sheetalkamat diff --git a/package.json b/package.json index e2514f2e4..bceb649e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.4", + "version": "8.0.5", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/index.ts b/src/index.ts index 6ceb4adf5..8282e9d21 100644 --- a/src/index.ts +++ b/src/index.ts @@ -632,6 +632,7 @@ function getTranspilationEmit( reportDiagnostics: true, fileName, }); + const module = loaderContext._module; addDependenciesFromSolutionBuilder(instance, fileName, file => loaderContext.addDependency(path.resolve(file)) @@ -644,11 +645,19 @@ function getTranspilationEmit( instance.loaderOptions, instance.colors, instance.compiler, - { module: loaderContext._module }, + { module }, loaderContext.context ); - loaderContext._module.errors.push(...errors); + /** + * Since webpack 5, the `errors` property is deprecated, + * so we can check if some methods for reporting errors exist. + */ + if (module.addError) { + errors.forEach(error => module.addError(error)); + } else { + module.errors.push(...errors); + } } return { outputText, sourceMapText }; diff --git a/src/instances.ts b/src/instances.ts index 527d89f44..95ac680e2 100644 --- a/src/instances.ts +++ b/src/instances.ts @@ -146,6 +146,7 @@ function successfulTypeScriptInstance( } } + const module = loader._module; const basePath = loaderOptions.context || path.dirname(configFilePath || ''); const configParseResult = getConfigParseResult( compiler, @@ -165,7 +166,15 @@ function successfulTypeScriptInstance( loader.context ); - loader._module.errors.push(...errors); + /** + * Since webpack 5, the `errors` property is deprecated, + * so we can check if some methods for reporting errors exist. + */ + if (module.addError) { + errors.forEach(error => module.addError(error)); + } else { + module.errors.push(...errors); + } return { error: makeError( @@ -415,6 +424,7 @@ export function reportTranspileErrors( if (!instance.reportTranspileErrors) { return; } + const module = loader._module; instance.reportTranspileErrors = false; // happypack does not have _module.errors - see https://github.com/TypeStrong/ts-loader/issues/336 if (!instance.loaderOptions.happyPackMode) { @@ -431,7 +441,15 @@ export function reportTranspileErrors( { file: instance.configFilePath || 'tsconfig.json' }, loader.context ); - loader._module.errors.push(...solutionErrors, ...errors); + /** + * Since webpack 5, the `errors` property is deprecated, + * so we can check if some methods for reporting errors exist. + */ + if (module.addError) { + [...solutionErrors, ...errors].forEach(error => module.addError(error)); + } else { + module.errors.push(...solutionErrors, ...errors); + } } } From 0b4a86dd50695f8295d13d25ba3c2b5628dd233c Mon Sep 17 00:00:00 2001 From: Nick Excell Date: Tue, 20 Oct 2020 06:14:18 +0100 Subject: [PATCH 06/26] Replace afterCompile to stop webpack 5 warning (#1200) * Replace afterCompile to stop webpack 5 warning * Update src/instances.ts * Update src/instances.ts * Updated Changelog and bump version Co-authored-by: John Reilly --- CHANGELOG.md | 3 +++ package.json | 2 +- src/instances.ts | 48 ++++++++++++++++++++++++++++++++++++++++-------- 3 files changed, 44 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b2e9697fa..d803cb168 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v8.0.6 +* [Fixed further deprecation warning on webpack@5](https://github.com/TypeStrong/ts-loader/issues/1196) - thanks @appzuka + ## v8.0.5 * [Fixed deprecation warnings on webpack@5](https://github.com/TypeStrong/ts-loader/issues/1194) - thanks @sanex3339 diff --git a/package.json b/package.json index bceb649e4..96cfa1195 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.5", + "version": "8.0.6", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/instances.ts b/src/instances.ts index 95ac680e2..769e023f3 100644 --- a/src/instances.ts +++ b/src/instances.ts @@ -341,10 +341,26 @@ export function initializeInstance( instance.transformers = getCustomTransformers(program); // Setup watch run for solution building if (instance.solutionBuilderHost) { - loader._compiler.hooks.afterCompile.tapAsync( - 'ts-loader', - makeAfterCompile(instance, instance.configFilePath) - ); + if (loader._compilation.hooks.afterProcessAssets) { + // afterProcessAssets does not exist in webpack4 + loader._compilation.hooks.afterProcessAssets.tap( + 'ts-loader', + (_: any) => { + makeAfterCompile(instance, instance.configFilePath)( + loader._compilation, + () => { + return null; + } + ); + } + ); + } else { + // adding assets in afterCompile is deprecated in webpack 5 + loader._compiler.hooks.afterCompile.tapAsync( + 'ts-loader', + makeAfterCompile(instance, instance.configFilePath) + ); + } loader._compiler.hooks.watchRun.tapAsync( 'ts-loader', makeWatchRun(instance, loader) @@ -391,11 +407,27 @@ export function initializeInstance( instance.languageService!.getProgram() ); } + if (loader._compilation.hooks.afterProcessAssets) { + // afterProcessAssets does not exist in webpack4 + loader._compilation.hooks.afterProcessAssets.tap( + 'ts-loader', + (_: any) => { + makeAfterCompile(instance, instance.configFilePath)( + loader._compilation, + () => { + return null; + } + ); + } + ); + } else { + // adding assets in afterCompile is deprecated in webpack 5 + loader._compiler.hooks.afterCompile.tapAsync( + 'ts-loader', + makeAfterCompile(instance, instance.configFilePath) + ); + } - loader._compiler.hooks.afterCompile.tapAsync( - 'ts-loader', - makeAfterCompile(instance, instance.configFilePath) - ); loader._compiler.hooks.watchRun.tapAsync( 'ts-loader', makeWatchRun(instance, loader) From f99c7c4d09bd51c20d3e6c8e9f136ffc789c2e67 Mon Sep 17 00:00:00 2001 From: RyosukeFukushima <39250601+RyosukeFukushima@users.noreply.github.com> Date: Thu, 22 Oct 2020 14:21:01 +0900 Subject: [PATCH 07/26] doc: escape pipe in table (#1201) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9fa44b9f6..e668de826 100644 --- a/README.md +++ b/README.md @@ -496,12 +496,12 @@ of your code. #### appendTsSuffixTo | Type | Default Value | |------|--------------| -| `(RegExp | string)[]` | `[]`| +| `(RegExp \| string)[]` | `[]`| #### appendTsxSuffixTo | Type | Default Value | |------|--------------| -| `(RegExp | string)[]` | `[]`| +| `(RegExp \| string)[]` | `[]`| A list of regular expressions to be matched against filename. If filename matches one of the regular expressions, a `.ts` or `.tsx` suffix will be appended to that filename. If you're using [HappyPack](https://github.com/amireh/happypack) or [thread-loader](https://github.com/webpack-contrib/thread-loader) with `ts-loader`, you need use the `string` type for the regular expressions, not `RegExp` object. From 95050eb4011af3203eb78edde3358d8df17cc7a4 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Sat, 24 Oct 2020 04:23:12 -0700 Subject: [PATCH 08/26] Speeds up project reference build and doesnt store the result in memory (#1202) * Output files are on disk so dont store their text in memory * Get rid of version from output * remove time * Since the files are on disk, dont read them unless needed. * add to CHANGELOG Co-authored-by: John Reilly --- CHANGELOG.md | 3 + package.json | 2 +- src/index.ts | 51 +- src/instances.ts | 24 +- src/interfaces.ts | 32 +- src/servicesHost.ts | 655 +++++++----------- src/utils.ts | 16 - src/watch-run.ts | 11 +- .../patch3/app/bundle.js | 137 ---- .../patch3/output.txt | 4 +- .../patch4/app/bundle.js | 137 ---- .../patch4/output.txt | 2 +- .../patch5/app/bundle.js | 137 ---- .../patch5/output.txt | 4 +- .../patch6/app/bundle.js | 137 ---- .../patch6/output.txt | 2 +- .../patch2/bundle.js | 113 --- .../patch2/output.txt | 8 +- .../patch2/bundle.js | 113 --- .../patch2/output.txt | 8 +- .../patch2/bundle.js | 113 --- .../patch2/output.txt | 8 +- 22 files changed, 306 insertions(+), 1411 deletions(-) delete mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/app/bundle.js delete mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/app/bundle.js delete mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/app/bundle.js delete mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/app/bundle.js delete mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/bundle.js delete mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js delete mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js diff --git a/CHANGELOG.md b/CHANGELOG.md index d803cb168..5eead78f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v8.0.7 +* [Speeds up project reference build and doesnt store the result in memory](https://github.com/TypeStrong/ts-loader/pull/1202) - thanks @sheetalkamat + ## v8.0.6 * [Fixed further deprecation warning on webpack@5](https://github.com/TypeStrong/ts-loader/issues/1196) - thanks @appzuka diff --git a/package.json b/package.json index 96cfa1195..f9ffda999 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.6", + "version": "8.0.7", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/index.ts b/src/index.ts index 8282e9d21..37af8a480 100644 --- a/src/index.ts +++ b/src/index.ts @@ -329,27 +329,18 @@ function updateFileInCache( instance.changedFilesList = true; } } else { - if ( - instance.watchHost !== undefined || - instance.solutionBuilderHost !== undefined - ) { + if (instance.watchHost !== undefined) { fileWatcherEventKind = instance.compiler.FileWatcherEventKind.Created; } file = { fileName: filePath, version: 0 }; if (!isReferencedFile(instance, filePath)) { instance.files.set(key, file); instance.changedFilesList = true; - } else { - instance.otherFiles.set(key, file); } } } - if ( - (instance.watchHost !== undefined || - instance.solutionBuilderHost !== undefined) && - contents === undefined - ) { + if (instance.watchHost !== undefined && contents === undefined) { fileWatcherEventKind = instance.compiler.FileWatcherEventKind.Deleted; } @@ -376,8 +367,7 @@ function updateFileInCache( file.modifiedTime = new Date(); instance.version++; if ( - (instance.watchHost !== undefined || - instance.solutionBuilderHost !== undefined) && + instance.watchHost !== undefined && fileWatcherEventKind === undefined ) { fileWatcherEventKind = instance.compiler.FileWatcherEventKind.Changed; @@ -395,16 +385,6 @@ function updateFileInCache( instance.hasUnaccountedModifiedFiles; } - if ( - instance.solutionBuilderHost !== undefined && - fileWatcherEventKind !== undefined - ) { - instance.solutionBuilderHost.invokeFileWatcher( - filePath, - fileWatcherEventKind - ); - } - // push this file to modified files hash. if (!instance.modifiedFiles) { instance.modifiedFiles = new Map(); @@ -438,10 +418,9 @@ function getEmit( defFilePath.match(constants.dtsDtsxOrDtsDtsxMapRegex) && // Remove the project reference d.ts as we are adding dependency for .ts later // This removed extra build pass (resulting in new stats object in initial build) - (!instance.solutionBuilderHost || - !instance.solutionBuilderHost.getOutputFileKeyFromReferencedProject( - defFilePath - )) + !instance.solutionBuilderHost?.getOutputFileKeyFromReferencedProject( + defFilePath + ) ) { addDependency(defFilePath); } @@ -469,12 +448,18 @@ function getEmit( defFilePath => path.relative(loaderContext.rootContext, defFilePath) + '@' + - ( - instance.files.get(instance.filePathKeyMapper(defFilePath)) || - instance.otherFiles.get(instance.filePathKeyMapper(defFilePath)) || { - version: '?', - } - ).version + (isReferencedFile(instance, defFilePath) + ? instance + .solutionBuilderHost!.getInputFileStamp(defFilePath) + .toString() + : ( + instance.files.get(instance.filePathKeyMapper(defFilePath)) || + instance.otherFiles.get( + instance.filePathKeyMapper(defFilePath) + ) || { + version: '?', + } + ).version) ); return getOutputAndSourceMapFromOutputFiles(outputFiles); diff --git a/src/instances.ts b/src/instances.ts index 769e023f3..0078a5aaa 100644 --- a/src/instances.ts +++ b/src/instances.ts @@ -507,7 +507,7 @@ export function buildSolutionReferences( { verbose: true } ); solutionBuilder.build(); - ensureAllReferences(instance); + instance.solutionBuilderHost.ensureAllReferenceTimestamps(); instancesBySolutionBuilderConfigs.set( instance.filePathKeyMapper(instance.configFilePath!), instance @@ -517,28 +517,6 @@ export function buildSolutionReferences( } } -function ensureAllReferences(instance: TSInstance) { - // Return result from the json without errors so that the extra errors from config are digested here - for (const configInfo of instance.solutionBuilderHost!.configFileInfo.values()) { - if (!configInfo.config) { - continue; - } - // Load all the input files - configInfo.config.fileNames.forEach(file => { - const resolvedFileName = instance.filePathKeyMapper(file); - const existing = instance.otherFiles.get(resolvedFileName); - if (!existing) { - instance.otherFiles.set(resolvedFileName, { - fileName: path.resolve(file), - version: 1, - text: instance.compiler.sys.readFile(file), - modifiedTime: instance.compiler.sys.getModifiedTime!(file), - }); - } - }); - } -} - export function forEachResolvedProjectReference( resolvedProjectReferences: | readonly (typescript.ResolvedProjectReference | undefined)[] diff --git a/src/interfaces.ts b/src/interfaces.ts index 20e2887c9..53c48423f 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -42,10 +42,11 @@ export type ResolveSync = ( moduleName: string ) => string; -export type Action = () => void; - export interface HostMayBeCacheable { - clearCache?: Action; + clearCache?(): void; + fileExistsCache?: Map; + directoryExistsCache?: Map; + realpathCache?: Map; } export interface CacheableHost extends HostMayBeCacheable { @@ -130,39 +131,40 @@ export interface SolutionBuilderWithWatchHost >, WatchFactory { diagnostics: SolutionDiagnostics; - writtenFiles: OutputFile[]; + writtenFiles: typescript.OutputFile[]; configFileInfo: Map; outputAffectingInstanceVersion: Map; + getInputFileStamp(fileName: string): Date; + updateSolutionBuilderInputFile(fileName: string): void; getOutputFileKeyFromReferencedProject( outputFileName: string ): FilePathKey | undefined; - getOutputFileFromReferencedProject( - outputFileName: string - ): OutputFile | false | undefined; getOutputFileAndKeyFromReferencedProject( oututFileName: string - ): { key: FilePathKey; outputFile: OutputFile | false } | undefined; + ): { key: FilePathKey; outputFile: string | false } | undefined; + getOutputFileTextAndKeyFromReferencedProject( + oututFileName: string + ): { key: FilePathKey; text: string | undefined } | undefined; getInputFileNameFromOutput(outputFileName: string): string | undefined; - getOutputFilesFromReferencedProjectInput(inputFileName: string): OutputFile[]; + getOutputFilesFromReferencedProjectInput( + inputFileName: string + ): typescript.OutputFile[]; buildReferences(): void; + ensureAllReferenceTimestamps(): void; clearCache(): void; + close(): void; } export interface ConfigFileInfo { config: typescript.ParsedCommandLine | undefined; outputFileNames?: Map< FilePathKey, - { inputFileName: string; outputNames: FilePathKey[] } + { inputFileName: string; outputNames: string[] } >; tsbuildInfoFile?: string; dtsFiles?: string[]; } -export interface OutputFile extends typescript.OutputFile { - time: Date; - version: number; -} - export interface TSInstance { compiler: typeof typescript; compilerOptions: typescript.CompilerOptions; diff --git a/src/servicesHost.ts b/src/servicesHost.ts index 9ecf3a6dd..a2bc008b9 100644 --- a/src/servicesHost.ts +++ b/src/servicesHost.ts @@ -5,20 +5,17 @@ import { getParsedCommandLine } from './config'; import * as constants from './constants'; import { getOutputFileNames } from './instances'; import { - Action, CacheableHost, ConfigFileInfo, CustomResolveModuleName, CustomResolveTypeReferenceDirective, FilePathKey, ModuleResolutionHostMayBeCacheable, - OutputFile, ResolvedModule, ResolveSync, ServiceHostWhichMayBeCacheable, SolutionBuilderWithWatchHost, SolutionDiagnostics, - TSFile, TSInstance, WatchCallbacks, WatchFactory, @@ -27,7 +24,6 @@ import { } from './interfaces'; import { makeResolver } from './resolver'; import { - ensureTrailingDirectorySeparator, formatErrors, fsReadFile, populateDependencyGraph, @@ -35,11 +31,11 @@ import { useCaseSensitiveFileNames, } from './utils'; -function makeResolversHandlingProjectReferences( +function makeResolversAndModuleResolutionHost( scriptRegex: RegExp, loader: webpack.loader.LoaderContext, instance: TSInstance, - originalFileExists: (fileName: string) => boolean, + fileExists: (fileName: string) => boolean, enableFileCaching: boolean ) { const { @@ -97,26 +93,10 @@ function makeResolversHandlingProjectReferences( instance ); - function fileExists(filePathToCheck: string) { - const outputFile = instance.solutionBuilderHost?.getOutputFileFromReferencedProject( - filePathToCheck - ); - if (outputFile !== undefined) { - return !!outputFile; - } - return originalFileExists(filePathToCheck); - } - function readFile( filePath: string, encoding?: string | undefined ): string | undefined { - const outputFile = instance.solutionBuilderHost?.getOutputFileFromReferencedProject( - filePath - ); - if (outputFile !== undefined) { - return outputFile ? outputFile.text : undefined; - } return ( instance.compiler.sys.readFile(filePath, encoding) || fsReadFile(filePath, encoding) @@ -124,21 +104,15 @@ function makeResolversHandlingProjectReferences( } function directoryExists(directoryName: string) { - return instance.solutionBuilderHost - ? instance.solutionBuilderHost.directoryExists!(directoryName) - : compiler.sys.directoryExists(directoryName); + return compiler.sys.directoryExists(directoryName); } function realpath(path: string) { - return instance.solutionBuilderHost - ? instance.solutionBuilderHost.realpath!(path) - : compiler.sys.realpath!(path); + return compiler.sys.realpath!(path); } function getDirectories(path: string) { - return instance.solutionBuilderHost - ? instance.solutionBuilderHost.getDirectories!(path) - : compiler.sys.getDirectories(path); + return compiler.sys.getDirectories(path); } function readDirectory( @@ -148,15 +122,13 @@ function makeResolversHandlingProjectReferences( include?: readonly string[], depth?: number ) { - return instance.solutionBuilderHost - ? instance.solutionBuilderHost.readDirectory!( - path, - extensions, - exclude, - include, - depth - ) - : compiler.sys.readDirectory(path, extensions, exclude, include, depth); + return compiler.sys.readDirectory( + path, + extensions, + exclude, + include, + depth + ); } } @@ -172,23 +144,10 @@ export function makeServicesHost( const { compiler, compilerOptions, files, filePathKeyMapper } = instance; const { - moduleResolutionHost: { - fileExists, - readFile, - trace, - directoryExists, - realpath, - getCurrentDirectory, - getDirectories, - clearCache, - useCaseSensitiveFileNames, - getNewLine, - getDefaultLibFileName, - readDirectory, - }, + moduleResolutionHost, resolveModuleNames, resolveTypeReferenceDirectives, - } = makeResolversHandlingProjectReferences( + } = makeResolversAndModuleResolutionHost( scriptRegex, loader, instance, @@ -215,11 +174,10 @@ export function makeServicesHost( if (file) { return file.version.toString(); } - const outputFileAndKey = - instance.solutionBuilderHost && - instance.solutionBuilderHost.getOutputFileAndKeyFromReferencedProject( - fileName - ); + + const outputFileAndKey = instance.solutionBuilderHost?.getOutputFileAndKeyFromReferencedProject( + fileName + ); if (outputFileAndKey !== undefined) { instance.solutionBuilderHost!.outputAffectingInstanceVersion.set( outputFileAndKey.key, @@ -227,7 +185,7 @@ export function makeServicesHost( ); } return outputFileAndKey && outputFileAndKey.outputFile - ? outputFileAndKey.outputFile.version.toString() + ? outputFileAndKey.outputFile : ''; }, @@ -240,7 +198,7 @@ export function makeServicesHost( if (file === undefined) { if (instance.solutionBuilderHost) { - const outputFileAndKey = instance.solutionBuilderHost.getOutputFileAndKeyFromReferencedProject( + const outputFileAndKey = instance.solutionBuilderHost.getOutputFileTextAndKeyFromReferencedProject( fileName ); if (outputFileAndKey !== undefined) { @@ -248,15 +206,13 @@ export function makeServicesHost( outputFileAndKey.key, true ); - return outputFileAndKey && outputFileAndKey.outputFile - ? compiler.ScriptSnapshot.fromString( - outputFileAndKey.outputFile.text - ) + return outputFileAndKey && outputFileAndKey.text !== undefined + ? compiler.ScriptSnapshot.fromString(outputFileAndKey.text) : undefined; } } - const text = readFile(fileName); + const text = moduleResolutionHost.readFile(fileName); if (text === undefined) { return undefined; } @@ -267,42 +223,15 @@ export function makeServicesHost( return compiler.ScriptSnapshot.fromString(file.text!); }, - - /** - * getDirectories is also required for full import and type reference completions. - * Without it defined, certain completions will not be provided - */ - getDirectories, - - /** - * For @types expansion, these two functions are needed. - */ - directoryExists, - - useCaseSensitiveFileNames, - - realpath, - - // The following three methods are necessary for @types resolution from TS 2.4.1 onwards see: https://github.com/Microsoft/TypeScript/issues/16772 - fileExists, - readFile, - readDirectory, - - getCurrentDirectory, - + ...moduleResolutionHost, getCompilationSettings: () => compilerOptions, - getDefaultLibFileName, - getNewLine, - trace, - log: trace, + log: moduleResolutionHost.trace, // used for (/// ) see https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/250#issuecomment-485061329 resolveTypeReferenceDirectives, - resolveModuleNames, getCustomTransformers: () => instance.transformers, - clearCache, }; return servicesHost; @@ -528,12 +457,6 @@ export function updateFileWithText( instance.compiler.FileWatcherEventKind.Changed ); } - if (instance.solutionBuilderHost !== undefined) { - instance.solutionBuilderHost.invokeFileWatcher( - nFilePath, - instance.compiler.FileWatcherEventKind.Changed - ); - } } } } @@ -560,29 +483,16 @@ export function makeWatchHost( compiler ); const { - moduleResolutionHost: { - fileExists, - readFile, - trace, - directoryExists, - realpath, - getCurrentDirectory, - getDirectories, - useCaseSensitiveFileNames, - getNewLine, - getDefaultLibFileName, - readDirectory, - }, + moduleResolutionHost, resolveModuleNames, resolveTypeReferenceDirectives, - } = makeResolversHandlingProjectReferences( + } = makeResolversAndModuleResolutionHost( scriptRegex, loader, instance, - (fileName: string) => { - const filePath = filePathKeyMapper(fileName); - return files.has(filePath) || compiler.sys.fileExists(filePath); - }, + fileName => + files.has(filePathKeyMapper(fileName)) || + compiler.sys.fileExists(fileName), /*enabledCaching*/ false ); @@ -590,40 +500,25 @@ export function makeWatchHost( rootFiles: getRootFileNames(), options: compilerOptions, - useCaseSensitiveFileNames, - getNewLine, - getCurrentDirectory, - getDefaultLibFileName, - - fileExists, + ...moduleResolutionHost, readFile: readFileWithCachingText, - directoryExists, - getDirectories, - readDirectory, - realpath, - trace, watchFile: (fileName, callback, pollingInterval, options) => { - const outputFileAndKey = instance.solutionBuilderHost?.getOutputFileAndKeyFromReferencedProject( + const outputFileKey = instance.solutionBuilderHost?.getOutputFileKeyFromReferencedProject( fileName ); - if ( - !outputFileAndKey || - outputFileAndKey.key === filePathKeyMapper(fileName) - ) { + if (!outputFileKey || outputFileKey === filePathKeyMapper(fileName)) { return watchFile(fileName, callback, pollingInterval, options); } // Handle symlink to outputFile const outputFileName = instance.solutionBuilderHost!.realpath!(fileName); - const watcher = watchFile( + return watchFile( outputFileName, (_fileName, eventKind) => callback(fileName, eventKind), pollingInterval, options ); - - return { close: () => watcher.close() }; }, watchDirectory, @@ -662,7 +557,7 @@ export function makeWatchHost( if (file !== undefined) { return file.text; } - const text = readFile(fileName, encoding); + const text = moduleResolutionHost.readFile(fileName, encoding); if (text === undefined) { return undefined; } @@ -704,9 +599,7 @@ export function makeWatchHost( } } -function normalizeSlashes(file: T): T { - return file.replace(/\\/g, '/') as T; -} +const missingFileModifiedTime = new Date(0); /** * Create the TypeScript Watch host @@ -718,18 +611,11 @@ export function makeSolutionBuilderHost( ): SolutionBuilderWithWatchHost { const { compiler, - compilerOptions, - appendTsTsxSuffixesIfRequired, - loaderOptions: { - resolveModuleName: customResolveModuleName, - resolveTypeReferenceDirective: customResolveTypeReferenceDirective, - transpileOnly, - }, + loaderOptions: { transpileOnly }, filePathKeyMapper, } = instance; // loader.context seems to work fine on Linux / Mac regardless causes problems for @types resolution on Windows for TypeScript < 2.3 - const getCurrentDirectory = () => loader.context; const formatDiagnosticHost: typescript.FormatDiagnosticsHost = { getCurrentDirectory: compiler.sys.getCurrentDirectory, getCanonicalFileName: useCaseSensitiveFileNames( @@ -783,64 +669,60 @@ export function makeSolutionBuilderHost( compiler.sys.newLine )}${newLine + newLine}` ); - const outputFiles = new Map(); - const writtenFiles: OutputFile[] = []; + const outputFiles = new Map(); + const inputFiles = new Map(); + const writtenFiles: typescript.OutputFile[] = []; const outputAffectingInstanceVersion = new Map(); let timeoutId: [(...args: any[]) => void, any[]] | undefined; - const symlinkedDirectories = new Map(); - const symlinkedFiles = new Map(); - const cachedSys: CacheableHost = { - fileExists: fileName => compiler.sys.fileExists(fileName), - directoryExists: directory => compiler.sys.directoryExists(directory), - realpath: compiler.sys.realpath && (path => compiler.sys.realpath!(path)), - }; - addCache(cachedSys); + const { + resolveModuleNames, + resolveTypeReferenceDirectives, + moduleResolutionHost, + } = makeResolversAndModuleResolutionHost( + scriptRegex, + loader, + instance, + fileName => + !!instance.files.has(filePathKeyMapper(fileName)) || + !!instance.otherFiles.get(filePathKeyMapper(fileName)) || + compiler.sys.fileExists(fileName), + /*enableFileCaching*/ true + ); const configFileInfo = new Map(); + const allWatches: typescript.FileWatcher[] = []; + const sysHost = compiler.createSolutionBuilderWithWatchHost( + compiler.sys, + compiler.createEmitAndSemanticDiagnosticsBuilderProgram, + reportDiagnostic, + reportSolutionBuilderStatus, + reportWatchStatus + ); const solutionBuilderHost: SolutionBuilderWithWatchHost = { - ...compiler.createSolutionBuilderWithWatchHost( - compiler.sys, - compiler.createEmitAndSemanticDiagnosticsBuilderProgram, - reportDiagnostic, - reportSolutionBuilderStatus, - reportWatchStatus - ), - useCaseSensitiveFileNames: () => - useCaseSensitiveFileNames(compiler, instance.loaderOptions), + ...sysHost, + ...moduleResolutionHost, + resolveModuleNames, + resolveTypeReferenceDirectives, diagnostics, ...createWatchFactory(filePathKeyMapper, compiler), // Overrides - getCurrentDirectory, - // behave as if there is no tsbuild info on disk since we want to generate all outputs in memory and only use those - readFile: (fileName, encoding) => { - const outputFile = ensureOutputFile(fileName); - return outputFile !== undefined - ? outputFile - ? outputFile.text - : undefined - : readInputFile(fileName, encoding).text; - }, writeFile: (name, text, writeByteOrderMark) => { const key = filePathKeyMapper(name); updateFileWithText(instance, key, name, () => text); - const existing = outputFiles.get(key); - const newOutputFile: OutputFile = { + const existing = ensureOutputFile(name); + const hash = hashOutputText(text); + outputFiles.set(key, hash); + writtenFiles.push({ name, text, writeByteOrderMark: !!writeByteOrderMark, - time: new Date(), - version: existing - ? existing.text !== text - ? existing.version + 1 - : existing.version - : 0, - }; - outputFiles.set(key, newOutputFile); - writtenFiles.push(newOutputFile); + }); + compiler.sys.writeFile(name, text, writeByteOrderMark); + moduleResolutionHost.fileExistsCache?.delete(name); if ( outputAffectingInstanceVersion.has(key) && - (!existing || existing.text !== text) + (!existing || existing !== hash) ) { instance.version++; } @@ -856,7 +738,7 @@ export function makeSolutionBuilderHost( name, compiler.FileWatcherEventKind.Created ) || instance.hasUnaccountedModifiedFiles; - } else if (existing.version !== newOutputFile.version) { + } else if (existing !== hash) { instance.hasUnaccountedModifiedFiles = instance.watchHost.invokeFileWatcher( name, @@ -864,74 +746,13 @@ export function makeSolutionBuilderHost( ) || instance.hasUnaccountedModifiedFiles; } } - compiler.sys.writeFile(name, text, writeByteOrderMark); - }, - getModifiedTime: fileName => { - const outputFile = ensureOutputFile(fileName); - if (outputFile !== undefined) { - return outputFile ? outputFile.time : undefined; - } - const key = filePathKeyMapper(fileName); - const existing = instance.files.get(key) || instance.otherFiles.get(key); - return existing - ? existing.modifiedTime - : compiler.sys.getModifiedTime!(fileName); - }, - setModifiedTime: (fileName, time) => { - const outputFile = ensureOutputFile(fileName); - if (outputFile !== undefined) { - if (outputFile) { - outputFile.time = time; - } - } - compiler.sys.setModifiedTime!(fileName, time); - const key = filePathKeyMapper(fileName); - const existing = instance.files.get(key) || instance.otherFiles.get(key); - if (existing) { - existing.modifiedTime = time; - } }, - fileExists: fileName => { - const outputFile = ensureOutputFile(fileName); - if (outputFile !== undefined) { - return !!outputFile; - } - const key = filePathKeyMapper(fileName); - const existing = instance.files.get(key) || instance.otherFiles.get(key); - return existing - ? existing.text !== undefined - : cachedSys.fileExists(fileName); - }, - directoryExists: directory => { - if (cachedSys.directoryExists(directory)) { - return true; - } - const resolvedDirectory = trailingDirectorySeparatorPathKey(directory); - for (const outputFile of outputFiles.keys()) { - if (normalizeSlashes(outputFile).startsWith(resolvedDirectory)) { - return true; - } - } - - // see if this is symlink to in memory files's directory - const ancestor = findExistingAncestor(directory); - const ancestorRealpath = getRealpathOfExistingDirectory(ancestor); - - return ancestorRealpath - ? solutionBuilderHost.directoryExists!( - path.resolve(ancestorRealpath, path.relative(ancestor, directory)) - ) - : false; - }, - getDirectories: directory => - cachedSys.directoryExists(directory) - ? compiler.sys.getDirectories(directory) - : [], // Fake for non present directories, - readDirectory: (path, extensions, exclude, include, depth) => - cachedSys.directoryExists(path) - ? compiler.sys.readDirectory(path, extensions, exclude, include, depth) - : [], // Fake for non present directories, - realpath: cachedSys.realpath && (file => getRealpathOfFile(file) || file), + createDirectory: + sysHost.createDirectory && + (directory => { + sysHost.createDirectory!(directory); + moduleResolutionHost.directoryExistsCache?.delete(directory); + }), afterProgramEmitAndDiagnostics: transpileOnly ? undefined : storeDtsFiles, setTimeout: (callback, _time, ...args) => { timeoutId = [callback, args]; @@ -940,120 +761,49 @@ export function makeSolutionBuilderHost( clearTimeout: _timeoutId => { timeoutId = undefined; }, + getParsedCommandLine: file => { + const config = getParsedCommandLine( + compiler, + instance.loaderOptions, + file + ); + configFileInfo.set(filePathKeyMapper(file), { config }); + return config; + }, writtenFiles, configFileInfo, outputAffectingInstanceVersion, + getInputFileStamp, + updateSolutionBuilderInputFile, getOutputFileKeyFromReferencedProject, - getOutputFileFromReferencedProject, getOutputFileAndKeyFromReferencedProject, + getOutputFileTextAndKeyFromReferencedProject, getInputFileNameFromOutput: fileName => { const result = getInputFileNameFromOutput(fileName); return typeof result === 'string' ? result : undefined; }, getOutputFilesFromReferencedProjectInput, buildReferences, + ensureAllReferenceTimestamps, clearCache, - }; - solutionBuilderHost.trace = logData => instance.log.logInfo(logData); - solutionBuilderHost.getParsedCommandLine = file => { - const config = getParsedCommandLine(compiler, instance.loaderOptions, file); - configFileInfo.set(filePathKeyMapper(file), { config }); - return config; + close, }; - // make a (sync) resolver that follows webpack's rules - const resolveSync = makeResolver(loader._compiler.options); - const resolvers = makeResolvers( - compiler, - compilerOptions, - solutionBuilderHost, - customResolveTypeReferenceDirective, - customResolveModuleName, - resolveSync, - appendTsTsxSuffixesIfRequired, - scriptRegex, - instance - ); - // used for (/// ) see https://github.com/Realytics/fork-ts-checker-webpack-plugin/pull/250#issuecomment-485061329 - solutionBuilderHost.resolveTypeReferenceDirectives = - resolvers.resolveTypeReferenceDirectives; - solutionBuilderHost.resolveModuleNames = resolvers.resolveModuleNames; - return solutionBuilderHost; - function trailingDirectorySeparatorPathKey(directory: string) { - return ensureTrailingDirectorySeparator( - normalizeSlashes(filePathKeyMapper(directory)) - ); + function close() { + allWatches.slice().forEach(w => w.close()); } function clearCache() { - cachedSys.clearCache!(); - symlinkedDirectories.clear(); - symlinkedFiles.clear(); - } - - function findExistingAncestor(fileOrDirectory: string) { - let ancestor = path.dirname(fileOrDirectory); - while (ancestor !== path.dirname(ancestor)) { - if (cachedSys.directoryExists(ancestor)) return ancestor; - ancestor = path.dirname(ancestor); - } - // Root should always be present - return ancestor; - } - - function getRealpathOfExistingDirectory( - directory: string - ): string | undefined { - return getRealpath(directory, symlinkedDirectories, () => - cachedSys.realpath!(directory) - ); - } - - function getRealpathOfFile(file: string): string | undefined { - return getRealpath(file, symlinkedFiles, () => { - if (cachedSys.fileExists(file)) return cachedSys.realpath!(file); - - // see if this is symlink to in memory file - const ancestor = findExistingAncestor(file); - const ancestorRealpath = getRealpathOfExistingDirectory(ancestor); - if (!ancestorRealpath) return file; - - const newFile = path.resolve( - ancestorRealpath, - path.relative(ancestor, file) - ); - return getRealpathOfFile(newFile) || newFile; - }); - } - - function getRealpath( - fileOrDirectory: string, - symlinked: Map, - realpath: () => string - ): string | undefined { - if (!cachedSys.realpath) return undefined; - const fileOrDirectoryKey = filePathKeyMapper(fileOrDirectory); - const existing = symlinked.get(fileOrDirectoryKey); - if (existing !== undefined) return existing || undefined; - - const real = realpath(); - if ( - real === fileOrDirectory || - filePathKeyMapper(real) === fileOrDirectoryKey - ) { - // not symlinked - symlinked.set(fileOrDirectoryKey, false); - return undefined; - } - - symlinked.set(fileOrDirectoryKey, real); - return real; + moduleResolutionHost.clearCache!(); + outputFiles.clear(); + inputFiles.clear(); } function buildReferences() { if (!timeoutId) { + ensureAllReferenceTimestamps(); return; } diagnostics.global.length = 0; @@ -1065,6 +815,17 @@ export function makeSolutionBuilderHost( timeoutId = undefined; callback(...args); } + ensureAllReferenceTimestamps(); + } + + function ensureAllReferenceTimestamps() { + if (inputFiles.size !== solutionBuilderHost.watchedFiles.size) { + for (const { + fileName, + } of instance.solutionBuilderHost!.watchedFiles.values()) { + instance.solutionBuilderHost!.getInputFileStamp(fileName); + } + } } function storeDtsFiles( @@ -1099,7 +860,11 @@ export function makeSolutionBuilderHost( inputFileName, outputNames, } of configInfo.outputFileNames.values()) { - if (outputNames.indexOf(resolvedFileName) !== -1) { + if ( + outputNames.some( + outputName => resolvedFileName === filePathKeyMapper(outputName) + ) + ) { return inputFileName; } } @@ -1112,9 +877,9 @@ export function makeSolutionBuilderHost( } } - const symlinkedOutputFileName = getRealpathOfFile(outputFileName); - return symlinkedOutputFileName - ? getInputFileNameFromOutput(symlinkedOutputFileName) + const realPath = solutionBuilderHost.realpath!(outputFileName); + return filePathKeyMapper(realPath) !== resolvedFileName + ? getInputFileNameFromOutput(realPath) : undefined; } @@ -1130,7 +895,7 @@ export function makeSolutionBuilderHost( instance, configInfo.config!, inputFile - ).map(filePathKeyMapper), + ), }) ); @@ -1147,62 +912,102 @@ export function makeSolutionBuilderHost( function getOutputFileAndKeyFromReferencedProject( outputFileName: string - ): { key: FilePathKey; outputFile: OutputFile | false } | undefined { - const key = getOutputFileKeyFromReferencedProject(outputFileName); - return key && { key, outputFile: outputFiles.get(key)! }; + ): { key: FilePathKey; outputFile: string | false } | undefined { + const outputFile = ensureOutputFile(outputFileName); + return outputFile !== undefined + ? { + key: getOutputFileKeyFromReferencedProject(outputFileName)!, + outputFile, + } + : undefined; } - function getOutputFileFromReferencedProject( + function getOutputFileTextAndKeyFromReferencedProject( outputFileName: string - ): OutputFile | false | undefined { + ): { key: FilePathKey; text: string | undefined } | undefined { const key = getOutputFileKeyFromReferencedProject(outputFileName); - return key && outputFiles.get(key); + if (!key) { + return undefined; + } + + const file = writtenFiles.find(w => filePathKeyMapper(w.name) === key); + if (file) { + return { key, text: file.text }; + } + + const outputFile = outputFiles.get(key); + return { + key, + text: + outputFile !== false + ? compiler.sys.readFile(outputFileName) + : undefined, + }; } function getOutputFileKeyFromReferencedProject( outputFileName: string ): FilePathKey | undefined { const key = filePathKeyMapper(outputFileName); - const result = outputFiles.has(key); - if (result) return key; + if (outputFiles.has(key)) return key; - const symlinkedOutputFileName = getRealpathOfFile(outputFileName); - return symlinkedOutputFileName - ? getOutputFileKeyFromReferencedProject(symlinkedOutputFileName) - : undefined; + const realKey = filePathKeyMapper( + solutionBuilderHost.realpath!(outputFileName) + ); + if (realKey !== key && outputFiles.has(realKey)) return realKey; + + return getInputFileNameFromOutput(outputFileName) ? realKey : undefined; + } + + function hashOutputText(text: string) { + return compiler.sys.createHash ? compiler.sys.createHash(text) : text; } function ensureOutputFile( - outputFileName: string, - encoding?: string - ): OutputFile | false | undefined { - const outputFile = getOutputFileFromReferencedProject(outputFileName); + outputFileName: string + ): string | false | undefined { + const key = getOutputFileKeyFromReferencedProject(outputFileName); + if (!key) { + return undefined; + } + const outputFile = outputFiles.get(key); if (outputFile !== undefined) { return outputFile; } + if (!getInputFileNameFromOutput(outputFileName)) { return undefined; } - outputFileName = getRealpathOfFile(outputFileName) || outputFileName; + const text = compiler.sys.readFile(outputFileName); + const hash = text === undefined ? false : hashOutputText(text); + outputFiles.set(key, hash); + return hash; + } + + function getTypeScriptOutputFile( + outputFileName: string + ): typescript.OutputFile | undefined { const key = filePathKeyMapper(outputFileName); - const text = compiler.sys.readFile(outputFileName, encoding); - if (text === undefined) { - outputFiles.set(key, false); - return false; - } - const newOutputFile: OutputFile = { - name: outputFileName, - text, - writeByteOrderMark: false, - time: compiler.sys.getModifiedTime!(outputFileName)!, - version: 0, - }; - outputFiles.set(key, newOutputFile); - return newOutputFile; + const writtenFile = writtenFiles.find( + w => filePathKeyMapper(w.name) === key + ); + if (writtenFile) return writtenFile; + + // Read from sys + const text = compiler.sys.readFile(outputFileName); + return text !== undefined + ? { + name: outputFileName, + text, + writeByteOrderMark: false, + } + : undefined; } - function getOutputFilesFromReferencedProjectInput(inputFileName: string) { + function getOutputFilesFromReferencedProjectInput( + inputFileName: string + ): typescript.OutputFile[] { const resolvedFileName = filePathKeyMapper(inputFileName); for (const configInfo of configFileInfo.values()) { ensureInputOutputInfo(configInfo); @@ -1210,29 +1015,41 @@ export function makeSolutionBuilderHost( const result = configInfo.outputFileNames.get(resolvedFileName); if (result) { return result.outputNames - .map(outputFile => outputFiles.get(outputFile)!) - .filter(output => !!output) as OutputFile[]; + .map(getTypeScriptOutputFile) + .filter(output => !!output) as typescript.OutputFile[]; } } } return []; } - function readInputFile(inputFileName: string, encoding: string | undefined) { - const resolvedFileName = filePathKeyMapper(inputFileName); - const existing = instance.otherFiles.get(resolvedFileName); - if (existing) { + function getInputFileStamp(fileName: string) { + const key = filePathKeyMapper(fileName); + const existing = inputFiles.get(key); + if (existing !== undefined) { return existing; } - inputFileName = path.resolve(inputFileName); - const tsFile: TSFile = { - fileName: inputFileName, - version: 1, - text: compiler.sys.readFile(inputFileName, encoding), - modifiedTime: compiler.sys.getModifiedTime!(inputFileName), - }; - instance.otherFiles.set(resolvedFileName, tsFile); - return tsFile; + const time = + compiler.sys.getModifiedTime!(fileName) || missingFileModifiedTime; + inputFiles.set(key, time); + return time; + } + + function updateSolutionBuilderInputFile(fileName: string) { + const key = filePathKeyMapper(fileName); + const existing = inputFiles.get(key) || missingFileModifiedTime; + const newTime = + compiler.sys.getModifiedTime!(fileName) || missingFileModifiedTime; + if (existing === newTime) { + return; + } + const eventKind = + existing == missingFileModifiedTime + ? compiler.FileWatcherEventKind.Created + : newTime === missingFileModifiedTime + ? compiler.FileWatcherEventKind.Deleted + : compiler.FileWatcherEventKind.Changed; + solutionBuilderHost.invokeFileWatcher(fileName, eventKind); } } @@ -1382,15 +1199,23 @@ function makeResolveModuleName( } function addCache(host: CacheableHost): void { - const clearCacheFunctions: Action[] = []; - host.fileExists = createCache(host.fileExists); - host.directoryExists = createCache(host.directoryExists); - host.realpath = host.realpath && createCache(host.realpath); - host.clearCache = () => clearCacheFunctions.forEach(clear => clear()); - - function createCache(originalFunction: (arg: string) => TOut) { - const cache = new Map(); - clearCacheFunctions.push(() => cache.clear()); + host.fileExists = createCache( + host.fileExists, + (host.fileExistsCache = new Map()) + ); + host.directoryExists = createCache( + host.directoryExists, + (host.directoryExistsCache = new Map()) + ); + host.realpath = + host.realpath && + createCache(host.realpath, (host.realpathCache = new Map())); + host.clearCache = clearCache; + + function createCache( + originalFunction: (arg: string) => TOut, + cache: Map + ) { return function getCached(arg: string) { let res = cache.get(arg); if (res !== undefined) { @@ -1402,4 +1227,10 @@ function addCache(host: CacheableHost): void { return res; }; } + + function clearCache() { + host.fileExistsCache?.clear(); + host.directoryExistsCache?.clear(); + host.realpathCache?.clear(); + } } diff --git a/src/utils.ts b/src/utils.ts index 0387b8ab1..c1da3e0a2 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -249,22 +249,6 @@ export function arrify(val: T | T[]) { return Array.isArray(val) ? val : [val]; } -export function ensureTrailingDirectorySeparator(dir: T): T { - return hasTrailingDirectorySeparator(dir) ? dir : ((dir + '/') as T); -} - -function isAnyDirectorySeparator(charCode: number): boolean { - return ( - charCode === 0x2f || charCode === 0x5c // / - ); // \ -} - -function hasTrailingDirectorySeparator(dir: string) { - return ( - dir.length > 0 && isAnyDirectorySeparator(dir.charCodeAt(dir.length - 1)) - ); -} - export function ensureProgram(instance: TSInstance) { if (instance && instance.watchHost) { if (instance.hasUnaccountedModifiedFiles) { diff --git a/src/watch-run.ts b/src/watch-run.ts index 40cc61b71..69b9e0c6d 100644 --- a/src/watch-run.ts +++ b/src/watch-run.ts @@ -22,7 +22,6 @@ export function makeWatchRun( return (compiler: webpack.Compiler, callback: (err?: Error) => void) => { instance.servicesHost?.clearCache?.(); - instance.solutionBuilderHost?.clearCache(); const promises = []; if (instance.loaderOptions.transpileOnly) { instance.reportTranspileErrors = true; @@ -57,12 +56,12 @@ export function makeWatchRun( // Update all the watched files from solution builder if (instance.solutionBuilderHost) { - for (const [ - key, - { fileName }, - ] of instance.solutionBuilderHost.watchedFiles.entries()) { - promises.push(updateFile(instance, key, fileName, loader, loaderIndex)); + for (const { + fileName, + } of instance.solutionBuilderHost.watchedFiles.values()) { + instance.solutionBuilderHost!.updateSolutionBuilderInputFile(fileName); } + instance.solutionBuilderHost.clearCache(); } Promise.all(promises) diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/app/bundle.js deleted file mode 100644 index 488ec7463..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/app/bundle.js +++ /dev/null @@ -1,137 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/output.txt index 4ab09263e..21020ebbd 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch3/output.txt @@ -1,11 +1,11 @@ Asset Size Chunks Chunk Names ../common/tsconfig.tsbuildinfo 2.68 KiB [emitted] - bundle.js 5.43 KiB main [emitted] main + bundle.js 5.43 KiB main main Entrypoint main = bundle.js [../common/index.ts] 128 bytes {main} [built] [../lib/index.ts] 119 bytes {main} [../utils/index.ts] 249 bytes {main} [built] [./app.ts] 238 bytes {main} [built] [1 error] -ERROR in [tsl] ERROR in common/index.ts(2,3) +ERROR in [tsl] ERROR in common\index.ts(2,3)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/app/bundle.js deleted file mode 100644 index 488ec7463..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/app/bundle.js +++ /dev/null @@ -1,137 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/output.txt index 92c7c2484..2f2035592 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch4/output.txt @@ -2,7 +2,7 @@ ../common/index.d.ts 42 bytes [emitted] ../common/index.js 128 bytes [emitted] ../common/tsconfig.tsbuildinfo 2.32 KiB [emitted] - bundle.js 5.43 KiB main [emitted] main + bundle.js 5.43 KiB main main Entrypoint main = bundle.js [../common/index.ts] 128 bytes {main} [built] [../lib/index.ts] 119 bytes {main} diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/app/bundle.js deleted file mode 100644 index 488ec7463..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/app/bundle.js +++ /dev/null @@ -1,137 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/output.txt index 2c60e9657..8a1487699 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch5/output.txt @@ -1,11 +1,11 @@ Asset Size Chunks Chunk Names ../utils/tsconfig.tsbuildinfo 3.02 KiB [emitted] - bundle.js 5.43 KiB main [emitted] main + bundle.js 5.43 KiB main main Entrypoint main = bundle.js [../common/index.ts] 128 bytes {main} [../lib/index.ts] 119 bytes {main} [../utils/index.ts] 249 bytes {main} [built] [./app.ts] 238 bytes {main} [built] [1 error] -ERROR in [tsl] ERROR in utils/index.ts(5,36) +ERROR in [tsl] ERROR in utils\index.ts(5,36)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/app/bundle.js deleted file mode 100644 index 488ec7463..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/app/bundle.js +++ /dev/null @@ -1,137 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/output.txt index 13a346cbc..8c6c39dca 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.0/patch6/output.txt @@ -2,7 +2,7 @@ ../utils/index.d.ts 81 bytes [emitted] ../utils/index.js 249 bytes [emitted] ../utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] - bundle.js 5.43 KiB main [emitted] main + bundle.js 5.43 KiB main main Entrypoint main = bundle.js [../common/index.ts] 128 bytes {main} [../lib/index.ts] 119 bytes {main} diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/bundle.js deleted file mode 100644 index 78ed26c6a..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/output.txt index fb141bbb0..6b7869bd6 100644 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.0/patch2/output.txt @@ -1,11 +1,11 @@ - Asset Size Chunks Chunk Names -bundle.js 4.41 KiB main [emitted] main + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main main Entrypoint main = bundle.js [./app.ts] 205 bytes {main} [built] [2 errors] [./lib/index.ts] 150 bytes {main} [built] -ERROR in [tsl] ERROR in lib/index.ts(6,3) +ERROR in [tsl] ERROR in lib\index.ts(6,3)  TS1136: Property assignment expected. -ERROR in [tsl] ERROR in lib/index.ts(7,1) +ERROR in [tsl] ERROR in lib\index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js deleted file mode 100644 index 78ed26c6a..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt index fb141bbb0..6b7869bd6 100644 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt @@ -1,11 +1,11 @@ - Asset Size Chunks Chunk Names -bundle.js 4.41 KiB main [emitted] main + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main main Entrypoint main = bundle.js [./app.ts] 205 bytes {main} [built] [2 errors] [./lib/index.ts] 150 bytes {main} [built] -ERROR in [tsl] ERROR in lib/index.ts(6,3) +ERROR in [tsl] ERROR in lib\index.ts(6,3)  TS1136: Property assignment expected. -ERROR in [tsl] ERROR in lib/index.ts(7,1) +ERROR in [tsl] ERROR in lib\index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js deleted file mode 100644 index 78ed26c6a..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/bundle.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt index fb141bbb0..6b7869bd6 100644 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.0/patch2/output.txt @@ -1,11 +1,11 @@ - Asset Size Chunks Chunk Names -bundle.js 4.41 KiB main [emitted] main + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main main Entrypoint main = bundle.js [./app.ts] 205 bytes {main} [built] [2 errors] [./lib/index.ts] 150 bytes {main} [built] -ERROR in [tsl] ERROR in lib/index.ts(6,3) +ERROR in [tsl] ERROR in lib\index.ts(6,3)  TS1136: Property assignment expected. -ERROR in [tsl] ERROR in lib/index.ts(7,1) +ERROR in [tsl] ERROR in lib\index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file From e90f8ad28bf8209a848302c3d32673401e65e2a7 Mon Sep 17 00:00:00 2001 From: Valerio Pipolo Date: Wed, 4 Nov 2020 06:45:29 +0100 Subject: [PATCH 09/26] Fix memory leak when using multiple webpack instances (#1205) * Use WeakMaps to keep track of webpack and typescript compiler instances * Cache TS instances by webpack compiler and instance name * Remove webpack instance cache * Rename compilerMap to instanceCache and add small comment * Add to changelog and bump version --- CHANGELOG.md | 3 +++ package.json | 2 +- src/index.ts | 11 +---------- src/instances.ts | 33 +++++++++++++++++++++++++++++---- 4 files changed, 34 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5eead78f8..b396a94e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v8.0.8 +* [Fixed memory leak when using multiple webpack instances](https://github.com/TypeStrong/ts-loader/pull/1205) - thanks @valerio + ## v8.0.7 * [Speeds up project reference build and doesnt store the result in memory](https://github.com/TypeStrong/ts-loader/pull/1202) - thanks @sheetalkamat diff --git a/package.json b/package.json index f9ffda999..e5e48f498 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.7", + "version": "8.0.8", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/index.ts b/src/index.ts index 37af8a480..95e53e301 100644 --- a/src/index.ts +++ b/src/index.ts @@ -27,7 +27,6 @@ import { isReferencedFile, } from './utils'; -const webpackInstances: webpack.Compiler[] = []; const loaderOptionsCache: LoaderOptionsCache = {}; /** @@ -174,12 +173,6 @@ function getOptionsHash(loaderOptions: LoaderOptions) { * or creates them, adds them to the cache and returns */ function getLoaderOptions(loaderContext: webpack.loader.LoaderContext) { - // differentiate the TypeScript instance based on the webpack instance - let webpackIndex = webpackInstances.indexOf(loaderContext._compiler); - if (webpackIndex === -1) { - webpackIndex = webpackInstances.push(loaderContext._compiler) - 1; - } - const loaderOptions = loaderUtils.getOptions(loaderContext) || ({} as LoaderOptions); @@ -187,9 +180,7 @@ function getLoaderOptions(loaderContext: webpack.loader.LoaderContext) { // If no instance name is given in the options, use the hash of the loader options // In this way, if different options are given the instances will be different const instanceName = - webpackIndex + - '_' + - (loaderOptions.instance || 'default_' + getOptionsHash(loaderOptions)); + loaderOptions.instance || 'default_' + getOptionsHash(loaderOptions); if (!loaderOptionsCache.hasOwnProperty(instanceName)) { loaderOptionsCache[instanceName] = new WeakMap(); diff --git a/src/instances.ts b/src/instances.ts index 0078a5aaa..69008844e 100644 --- a/src/instances.ts +++ b/src/instances.ts @@ -33,9 +33,22 @@ import { } from './utils'; import { makeWatchRun } from './watch-run'; -const instances = new Map(); +// Each TypeScript instance is based on the webpack instance (key of the WeakMap) +// and also the name that was generated or passed via the options (string key of the +// internal Map) +const instanceCache = new WeakMap>(); const instancesBySolutionBuilderConfigs = new Map(); +function addTSInstanceToCache( + key: webpack.Compiler, + instanceName: string, + instance: TSInstance +) { + const instances = instanceCache.get(key) ?? new Map(); + instances.set(instanceName, instance); + instanceCache.set(key, instances); +} + /** * The loader is executed once for each file seen by webpack. However, we need to keep * a persistent instance of TypeScript that contains all of the files in the program @@ -47,6 +60,12 @@ export function getTypeScriptInstance( loaderOptions: LoaderOptions, loader: webpack.loader.LoaderContext ): { instance?: TSInstance; error?: WebpackError } { + let instances = instanceCache.get(loader._compiler); + if (!instances) { + instances = new Map(); + instanceCache.set(loader._compiler, instances); + } + const existing = instances.get(loaderOptions.instance); if (existing) { if (!existing.initialSetupPending) { @@ -141,7 +160,7 @@ function successfulTypeScriptInstance( const existing = getExistingSolutionBuilderHost(configFileKey); if (existing) { // Reuse the instance if config file for project references is shared. - instances.set(loaderOptions.instance, existing); + addTSInstanceToCache(loader._compiler, loaderOptions.instance, existing); return { instance: existing }; } } @@ -226,7 +245,12 @@ function successfulTypeScriptInstance( log, filePathKeyMapper, }; - instances.set(loaderOptions.instance, transpileInstance); + + addTSInstanceToCache( + loader._compiler, + loaderOptions.instance, + transpileInstance + ); return { instance: transpileInstance }; } @@ -278,7 +302,8 @@ function successfulTypeScriptInstance( log, filePathKeyMapper, }; - instances.set(loaderOptions.instance, instance); + + addTSInstanceToCache(loader._compiler, loaderOptions.instance, instance); return { instance }; } From 3f73e9861d5217d3aa668e761a183e66e018b33c Mon Sep 17 00:00:00 2001 From: Valerio Pipolo Date: Wed, 4 Nov 2020 17:08:47 +0100 Subject: [PATCH 10/26] Fix failed builds when using thread-loader (#1207) * Use a dummy compiler reference when the calling webpack compiler is undefined or null * Use a module instead of a class for caching instances * Bump version and update changelog --- CHANGELOG.md | 3 +++ package.json | 2 +- src/instance-cache.ts | 39 +++++++++++++++++++++++++++++++++++++++ src/instances.ts | 32 ++++++++------------------------ 4 files changed, 51 insertions(+), 25 deletions(-) create mode 100644 src/instance-cache.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index b396a94e7..763cc44d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v8.0.9 +* [Fixed build failing when using thread-loader](https://github.com/TypeStrong/ts-loader/pull/1207) - thanks @valerio + ## v8.0.8 * [Fixed memory leak when using multiple webpack instances](https://github.com/TypeStrong/ts-loader/pull/1205) - thanks @valerio diff --git a/package.json b/package.json index e5e48f498..9c12bc5cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.8", + "version": "8.0.9", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/instance-cache.ts b/src/instance-cache.ts new file mode 100644 index 000000000..4ed44e9a5 --- /dev/null +++ b/src/instance-cache.ts @@ -0,0 +1,39 @@ +import * as webpack from 'webpack'; +import { TSInstance } from './interfaces'; + +// Some loaders (e.g. thread-loader) will set the _compiler property to undefined. +// We can't use undefined as a WeakMap key as it will throw an error at runtime, +// thus we keep a dummy "marker" object to use as key in those situations. +const marker: webpack.Compiler = {} as webpack.Compiler; + +// Each TypeScript instance is cached based on the webpack instance (key of the WeakMap) +// and also the name that was generated or passed via the options (string key of the +// internal Map) +const cache: WeakMap> = new WeakMap(); + +export function getTSInstanceFromCache( + key: webpack.Compiler, + name: string +): TSInstance | undefined { + const compiler = key ?? marker; + + let instances = cache.get(compiler); + if (!instances) { + instances = new Map(); + cache.set(compiler, instances); + } + + return instances.get(name); +} + +export function setTSInstanceInCache( + key: webpack.Compiler, + name: string, + instance: TSInstance +) { + const compiler = key ?? marker; + + const instances = cache.get(compiler) ?? new Map(); + instances.set(name, instance); + cache.set(compiler, instances); +} diff --git a/src/instances.ts b/src/instances.ts index 69008844e..f7496132a 100644 --- a/src/instances.ts +++ b/src/instances.ts @@ -8,6 +8,7 @@ import { makeAfterCompile } from './after-compile'; import { getCompiler, getCompilerOptions } from './compilerSetup'; import { getConfigFile, getConfigParseResult } from './config'; import { dtsDtsxOrDtsDtsxMapRegex, EOL, tsTsxRegex } from './constants'; +import { getTSInstanceFromCache, setTSInstanceInCache } from './instance-cache'; import { FilePathKey, LoaderOptions, @@ -33,22 +34,8 @@ import { } from './utils'; import { makeWatchRun } from './watch-run'; -// Each TypeScript instance is based on the webpack instance (key of the WeakMap) -// and also the name that was generated or passed via the options (string key of the -// internal Map) -const instanceCache = new WeakMap>(); const instancesBySolutionBuilderConfigs = new Map(); -function addTSInstanceToCache( - key: webpack.Compiler, - instanceName: string, - instance: TSInstance -) { - const instances = instanceCache.get(key) ?? new Map(); - instances.set(instanceName, instance); - instanceCache.set(key, instances); -} - /** * The loader is executed once for each file seen by webpack. However, we need to keep * a persistent instance of TypeScript that contains all of the files in the program @@ -60,13 +47,10 @@ export function getTypeScriptInstance( loaderOptions: LoaderOptions, loader: webpack.loader.LoaderContext ): { instance?: TSInstance; error?: WebpackError } { - let instances = instanceCache.get(loader._compiler); - if (!instances) { - instances = new Map(); - instanceCache.set(loader._compiler, instances); - } - - const existing = instances.get(loaderOptions.instance); + const existing = getTSInstanceFromCache( + loader._compiler, + loaderOptions.instance + ); if (existing) { if (!existing.initialSetupPending) { ensureProgram(existing); @@ -160,7 +144,7 @@ function successfulTypeScriptInstance( const existing = getExistingSolutionBuilderHost(configFileKey); if (existing) { // Reuse the instance if config file for project references is shared. - addTSInstanceToCache(loader._compiler, loaderOptions.instance, existing); + setTSInstanceInCache(loader._compiler, loaderOptions.instance, existing); return { instance: existing }; } } @@ -246,7 +230,7 @@ function successfulTypeScriptInstance( filePathKeyMapper, }; - addTSInstanceToCache( + setTSInstanceInCache( loader._compiler, loaderOptions.instance, transpileInstance @@ -303,7 +287,7 @@ function successfulTypeScriptInstance( filePathKeyMapper, }; - addTSInstanceToCache(loader._compiler, loaderOptions.instance, instance); + setTSInstanceInCache(loader._compiler, loaderOptions.instance, instance); return { instance }; } From 4909d996cd440aad66eb9270a2d66a1aa009fa64 Mon Sep 17 00:00:00 2001 From: Nick Excell Date: Sat, 7 Nov 2020 06:28:27 +0000 Subject: [PATCH 11/26] Fixed missing errors in watch mode in webpack5 (#1208) * Fixed missing errors in watch mode in webpack5 * Refactor to use regex only once --- CHANGELOG.md | 3 ++ package.json | 2 +- src/after-compile.ts | 61 ++++++++++++++++++++------------ src/instances.ts | 83 +++++++++++++++++++++++--------------------- 4 files changed, 85 insertions(+), 64 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 763cc44d1..3109ef87c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v8.0.10 +* [Fixed missing errors in watch mode in webpack5](https://github.com/TypeStrong/ts-loader/issues/1204) - thanks @appzuka + ## v8.0.9 * [Fixed build failing when using thread-loader](https://github.com/TypeStrong/ts-loader/pull/1207) - thanks @valerio diff --git a/package.json b/package.json index 9c12bc5cd..61d67da1d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.9", + "version": "8.0.10", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/after-compile.ts b/src/after-compile.ts index 1f36d1d26..7cc284a08 100644 --- a/src/after-compile.ts +++ b/src/after-compile.ts @@ -21,8 +21,16 @@ import { tsLoaderSource, } from './utils'; +/** + * This returns a function that has options to add assets and also to provide errors to webpack + * In webpack 4 we can do both during the afterCompile hook + * In webpack 5 only errors should be provided during aftercompile. Assets should be + * emitted during the afterProcessAssets hook + */ export function makeAfterCompile( instance: TSInstance, + addAssets: boolean, + provideErrors: boolean, configFilePath: string | undefined ) { let getCompilerOptionDiagnostics = true; @@ -39,18 +47,22 @@ export function makeAfterCompile( } if (instance.loaderOptions.transpileOnly) { - provideAssetsFromSolutionBuilderHost(instance, compilation); + if (addAssets) { + provideAssetsFromSolutionBuilderHost(instance, compilation); + } callback(); return; } removeCompilationTSLoaderErrors(compilation, instance.loaderOptions); - provideCompilerOptionDiagnosticErrorsToWebpack( - getCompilerOptionDiagnostics, - compilation, - instance, - configFilePath - ); + if (provideErrors) { + provideCompilerOptionDiagnosticErrorsToWebpack( + getCompilerOptionDiagnostics, + compilation, + instance, + configFilePath + ); + } getCompilerOptionDiagnostics = false; const modules = determineModules(compilation, instance); @@ -62,22 +74,25 @@ export function makeAfterCompile( checkAllFilesForErrors = false; const filesWithErrors: TSFiles = new Map(); - provideErrorsToWebpack( - filesToCheckForErrors, - filesWithErrors, - compilation, - modules, - instance - ); - provideDeclarationFilesToWebpack( - filesToCheckForErrors, - instance, - compilation - ); - provideTsBuildInfoFilesToWebpack(instance, compilation); - - provideSolutionErrorsToWebpack(compilation, modules, instance); - provideAssetsFromSolutionBuilderHost(instance, compilation); + if (provideErrors) { + provideErrorsToWebpack( + filesToCheckForErrors, + filesWithErrors, + compilation, + modules, + instance + ); + provideSolutionErrorsToWebpack(compilation, modules, instance); + } + if (addAssets) { + provideDeclarationFilesToWebpack( + filesToCheckForErrors, + instance, + compilation + ); + provideTsBuildInfoFilesToWebpack(instance, compilation); + provideAssetsFromSolutionBuilderHost(instance, compilation); + } instance.filesWithErrors = filesWithErrors; instance.modifiedFiles = undefined; diff --git a/src/instances.ts b/src/instances.ts index f7496132a..d8c29dc60 100644 --- a/src/instances.ts +++ b/src/instances.ts @@ -302,6 +302,46 @@ function getExistingSolutionBuilderHost(key: FilePathKey) { return undefined; } +// Adding assets in afterCompile is deprecated in webpack 5 so we +// need different behavior for webpack4 and 5 +const addAssetHooks = !!webpack.version!.match(/^4.*/) + ? (loader: webpack.loader.LoaderContext, instance: TSInstance) => { + // add makeAfterCompile with addAssets = true to emit assets and report errors + loader._compiler.hooks.afterCompile.tapAsync( + 'ts-loader', + makeAfterCompile(instance, true, true, instance.configFilePath) + ); + } + : (loader: webpack.loader.LoaderContext, instance: TSInstance) => { + // We must be running under webpack 5+ + + // Add makeAfterCompile with addAssets = false to suppress emitting assets + // during the afterCompile stage. Errors will be still be reported to webpack + loader._compiler.hooks.afterCompile.tapAsync( + 'ts-loader', + makeAfterCompile(instance, false, true, instance.configFilePath) + ); + + // Emit the assets at the afterProcessAssets stage + loader._compilation.hooks.afterProcessAssets.tap( + 'ts-loader', + (_: any) => { + makeAfterCompile( + instance, + true, + false, + instance.configFilePath + )(loader._compilation, () => { + return null; + }); + } + ); + + // It may be better to add assets at the processAssets stage (https://webpack.js.org/api/compilation-hooks/#processassets) + // This requires Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL, which does not exist in webpack4 + // Consider changing this when ts-loader is built using webpack5 + }; + export function initializeInstance( loader: webpack.loader.LoaderContext, instance: TSInstance @@ -350,26 +390,7 @@ export function initializeInstance( instance.transformers = getCustomTransformers(program); // Setup watch run for solution building if (instance.solutionBuilderHost) { - if (loader._compilation.hooks.afterProcessAssets) { - // afterProcessAssets does not exist in webpack4 - loader._compilation.hooks.afterProcessAssets.tap( - 'ts-loader', - (_: any) => { - makeAfterCompile(instance, instance.configFilePath)( - loader._compilation, - () => { - return null; - } - ); - } - ); - } else { - // adding assets in afterCompile is deprecated in webpack 5 - loader._compiler.hooks.afterCompile.tapAsync( - 'ts-loader', - makeAfterCompile(instance, instance.configFilePath) - ); - } + addAssetHooks(loader, instance); loader._compiler.hooks.watchRun.tapAsync( 'ts-loader', makeWatchRun(instance, loader) @@ -416,26 +437,8 @@ export function initializeInstance( instance.languageService!.getProgram() ); } - if (loader._compilation.hooks.afterProcessAssets) { - // afterProcessAssets does not exist in webpack4 - loader._compilation.hooks.afterProcessAssets.tap( - 'ts-loader', - (_: any) => { - makeAfterCompile(instance, instance.configFilePath)( - loader._compilation, - () => { - return null; - } - ); - } - ); - } else { - // adding assets in afterCompile is deprecated in webpack 5 - loader._compiler.hooks.afterCompile.tapAsync( - 'ts-loader', - makeAfterCompile(instance, instance.configFilePath) - ); - } + + addAssetHooks(loader, instance); loader._compiler.hooks.watchRun.tapAsync( 'ts-loader', From 0816fe96fafc001f3574c083fea39b8da722b0e9 Mon Sep 17 00:00:00 2001 From: Fai <4016742+aicest@users.noreply.github.com> Date: Mon, 9 Nov 2020 20:54:55 +0800 Subject: [PATCH 12/26] Add peer dependencies for Yarn PnP (#1209) --- CHANGELOG.md | 3 +++ package.json | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3109ef87c..4c7463fe1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v8.0.11 +* [Fixed build failing in yarn v2 pnp](https://github.com/TypeStrong/ts-loader/pull/1209) - @aicest + ## v8.0.10 * [Fixed missing errors in watch mode in webpack5](https://github.com/TypeStrong/ts-loader/issues/1204) - thanks @appzuka diff --git a/package.json b/package.json index 61d67da1d..e2ade2a01 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.10", + "version": "8.0.11", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", @@ -101,6 +101,7 @@ "webpack-cli": "^3.1.1" }, "peerDependencies": { - "typescript": "*" + "typescript": "*", + "webpack": "*" } } From 172ebeb10cc8d15b91eca0828943bf7b962b4366 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Sun, 22 Nov 2020 14:56:00 +0000 Subject: [PATCH 13/26] Feature/typescript 4 1 (#1213) * commit initial snapshots * upgrade ts * new test output --- .github/workflows/push.yml | 6 +- .travis.yml | 3 +- .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/output.txt | 10 + .../expectedOutput-4.1/patch0/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch0/output.txt | 10 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../expectedOutput-transpile-4.1/output.txt | 5 + .../patch0/bundle.js | 113 +++++++ .../patch0/output.txt | 5 + .../expectedOutput-4.1/bundle.js | 100 ++++++ .../expectedOutput-4.1/output.txt | 4 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../expectedOutput-4.1/bundle.js | 125 +++++++ .../expectedOutput-4.1/output.txt | 11 + .../expectedOutput-transpile-4.1/bundle.js | 125 +++++++ .../expectedOutput-transpile-4.1/output.txt | 6 + .../expectedOutput-4.1/bundle.js | 125 +++++++ .../expectedOutput-4.1/output.txt | 6 + .../expectedOutput-transpile-4.1/bundle.js | 125 +++++++ .../expectedOutput-transpile-4.1/output.txt | 6 + .../expectedOutput-4.1/bundle.entry1.js | 100 ++++++ .../expectedOutput-4.1/bundle.entry2.js | 113 +++++++ .../expectedOutput-4.1/output.txt | 8 + .../patch0/bundle.entry1.js | 100 ++++++ .../expectedOutput-4.1/patch0/output.txt | 8 + .../expectedOutput-4.1/bundle.js | 101 ++++++ .../expectedOutput-4.1/output.txt | 4 + .../expectedOutput-transpile-4.1/bundle.js | 101 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../expectedOutput-4.1/bundle.js | 119 +++++++ .../expectedOutput-4.1/bundle.js.map | 1 + .../expectedOutput-4.1/output.txt | 5 + .../expectedOutput-transpile-4.1/bundle.js | 119 +++++++ .../bundle.js.map | 1 + .../expectedOutput-transpile-4.1/output.txt | 5 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/output.txt | 5 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../expectedOutput-transpile-4.1/output.txt | 5 + .../basic/expectedOutput-4.1/bundle.js | 124 +++++++ .../basic/expectedOutput-4.1/output.txt | 6 + .../basic/expectedOutput-4.1/patch0/bundle.js | 124 +++++++ .../expectedOutput-4.1/patch0/output.txt | 11 + .../basic/expectedOutput-4.1/patch1/bundle.js | 124 +++++++ .../expectedOutput-4.1/patch1/output.txt | 6 + .../expectedOutput-transpile-4.1/bundle.js | 124 +++++++ .../expectedOutput-transpile-4.1/output.txt | 6 + .../patch0/bundle.js | 124 +++++++ .../patch0/output.txt | 6 + .../patch1/bundle.js | 124 +++++++ .../patch1/output.txt | 6 + .../expectedOutput-4.1/0.bundle.js | 27 ++ .../expectedOutput-4.1/bundle.js | 240 ++++++++++++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/0.bundle.js | 27 ++ .../expectedOutput-transpile-4.1/bundle.js | 240 ++++++++++++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../colors/expectedOutput-4.1/bundle.js | 100 ++++++ .../colors/expectedOutput-4.1/output.txt | 18 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 18 + .../expectedOutput-4.1/bundle.js | 101 ++++++ .../expectedOutput-4.1/output.txt | 4 + .../expectedOutput-transpile-4.1/bundle.js | 101 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../expectedOutput-4.1/bundle.js | 79 +++++ .../expectedOutput-4.1/output.txt | 4 + .../expectedOutput-4.1/patch0/bundle.js | 52 +++ .../expectedOutput-4.1/patch0/output.txt | 4 + .../expectedOutput-4.1/bundle.js | 100 ++++++ .../expectedOutput-4.1/output.txt | 4 + .../expectedOutput-4.1/patch0/bundle.js | 100 ++++++ .../expectedOutput-4.1/patch0/output.txt | 4 + .../expectedOutput-4.1/patch1/bundle.js | 100 ++++++ .../expectedOutput-4.1/patch1/output.txt | 4 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../patch0/bundle.js | 100 ++++++ .../patch0/output.txt | 4 + .../patch1/bundle.js | 100 ++++++ .../patch1/output.txt | 4 + .../expectedOutput-4.1/bundle.js | 100 ++++++ .../expectedOutput-4.1/output.txt | 4 + .../expectedOutput-4.1/patch0/bundle.js | 100 ++++++ .../expectedOutput-4.1/patch0/output.txt | 4 + .../expectedOutput-4.1/patch1/bundle.js | 100 ++++++ .../expectedOutput-4.1/patch1/output.txt | 4 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../patch0/bundle.js | 100 ++++++ .../patch0/output.txt | 4 + .../patch1/bundle.js | 100 ++++++ .../patch1/output.txt | 4 + .../expectedOutput-4.1/bundle.js | 100 ++++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../expectedOutput-4.1/.output/app.d.ts | 5 + .../expectedOutput-4.1/.output/sub/dep.d.ts | 4 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/output.txt | 7 + .../expectedOutput-4.1/.output/app.d.ts | 6 + .../expectedOutput-4.1/.output/app.d.ts.map | 1 + .../expectedOutput-4.1/.output/sub/dep.d.ts | 5 + .../.output/sub/dep.d.ts.map | 1 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/output.txt | 5 + .../expectedOutput-4.1/patch0/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch0/output.txt | 15 + .../expectedOutput-4.1/patch1/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch1/output.txt | 5 + .../expectedOutput-4.1/bundle.js | 125 +++++++ .../expectedOutput-4.1/output.txt | 16 + .../expectedOutput-4.1/patch0/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch0/output.txt | 11 + .../expectedOutput-transpile-4.1/bundle.js | 125 +++++++ .../expectedOutput-transpile-4.1/output.txt | 6 + .../patch0/bundle.js | 125 +++++++ .../patch0/output.txt | 6 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../expectedOutput-transpile-4.1/output.txt | 5 + .../errors/expectedOutput-4.1/bundle.js | 100 ++++++ .../errors/expectedOutput-4.1/output.txt | 18 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 18 + .../es3/expectedOutput-4.1/bundle.js | 100 ++++++ .../es3/expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../es5/expectedOutput-4.1/bundle.js | 100 ++++++ .../es5/expectedOutput-4.1/output.txt | 4 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../es6/expectedOutput-4.1/bundle.js | 100 ++++++ .../es6/expectedOutput-4.1/output.txt | 4 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../expectedOutput-4.1/0.bundle.js | 27 ++ .../expectedOutput-4.1/bundle.js | 240 ++++++++++++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/0.bundle.js | 27 ++ .../expectedOutput-transpile-4.1/bundle.js | 240 ++++++++++++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../es6withCJS/expectedOutput-4.1/bundle.js | 101 ++++++ .../es6withCJS/expectedOutput-4.1/output.txt | 4 + .../expectedOutput-transpile-4.1/bundle.js | 101 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../externals/expectedOutput-4.1/bundle.js | 112 +++++++ .../externals/expectedOutput-4.1/output.txt | 5 + .../expectedOutput-transpile-4.1/bundle.js | 112 +++++++ .../expectedOutput-transpile-4.1/output.txt | 5 + .../expectedOutput-4.1/bundle.js | 85 +++++ .../expectedOutput-4.1/index.html | 9 + .../expectedOutput-4.1/output.txt | 14 + .../expectedOutput-4.1/bundle.js | 101 ++++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/bundle.js | 101 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../importsWatch/expectedOutput-4.1/bundle.js | 101 ++++++ .../expectedOutput-4.1/output.txt | 4 + .../expectedOutput-4.1/patch1/bundle.js | 101 ++++++ .../expectedOutput-4.1/patch1/output.txt | 9 + .../instance/expectedOutput-4.1/bundle.js | 100 ++++++ .../instance/expectedOutput-4.1/output.txt | 20 ++ .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 20 ++ .../issue372/expectedOutput-4.1/bundle.js | 124 +++++++ .../issue372/expectedOutput-4.1/output.txt | 6 + .../expectedOutput-4.1/patch0/bundle.js | 124 +++++++ .../expectedOutput-4.1/patch0/output.txt | 6 + .../expectedOutput-transpile-4.1/bundle.js | 124 +++++++ .../expectedOutput-transpile-4.1/output.txt | 6 + .../patch0/bundle.js | 124 +++++++ .../patch0/output.txt | 6 + .../issue441/expectedOutput-4.1/bundle.js | 101 ++++++ .../issue441/expectedOutput-4.1/output.txt | 4 + .../expectedOutput-4.1/patch0/bundle.js | 101 ++++++ .../expectedOutput-4.1/patch0/output.txt | 4 + .../expectedOutput-4.1/patch1/bundle.js | 101 ++++++ .../expectedOutput-4.1/patch1/output.txt | 4 + .../expectedOutput-transpile-4.1/bundle.js | 101 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../patch0/bundle.js | 101 ++++++ .../patch0/output.txt | 4 + .../patch1/bundle.js | 101 ++++++ .../patch1/output.txt | 4 + .../issue71/expectedOutput-4.1/bundle.js | 124 +++++++ .../issue71/expectedOutput-4.1/output.txt | 6 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/output.txt | 5 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../expectedOutput-transpile-4.1/output.txt | 5 + .../node/expectedOutput-4.1/bundle.js | 100 ++++++ .../node/expectedOutput-4.1/output.txt | 4 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../expectedOutput-4.1/bundle.js | 112 +++++++ .../expectedOutput-4.1/output.txt | 15 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../expectedOutput-transpile-4.1/output.txt | 5 + .../expectedOutput-4.1/bundle.js | 112 +++++++ .../expectedOutput-4.1/output.txt | 5 + .../expectedOutput-transpile-4.1/bundle.js | 112 +++++++ .../expectedOutput-transpile-4.1/output.txt | 5 + .../nolib/expectedOutput-4.1/bundle.js | 100 ++++++ .../nolib/expectedOutput-4.1/output.txt | 37 +++ .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../npmLink/expectedOutput-4.1/bundle.js | 113 +++++++ .../npmLink/expectedOutput-4.1/output.txt | 5 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../expectedOutput-transpile-4.1/output.txt | 5 + .../expectedOutput-4.1/bundle.js | 124 +++++++ .../expectedOutput-4.1/output.txt | 6 + .../expectedOutput-4.1/patch0/bundle.js | 124 +++++++ .../expectedOutput-4.1/patch0/output.txt | 11 + .../expectedOutput-4.1/patch1/bundle.js | 124 +++++++ .../expectedOutput-4.1/patch1/output.txt | 6 + .../expectedOutput-transpile-4.1/bundle.js | 124 +++++++ .../expectedOutput-transpile-4.1/output.txt | 6 + .../patch0/bundle.js | 124 +++++++ .../patch0/output.txt | 6 + .../patch1/bundle.js | 124 +++++++ .../patch1/output.txt | 6 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/output.txt | 5 + .../expectedOutput-4.1/patch0/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch0/output.txt | 5 + .../expectedOutput-4.1/patch1/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch1/output.txt | 5 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../expectedOutput-transpile-4.1/output.txt | 5 + .../patch0/bundle.js | 113 +++++++ .../patch0/output.txt | 5 + .../patch1/bundle.js | 113 +++++++ .../patch1/output.txt | 5 + .../production/expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/bundle.js | 1 + .../expectedOutput-transpile-4.1/output.txt | 4 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 9 + .../expectedOutput-4.1/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../expectedOutput-4.1/bundle.js | 123 +++++++ .../expectedOutput-4.1/common/index.d.ts | 1 + .../expectedOutput-4.1/common/index.js | 7 + .../common/tsconfig.tsbuildinfo | 55 ++++ .../indirectWithError/tsconfig.tsbuildinfo | 87 +++++ .../lib/tsconfig.tsbuildinfo | 87 +++++ .../expectedOutput-4.1/output.txt | 41 +++ .../expectedOutput-4.1/patch0/bundle.js | 124 +++++++ .../patch0/lib/fileWithError.d.ts | 1 + .../patch0/lib/fileWithError.js | 7 + .../expectedOutput-4.1/patch0/lib/index.d.ts | 5 + .../expectedOutput-4.1/patch0/lib/index.js | 8 + .../patch0/lib/tsconfig.tsbuildinfo | 61 ++++ .../expectedOutput-4.1/patch0/output.txt | 23 ++ .../expectedOutput-4.1/patch1/bundle.js | 137 ++++++++ .../indirectWithError/fileWithError.d.ts | 1 + .../patch1/indirectWithError/fileWithError.js | 7 + .../patch1/indirectWithError/index.d.ts | 5 + .../patch1/indirectWithError/index.js | 8 + .../indirectWithError/tsconfig.tsbuildinfo | 61 ++++ .../expectedOutput-4.1/patch1/output.txt | 15 + .../patch1/utils/index.d.ts | 1 + .../expectedOutput-4.1/patch1/utils/index.js | 8 + .../patch1/utils/tsconfig.tsbuildinfo | 65 ++++ .../expectedOutput-4.1/patch2/bundle.js | 137 ++++++++ .../expectedOutput-4.1/patch2/output.txt | 10 + .../patch2/unreferenced/index.d.ts | 1 + .../patch2/unreferenced/index.js | 7 + .../patch2/unreferenced/tsconfig.tsbuildinfo | 55 ++++ .../expectedOutput-4.1/patch3/bundle.js | 137 ++++++++ .../expectedOutput-4.1/patch3/output.txt | 12 + .../unreferencedIndirect/tsconfig.tsbuildinfo | 73 ++++ .../expectedOutput-4.1/patch4/bundle.js | 137 ++++++++ .../expectedOutput-4.1/patch4/output.txt | 10 + .../patch4/unreferencedIndirect/index.d.ts | 1 + .../patch4/unreferencedIndirect/index.js | 7 + .../unreferencedIndirect/tsconfig.tsbuildinfo | 55 ++++ .../expectedOutput-4.1/patch5/bundle.js | 137 ++++++++ .../expectedOutput-4.1/patch5/output.txt | 12 + .../patch5/unreferenced/tsconfig.tsbuildinfo | 73 ++++ .../unreferenced/index.d.ts | 1 + .../expectedOutput-4.1/unreferenced/index.js | 7 + .../unreferenced/tsconfig.tsbuildinfo | 55 ++++ .../unreferencedIndirect/index.d.ts | 1 + .../unreferencedIndirect/index.js | 7 + .../unreferencedIndirect/tsconfig.tsbuildinfo | 55 ++++ .../expectedOutput-transpile-4.1/bundle.js | 123 +++++++ .../common/index.d.ts | 1 + .../common/index.js | 7 + .../common/tsconfig.tsbuildinfo | 55 ++++ .../indirectWithError/tsconfig.tsbuildinfo | 87 +++++ .../lib/tsconfig.tsbuildinfo | 87 +++++ .../expectedOutput-transpile-4.1/output.txt | 39 +++ .../patch0/bundle.js | 124 +++++++ .../patch0/lib/fileWithError.d.ts | 1 + .../patch0/lib/fileWithError.js | 7 + .../patch0/lib/index.d.ts | 5 + .../patch0/lib/index.js | 8 + .../patch0/lib/tsconfig.tsbuildinfo | 61 ++++ .../patch0/output.txt | 22 ++ .../patch1/bundle.js | 137 ++++++++ .../indirectWithError/fileWithError.d.ts | 1 + .../patch1/indirectWithError/fileWithError.js | 7 + .../patch1/indirectWithError/index.d.ts | 5 + .../patch1/indirectWithError/index.js | 8 + .../indirectWithError/tsconfig.tsbuildinfo | 61 ++++ .../patch1/output.txt | 15 + .../patch1/utils/index.d.ts | 1 + .../patch1/utils/index.js | 8 + .../patch1/utils/tsconfig.tsbuildinfo | 65 ++++ .../patch3/output.txt | 11 + .../unreferencedIndirect/tsconfig.tsbuildinfo | 73 ++++ .../patch4/output.txt | 10 + .../patch4/unreferencedIndirect/index.d.ts | 1 + .../patch4/unreferencedIndirect/index.js | 7 + .../unreferencedIndirect/tsconfig.tsbuildinfo | 55 ++++ .../patch5/output.txt | 11 + .../patch5/unreferenced/tsconfig.tsbuildinfo | 73 ++++ .../unreferenced/index.d.ts | 1 + .../unreferenced/index.js | 7 + .../unreferenced/tsconfig.tsbuildinfo | 55 ++++ .../unreferencedIndirect/index.d.ts | 1 + .../unreferencedIndirect/index.js | 7 + .../unreferencedIndirect/tsconfig.tsbuildinfo | 55 ++++ .../expectedOutput-4.1/app/bundle.js | 137 ++++++++ .../expectedOutput-4.1/common/index.d.ts | 1 + .../expectedOutput-4.1/common/index.js | 7 + .../common/tsconfig.tsbuildinfo | 55 ++++ .../expectedOutput-4.1/indirect/index.d.ts | 5 + .../expectedOutput-4.1/indirect/index.js | 8 + .../indirect/tsconfig.tsbuildinfo | 55 ++++ .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 8 + .../lib/tsconfig.tsbuildinfo | 55 ++++ .../expectedOutput-4.1/output.txt | 19 ++ .../expectedOutput-4.1/patch0/app/bundle.js | 137 ++++++++ .../patch0/common/index.d.ts | 1 + .../expectedOutput-4.1/patch0/common/index.js | 7 + .../patch0/common/tsconfig.tsbuildinfo | 55 ++++ .../expectedOutput-4.1/patch0/output.txt | 10 + .../expectedOutput-4.1/patch1/app/bundle.js | 137 ++++++++ .../expectedOutput-4.1/patch1/output.txt | 10 + .../patch1/utils/index.d.ts | 2 + .../expectedOutput-4.1/patch1/utils/index.js | 10 + .../patch1/utils/tsconfig.tsbuildinfo | 65 ++++ .../expectedOutput-4.1/patch2/app/bundle.js | 137 ++++++++ .../expectedOutput-4.1/patch2/output.txt | 7 + .../expectedOutput-4.1/patch3/app/bundle.js | 137 ++++++++ .../patch3/common/tsconfig.tsbuildinfo | 73 ++++ .../expectedOutput-4.1/patch3/output.txt | 13 + .../expectedOutput-4.1/patch4/app/bundle.js | 137 ++++++++ .../patch4/common/index.d.ts | 1 + .../expectedOutput-4.1/patch4/common/index.js | 7 + .../patch4/common/tsconfig.tsbuildinfo | 55 ++++ .../expectedOutput-4.1/patch4/output.txt | 10 + .../expectedOutput-4.1/patch5/app/bundle.js | 137 ++++++++ .../expectedOutput-4.1/patch5/output.txt | 13 + .../patch5/utils/tsconfig.tsbuildinfo | 83 +++++ .../expectedOutput-4.1/patch6/app/bundle.js | 137 ++++++++ .../expectedOutput-4.1/patch6/output.txt | 10 + .../patch6/utils/index.d.ts | 2 + .../expectedOutput-4.1/patch6/utils/index.js | 10 + .../patch6/utils/tsconfig.tsbuildinfo | 65 ++++ .../expectedOutput-4.1/utils/index.d.ts | 1 + .../expectedOutput-4.1/utils/index.js | 8 + .../utils/tsconfig.tsbuildinfo | 65 ++++ .../app/bundle.js | 137 ++++++++ .../common/index.d.ts | 1 + .../common/index.js | 7 + .../common/tsconfig.tsbuildinfo | 55 ++++ .../indirect/index.d.ts | 5 + .../indirect/index.js | 8 + .../indirect/tsconfig.tsbuildinfo | 55 ++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 8 + .../lib/tsconfig.tsbuildinfo | 55 ++++ .../expectedOutput-transpile-4.1/output.txt | 19 ++ .../patch0/app/bundle.js | 137 ++++++++ .../patch0/common/index.d.ts | 1 + .../patch0/common/index.js | 7 + .../patch0/common/tsconfig.tsbuildinfo | 55 ++++ .../patch0/output.txt | 10 + .../patch1/app/bundle.js | 137 ++++++++ .../patch1/output.txt | 10 + .../patch1/utils/index.d.ts | 2 + .../patch1/utils/index.js | 10 + .../patch1/utils/tsconfig.tsbuildinfo | 65 ++++ .../patch2/app/bundle.js | 137 ++++++++ .../patch2/output.txt | 7 + .../patch3/common/tsconfig.tsbuildinfo | 73 ++++ .../patch3/output.txt | 11 + .../patch4/common/index.d.ts | 1 + .../patch4/common/index.js | 7 + .../patch4/common/tsconfig.tsbuildinfo | 55 ++++ .../patch4/output.txt | 10 + .../patch5/output.txt | 11 + .../patch5/utils/tsconfig.tsbuildinfo | 83 +++++ .../patch6/output.txt | 10 + .../patch6/utils/index.d.ts | 2 + .../patch6/utils/index.js | 10 + .../patch6/utils/tsconfig.tsbuildinfo | 65 ++++ .../utils/index.d.ts | 1 + .../utils/index.js | 8 + .../utils/tsconfig.tsbuildinfo | 65 ++++ .../expectedOutput-4.1/bundle.js | 125 +++++++ .../expectedOutput-4.1/lib/foo.d.ts | 1 + .../expectedOutput-4.1/lib/foo.js | 4 + .../expectedOutput-4.1/lib/index.d.ts | 6 + .../expectedOutput-4.1/lib/index.js | 10 + .../lib/tsconfig.tsbuildinfo | 65 ++++ .../expectedOutput-4.1/output.txt | 11 + .../expectedOutput-transpile-4.1/bundle.js | 125 +++++++ .../expectedOutput-transpile-4.1/lib/foo.d.ts | 1 + .../expectedOutput-transpile-4.1/lib/foo.js | 4 + .../lib/index.d.ts | 6 + .../expectedOutput-transpile-4.1/lib/index.js | 10 + .../lib/tsconfig.tsbuildinfo | 65 ++++ .../expectedOutput-transpile-4.1/output.txt | 11 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 9 + .../expectedOutput-4.1/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../expectedOutput-4.1/app.d.ts | 1 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 9 + .../expectedOutput-4.1/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/output.txt | 11 + .../expectedOutput-4.1/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 9 + .../expectedOutput-4.1/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/output.txt | 14 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../expectedOutput-4.1/app.d.ts | 1 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 9 + .../expectedOutput-4.1/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/output.txt | 16 + .../expectedOutput-4.1/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 9 + .../expectedOutput-4.1/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/output.txt | 14 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../expectedOutput-4.1/bundle.js | 112 +++++++ .../lib/tsconfig.tsbuildinfo | 78 +++++ .../expectedOutput-4.1/output.txt | 19 ++ .../expectedOutput-transpile-4.1/bundle.js | 112 +++++++ .../lib/tsconfig.tsbuildinfo | 78 +++++ .../expectedOutput-transpile-4.1/output.txt | 17 + .../expectedOutput-4.1/app.d.ts | 1 + .../expectedOutput-4.1/bundle.js | 112 +++++++ .../lib/tsconfig.tsbuildinfo | 78 +++++ .../expectedOutput-4.1/output.txt | 21 ++ .../expectedOutput-4.1/tsconfig.tsbuildinfo | 48 +++ .../expectedOutput-transpile-4.1/bundle.js | 112 +++++++ .../lib/tsconfig.tsbuildinfo | 78 +++++ .../expectedOutput-transpile-4.1/output.txt | 17 + .../expectedOutput-4.1/bundle.js | 112 +++++++ .../lib/tsconfig.tsbuildinfo | 78 +++++ .../expectedOutput-4.1/output.txt | 19 ++ .../expectedOutput-transpile-4.1/bundle.js | 112 +++++++ .../lib/tsconfig.tsbuildinfo | 78 +++++ .../expectedOutput-transpile-4.1/output.txt | 17 + .../expectedOutput-4.1/bundle.js | 112 +++++++ .../expectedOutput-4.1/output.txt | 18 + .../expectedOutput-transpile-4.1/bundle.js | 112 +++++++ .../expectedOutput-transpile-4.1/output.txt | 16 + .../expectedOutput-4.1/app.d.ts | 1 + .../expectedOutput-4.1/bundle.js | 112 +++++++ .../expectedOutput-4.1/output.txt | 20 ++ .../expectedOutput-4.1/tsconfig.tsbuildinfo | 48 +++ .../expectedOutput-transpile-4.1/bundle.js | 112 +++++++ .../expectedOutput-transpile-4.1/output.txt | 16 + .../expectedOutput-4.1/bundle.js | 112 +++++++ .../expectedOutput-4.1/output.txt | 18 + .../expectedOutput-transpile-4.1/bundle.js | 112 +++++++ .../expectedOutput-transpile-4.1/output.txt | 16 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 9 + .../expectedOutput-4.1/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/out/index.d.ts | 5 + .../expectedOutput-4.1/lib/out/index.js | 9 + .../expectedOutput-4.1/lib/out/index.js.map | 1 + .../lib/out/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/out/index.d.ts | 5 + .../lib/out/index.js | 9 + .../lib/out/index.js.map | 1 + .../lib/out/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/out/index.d.ts | 5 + .../expectedOutput-4.1/lib/out/index.js | 9 + .../expectedOutput-4.1/lib/out/index.js.map | 1 + .../lib/out/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-4.1/patch0/bundle.js | 113 +++++++ .../patch0/lib/out/index.d.ts | 6 + .../patch0/lib/out/index.js | 10 + .../patch0/lib/out/index.js.map | 1 + .../patch0/lib/out/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/patch0/output.txt | 9 + .../expectedOutput-4.1/patch1/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch1/output.txt | 5 + .../expectedOutput-4.1/patch2/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch2/output.txt | 13 + .../expectedOutput-4.1/patch3/bundle.js | 113 +++++++ .../patch3/lib/out/index.d.ts | 7 + .../patch3/lib/out/index.js | 11 + .../patch3/lib/out/index.js.map | 1 + .../patch3/lib/out/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/patch3/output.txt | 9 + .../expectedOutput-4.1/patch4/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch4/output.txt | 10 + .../expectedOutput-4.1/patch5/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch5/output.txt | 5 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/out/index.d.ts | 5 + .../lib/out/index.js | 9 + .../lib/out/index.js.map | 1 + .../lib/out/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../patch0/bundle.js | 113 +++++++ .../patch0/lib/out/index.d.ts | 6 + .../patch0/lib/out/index.js | 10 + .../patch0/lib/out/index.js.map | 1 + .../patch0/lib/out/tsconfig.tsbuildinfo | 57 ++++ .../patch0/output.txt | 9 + .../patch1/bundle.js | 113 +++++++ .../patch1/output.txt | 5 + .../patch2/output.txt | 11 + .../patch3/lib/out/index.d.ts | 7 + .../patch3/lib/out/index.js | 11 + .../patch3/lib/out/index.js.map | 1 + .../patch3/lib/out/tsconfig.tsbuildinfo | 57 ++++ .../patch3/output.txt | 9 + .../patch4/bundle.js | 113 +++++++ .../patch4/output.txt | 5 + .../patch5/bundle.js | 113 +++++++ .../patch5/output.txt | 5 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/output.txt | 5 + .../expectedOutput-4.1/patch0/bundle.js | 113 +++++++ .../patch0/lib/out/index.d.ts | 6 + .../patch0/lib/out/index.js | 10 + .../patch0/lib/out/index.js.map | 1 + .../patch0/lib/out/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/patch0/output.txt | 9 + .../expectedOutput-4.1/patch1/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch1/output.txt | 5 + .../expectedOutput-4.1/patch2/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch2/output.txt | 13 + .../expectedOutput-4.1/patch3/bundle.js | 113 +++++++ .../patch3/lib/out/index.d.ts | 7 + .../patch3/lib/out/index.js | 11 + .../patch3/lib/out/index.js.map | 1 + .../patch3/lib/out/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/patch3/output.txt | 9 + .../expectedOutput-4.1/patch4/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch4/output.txt | 10 + .../expectedOutput-4.1/patch5/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch5/output.txt | 5 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../expectedOutput-transpile-4.1/output.txt | 5 + .../patch1/bundle.js | 113 +++++++ .../patch1/output.txt | 5 + .../patch2/output.txt | 11 + .../patch3/lib/out/index.d.ts | 7 + .../patch3/lib/out/index.js | 11 + .../patch3/lib/out/index.js.map | 1 + .../patch3/lib/out/tsconfig.tsbuildinfo | 57 ++++ .../patch3/output.txt | 9 + .../patch4/bundle.js | 113 +++++++ .../patch4/output.txt | 5 + .../patch5/bundle.js | 113 +++++++ .../patch5/output.txt | 5 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/out/index.d.ts | 5 + .../expectedOutput-4.1/lib/out/index.js | 6 + .../expectedOutput-4.1/lib/out/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 311 ++++++++++++++++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/out/index.d.ts | 5 + .../lib/out/index.js | 6 + .../lib/out/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 311 ++++++++++++++++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/out/index.d.ts | 5 + .../expectedOutput-4.1/lib/out/index.js | 6 + .../expectedOutput-4.1/lib/out/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 311 ++++++++++++++++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/out/index.d.ts | 5 + .../lib/out/index.js | 6 + .../lib/out/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 311 ++++++++++++++++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../expectedOutput-4.1/app/dist/index.js | 125 +++++++ .../expectedOutput-4.1/common/dist/index.d.ts | 1 + .../expectedOutput-4.1/common/dist/index.js | 5 + .../common/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/lib/dist/index.d.ts | 1 + .../expectedOutput-4.1/lib/dist/index.js | 6 + .../lib/tsconfig.tsbuildinfo | 67 ++++ .../expectedOutput-4.1/output.txt | 12 + .../patch0/app/dist/index.js | 125 +++++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 6 + .../patch0/lib/tsconfig.tsbuildinfo | 67 ++++ .../expectedOutput-4.1/patch0/output.txt | 14 + .../app/dist/index.js | 125 +++++++ .../common/dist/index.d.ts | 1 + .../common/dist/index.js | 5 + .../common/tsconfig.tsbuildinfo | 57 ++++ .../lib/dist/index.d.ts | 1 + .../lib/dist/index.js | 6 + .../lib/tsconfig.tsbuildinfo | 67 ++++ .../expectedOutput-transpile-4.1/output.txt | 12 + .../patch0/app/dist/index.js | 125 +++++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 6 + .../patch0/lib/tsconfig.tsbuildinfo | 67 ++++ .../patch0/output.txt | 9 + .../expectedOutput-4.1/app/dist/index.js | 125 +++++++ .../expectedOutput-4.1/common/dist/index.d.ts | 1 + .../expectedOutput-4.1/common/dist/index.js | 5 + .../common/tsconfig.tsbuildinfo | 58 ++++ .../expectedOutput-4.1/lib/dist/index.d.ts | 1 + .../expectedOutput-4.1/lib/dist/index.js | 6 + .../lib/tsconfig.tsbuildinfo | 68 ++++ .../expectedOutput-4.1/output.txt | 12 + .../patch0/app/dist/index.js | 125 +++++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 6 + .../patch0/lib/tsconfig.tsbuildinfo | 68 ++++ .../expectedOutput-4.1/patch0/output.txt | 14 + .../app/dist/index.js | 125 +++++++ .../common/dist/index.d.ts | 1 + .../common/dist/index.js | 5 + .../common/tsconfig.tsbuildinfo | 58 ++++ .../lib/dist/index.d.ts | 1 + .../lib/dist/index.js | 6 + .../lib/tsconfig.tsbuildinfo | 68 ++++ .../expectedOutput-transpile-4.1/output.txt | 12 + .../patch0/app/dist/index.js | 125 +++++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 6 + .../patch0/lib/tsconfig.tsbuildinfo | 68 ++++ .../patch0/output.txt | 9 + .../expectedOutput-4.1/app/dist/index.js | 125 +++++++ .../expectedOutput-4.1/common/dist/index.d.ts | 1 + .../expectedOutput-4.1/common/dist/index.js | 5 + .../common/tsconfig.tsbuildinfo | 58 ++++ .../expectedOutput-4.1/lib/dist/index.d.ts | 1 + .../expectedOutput-4.1/lib/dist/index.js | 6 + .../lib/tsconfig.tsbuildinfo | 68 ++++ .../expectedOutput-4.1/output.txt | 12 + .../patch0/app/dist/index.js | 125 +++++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 6 + .../patch0/lib/tsconfig.tsbuildinfo | 68 ++++ .../expectedOutput-4.1/patch0/output.txt | 14 + .../app/dist/index.js | 125 +++++++ .../common/dist/index.d.ts | 1 + .../common/dist/index.js | 5 + .../common/tsconfig.tsbuildinfo | 58 ++++ .../lib/dist/index.d.ts | 1 + .../lib/dist/index.js | 6 + .../lib/tsconfig.tsbuildinfo | 68 ++++ .../expectedOutput-transpile-4.1/output.txt | 12 + .../patch0/app/dist/index.js | 125 +++++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 6 + .../patch0/lib/tsconfig.tsbuildinfo | 68 ++++ .../patch0/output.txt | 9 + .../expectedOutput-4.1/app/dist/index.js | 125 +++++++ .../expectedOutput-4.1/common/dist/index.d.ts | 1 + .../expectedOutput-4.1/common/dist/index.js | 5 + .../common/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/lib/dist/index.d.ts | 1 + .../expectedOutput-4.1/lib/dist/index.js | 6 + .../lib/tsconfig.tsbuildinfo | 67 ++++ .../expectedOutput-4.1/output.txt | 12 + .../patch0/app/dist/index.js | 125 +++++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 6 + .../patch0/lib/tsconfig.tsbuildinfo | 67 ++++ .../expectedOutput-4.1/patch0/output.txt | 14 + .../app/dist/index.js | 125 +++++++ .../common/dist/index.d.ts | 1 + .../common/dist/index.js | 5 + .../common/tsconfig.tsbuildinfo | 57 ++++ .../lib/dist/index.d.ts | 1 + .../lib/dist/index.js | 6 + .../lib/tsconfig.tsbuildinfo | 67 ++++ .../expectedOutput-transpile-4.1/output.txt | 12 + .../patch0/app/dist/index.js | 125 +++++++ .../patch0/lib/dist/index.d.ts | 1 + .../patch0/lib/dist/index.js | 6 + .../patch0/lib/tsconfig.tsbuildinfo | 67 ++++ .../patch0/output.txt | 9 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 9 + .../expectedOutput-4.1/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-4.1/patch0/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch0/lib/index.d.ts | 6 + .../expectedOutput-4.1/patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/patch0/output.txt | 9 + .../expectedOutput-4.1/patch1/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch1/output.txt | 5 + .../expectedOutput-4.1/patch2/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch2/output.txt | 15 + .../expectedOutput-4.1/patch3/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch3/lib/index.d.ts | 7 + .../expectedOutput-4.1/patch3/lib/index.js | 11 + .../patch3/lib/index.js.map | 1 + .../patch3/lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/patch3/output.txt | 9 + .../expectedOutput-4.1/patch4/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch4/output.txt | 10 + .../expectedOutput-4.1/patch5/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch5/output.txt | 5 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../patch0/bundle.js | 113 +++++++ .../patch0/lib/index.d.ts | 6 + .../patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 56 ++++ .../patch0/output.txt | 9 + .../patch1/bundle.js | 113 +++++++ .../patch1/output.txt | 5 + .../patch2/output.txt | 11 + .../patch3/bundle.js | 113 +++++++ .../patch3/lib/index.d.ts | 7 + .../patch3/lib/index.js | 11 + .../patch3/lib/index.js.map | 1 + .../patch3/lib/tsconfig.tsbuildinfo | 56 ++++ .../patch3/output.txt | 9 + .../patch4/bundle.js | 113 +++++++ .../patch4/output.txt | 5 + .../patch5/bundle.js | 113 +++++++ .../patch5/output.txt | 5 + .../expectedOutput-4.1/bundle.js | 125 +++++++ .../expectedOutput-4.1/lib/helper.d.ts | 5 + .../expectedOutput-4.1/lib/helper.js | 9 + .../expectedOutput-4.1/lib/helper.js.map | 1 + .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 10 + .../expectedOutput-4.1/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-4.1/output.txt | 13 + .../expectedOutput-4.1/patch0/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch0/lib/helper.d.ts | 6 + .../expectedOutput-4.1/patch0/lib/helper.js | 10 + .../patch0/lib/helper.js.map | 1 + .../expectedOutput-4.1/patch0/lib/index.d.ts | 5 + .../expectedOutput-4.1/patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-4.1/patch0/output.txt | 13 + .../expectedOutput-4.1/patch1/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch1/output.txt | 6 + .../expectedOutput-transpile-4.1/bundle.js | 125 +++++++ .../lib/helper.d.ts | 5 + .../lib/helper.js | 9 + .../lib/helper.js.map | 1 + .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 10 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-transpile-4.1/output.txt | 13 + .../patch0/bundle.js | 125 +++++++ .../patch0/lib/helper.d.ts | 6 + .../patch0/lib/helper.js | 10 + .../patch0/lib/helper.js.map | 1 + .../patch0/lib/index.d.ts | 5 + .../patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++++ .../patch0/output.txt | 13 + .../patch1/bundle.js | 125 +++++++ .../patch1/output.txt | 6 + .../expectedOutput-4.1/bundle.js | 125 +++++++ .../expectedOutput-4.1/output.txt | 6 + .../expectedOutput-4.1/patch0/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch0/lib/helper.d.ts | 5 + .../expectedOutput-4.1/patch0/lib/helper.js | 9 + .../patch0/lib/helper.js.map | 1 + .../expectedOutput-4.1/patch0/lib/index.d.ts | 6 + .../expectedOutput-4.1/patch0/lib/index.js | 11 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-4.1/patch0/output.txt | 13 + .../expectedOutput-4.1/patch1/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch1/lib/helper.d.ts | 6 + .../expectedOutput-4.1/patch1/lib/helper.js | 10 + .../patch1/lib/helper.js.map | 1 + .../expectedOutput-4.1/patch1/lib/index.d.ts | 6 + .../expectedOutput-4.1/patch1/lib/index.js | 11 + .../patch1/lib/index.js.map | 1 + .../patch1/lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-4.1/patch1/output.txt | 13 + .../expectedOutput-4.1/patch2/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch2/output.txt | 6 + .../expectedOutput-transpile-4.1/bundle.js | 125 +++++++ .../expectedOutput-transpile-4.1/output.txt | 6 + .../patch0/bundle.js | 125 +++++++ .../patch0/lib/helper.d.ts | 5 + .../patch0/lib/helper.js | 9 + .../patch0/lib/helper.js.map | 1 + .../patch0/lib/index.d.ts | 6 + .../patch0/lib/index.js | 11 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++++ .../patch0/output.txt | 13 + .../patch1/bundle.js | 125 +++++++ .../patch1/lib/helper.d.ts | 6 + .../patch1/lib/helper.js | 10 + .../patch1/lib/helper.js.map | 1 + .../patch1/lib/index.d.ts | 6 + .../patch1/lib/index.js | 11 + .../patch1/lib/index.js.map | 1 + .../patch1/lib/tsconfig.tsbuildinfo | 66 ++++ .../patch1/output.txt | 13 + .../patch2/bundle.js | 125 +++++++ .../patch2/output.txt | 6 + .../expectedOutput-4.1/app.d.ts | 1 + .../expectedOutput-4.1/bundle.js | 125 +++++++ .../expectedOutput-4.1/output.txt | 8 + .../expectedOutput-4.1/patch0/app.d.ts | 1 + .../expectedOutput-4.1/patch0/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch0/lib/helper.d.ts | 5 + .../expectedOutput-4.1/patch0/lib/helper.js | 9 + .../patch0/lib/helper.js.map | 1 + .../expectedOutput-4.1/patch0/lib/index.d.ts | 6 + .../expectedOutput-4.1/patch0/lib/index.js | 11 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-4.1/patch0/output.txt | 15 + .../patch0/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/patch1/app.d.ts | 1 + .../expectedOutput-4.1/patch1/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch1/lib/helper.d.ts | 6 + .../expectedOutput-4.1/patch1/lib/helper.js | 10 + .../patch1/lib/helper.js.map | 1 + .../expectedOutput-4.1/patch1/lib/index.d.ts | 6 + .../expectedOutput-4.1/patch1/lib/index.js | 11 + .../patch1/lib/index.js.map | 1 + .../patch1/lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-4.1/patch1/output.txt | 14 + .../expectedOutput-4.1/patch2/app.d.ts | 1 + .../expectedOutput-4.1/patch2/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch2/output.txt | 8 + .../patch2/tsconfig.tsbuildinfo | 63 ++++ .../expectedOutput-4.1/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-transpile-4.1/bundle.js | 125 +++++++ .../expectedOutput-transpile-4.1/output.txt | 6 + .../patch0/bundle.js | 125 +++++++ .../patch0/lib/helper.d.ts | 5 + .../patch0/lib/helper.js | 9 + .../patch0/lib/helper.js.map | 1 + .../patch0/lib/index.d.ts | 6 + .../patch0/lib/index.js | 11 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++++ .../patch0/output.txt | 13 + .../patch1/bundle.js | 125 +++++++ .../patch1/lib/helper.d.ts | 6 + .../patch1/lib/helper.js | 10 + .../patch1/lib/helper.js.map | 1 + .../patch1/lib/index.d.ts | 6 + .../patch1/lib/index.js | 11 + .../patch1/lib/index.js.map | 1 + .../patch1/lib/tsconfig.tsbuildinfo | 66 ++++ .../patch1/output.txt | 13 + .../patch2/bundle.js | 125 +++++++ .../patch2/output.txt | 6 + .../expectedOutput-4.1/bundle.js | 125 +++++++ .../expectedOutput-4.1/output.txt | 6 + .../expectedOutput-4.1/patch0/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch0/lib/helper.d.ts | 5 + .../expectedOutput-4.1/patch0/lib/helper.js | 9 + .../patch0/lib/helper.js.map | 1 + .../expectedOutput-4.1/patch0/lib/index.d.ts | 6 + .../expectedOutput-4.1/patch0/lib/index.js | 11 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-4.1/patch0/output.txt | 13 + .../expectedOutput-4.1/patch1/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch1/lib/helper.d.ts | 6 + .../expectedOutput-4.1/patch1/lib/helper.js | 10 + .../patch1/lib/helper.js.map | 1 + .../expectedOutput-4.1/patch1/lib/index.d.ts | 6 + .../expectedOutput-4.1/patch1/lib/index.js | 11 + .../patch1/lib/index.js.map | 1 + .../patch1/lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-4.1/patch1/output.txt | 13 + .../expectedOutput-4.1/patch2/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch2/output.txt | 6 + .../expectedOutput-transpile-4.1/bundle.js | 125 +++++++ .../expectedOutput-transpile-4.1/output.txt | 6 + .../patch0/bundle.js | 125 +++++++ .../patch0/lib/helper.d.ts | 5 + .../patch0/lib/helper.js | 9 + .../patch0/lib/helper.js.map | 1 + .../patch0/lib/index.d.ts | 6 + .../patch0/lib/index.js | 11 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++++ .../patch0/output.txt | 13 + .../patch1/bundle.js | 125 +++++++ .../patch1/lib/helper.d.ts | 6 + .../patch1/lib/helper.js | 10 + .../patch1/lib/helper.js.map | 1 + .../patch1/lib/index.d.ts | 6 + .../patch1/lib/index.js | 11 + .../patch1/lib/index.js.map | 1 + .../patch1/lib/tsconfig.tsbuildinfo | 66 ++++ .../patch1/output.txt | 13 + .../patch2/bundle.js | 125 +++++++ .../patch2/output.txt | 6 + .../expectedOutput-4.1/app.d.ts | 1 + .../expectedOutput-4.1/bundle.js | 125 +++++++ .../expectedOutput-4.1/lib/helper.d.ts | 5 + .../expectedOutput-4.1/lib/helper.js | 9 + .../expectedOutput-4.1/lib/helper.js.map | 1 + .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 10 + .../expectedOutput-4.1/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-4.1/output.txt | 15 + .../expectedOutput-4.1/patch0/app.d.ts | 1 + .../expectedOutput-4.1/patch0/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch0/lib/helper.d.ts | 6 + .../expectedOutput-4.1/patch0/lib/helper.js | 10 + .../patch0/lib/helper.js.map | 1 + .../expectedOutput-4.1/patch0/lib/index.d.ts | 5 + .../expectedOutput-4.1/patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-4.1/patch0/output.txt | 14 + .../expectedOutput-4.1/patch1/app.d.ts | 1 + .../expectedOutput-4.1/patch1/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch1/output.txt | 8 + .../patch1/tsconfig.tsbuildinfo | 63 ++++ .../expectedOutput-4.1/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-transpile-4.1/bundle.js | 125 +++++++ .../lib/helper.d.ts | 5 + .../lib/helper.js | 9 + .../lib/helper.js.map | 1 + .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 10 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-transpile-4.1/output.txt | 13 + .../patch0/bundle.js | 125 +++++++ .../patch0/lib/helper.d.ts | 6 + .../patch0/lib/helper.js | 10 + .../patch0/lib/helper.js.map | 1 + .../patch0/lib/index.d.ts | 5 + .../patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++++ .../patch0/output.txt | 13 + .../patch1/bundle.js | 125 +++++++ .../patch1/output.txt | 6 + .../expectedOutput-4.1/bundle.js | 125 +++++++ .../expectedOutput-4.1/lib/helper.d.ts | 5 + .../expectedOutput-4.1/lib/helper.js | 9 + .../expectedOutput-4.1/lib/helper.js.map | 1 + .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 10 + .../expectedOutput-4.1/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-4.1/output.txt | 13 + .../expectedOutput-4.1/patch0/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch0/lib/helper.d.ts | 6 + .../expectedOutput-4.1/patch0/lib/helper.js | 10 + .../patch0/lib/helper.js.map | 1 + .../expectedOutput-4.1/patch0/lib/index.d.ts | 5 + .../expectedOutput-4.1/patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-4.1/patch0/output.txt | 13 + .../expectedOutput-4.1/patch1/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch1/output.txt | 6 + .../expectedOutput-transpile-4.1/bundle.js | 125 +++++++ .../lib/helper.d.ts | 5 + .../lib/helper.js | 9 + .../lib/helper.js.map | 1 + .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 10 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 66 ++++ .../expectedOutput-transpile-4.1/output.txt | 13 + .../patch0/bundle.js | 125 +++++++ .../patch0/lib/helper.d.ts | 6 + .../patch0/lib/helper.js | 10 + .../patch0/lib/helper.js.map | 1 + .../patch0/lib/index.d.ts | 5 + .../patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 66 ++++ .../patch0/output.txt | 13 + .../patch1/bundle.js | 125 +++++++ .../patch1/output.txt | 6 + .../expectedOutput-4.1/app.d.ts | 1 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 9 + .../expectedOutput-4.1/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/output.txt | 11 + .../expectedOutput-4.1/patch0/app.d.ts | 1 + .../expectedOutput-4.1/patch0/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch0/lib/index.d.ts | 6 + .../expectedOutput-4.1/patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/patch0/output.txt | 11 + .../patch0/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/patch1/app.d.ts | 1 + .../expectedOutput-4.1/patch1/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch1/output.txt | 7 + .../patch1/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/patch2/app.d.ts | 1 + .../expectedOutput-4.1/patch2/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch2/output.txt | 16 + .../expectedOutput-4.1/patch3/app.d.ts | 1 + .../expectedOutput-4.1/patch3/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch3/lib/index.d.ts | 7 + .../expectedOutput-4.1/patch3/lib/index.js | 11 + .../patch3/lib/index.js.map | 1 + .../patch3/lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/patch3/output.txt | 11 + .../patch3/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/patch4/app.d.ts | 1 + .../expectedOutput-4.1/patch4/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch4/output.txt | 12 + .../patch4/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/patch5/app.d.ts | 1 + .../expectedOutput-4.1/patch5/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch5/output.txt | 7 + .../patch5/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-4.1/tsconfig.tsbuildinfo | 57 ++++ .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../patch0/bundle.js | 113 +++++++ .../patch0/lib/index.d.ts | 6 + .../patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 56 ++++ .../patch0/output.txt | 9 + .../patch1/bundle.js | 113 +++++++ .../patch1/output.txt | 5 + .../patch2/output.txt | 11 + .../patch3/bundle.js | 113 +++++++ .../patch3/lib/index.d.ts | 7 + .../patch3/lib/index.js | 11 + .../patch3/lib/index.js.map | 1 + .../patch3/lib/tsconfig.tsbuildinfo | 56 ++++ .../patch3/output.txt | 9 + .../patch4/bundle.js | 113 +++++++ .../patch4/output.txt | 5 + .../patch5/bundle.js | 113 +++++++ .../patch5/output.txt | 5 + .../expectedOutput-4.1/bundle.js | 113 +++++++ .../expectedOutput-4.1/lib/index.d.ts | 5 + .../expectedOutput-4.1/lib/index.js | 9 + .../expectedOutput-4.1/lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-4.1/patch0/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch0/lib/index.d.ts | 6 + .../expectedOutput-4.1/patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/patch0/output.txt | 9 + .../expectedOutput-4.1/patch1/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch1/output.txt | 5 + .../expectedOutput-4.1/patch2/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch2/output.txt | 15 + .../expectedOutput-4.1/patch3/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch3/lib/index.d.ts | 7 + .../expectedOutput-4.1/patch3/lib/index.js | 11 + .../patch3/lib/index.js.map | 1 + .../patch3/lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-4.1/patch3/output.txt | 9 + .../expectedOutput-4.1/patch4/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch4/output.txt | 10 + .../expectedOutput-4.1/patch5/bundle.js | 113 +++++++ .../expectedOutput-4.1/patch5/output.txt | 5 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../lib/index.d.ts | 5 + .../expectedOutput-transpile-4.1/lib/index.js | 9 + .../lib/index.js.map | 1 + .../lib/tsconfig.tsbuildinfo | 56 ++++ .../expectedOutput-transpile-4.1/output.txt | 9 + .../patch0/bundle.js | 113 +++++++ .../patch0/lib/index.d.ts | 6 + .../patch0/lib/index.js | 10 + .../patch0/lib/index.js.map | 1 + .../patch0/lib/tsconfig.tsbuildinfo | 56 ++++ .../patch0/output.txt | 9 + .../patch1/bundle.js | 113 +++++++ .../patch1/output.txt | 5 + .../patch2/output.txt | 11 + .../patch3/bundle.js | 113 +++++++ .../patch3/lib/index.d.ts | 7 + .../patch3/lib/index.js | 11 + .../patch3/lib/index.js.map | 1 + .../patch3/lib/tsconfig.tsbuildinfo | 56 ++++ .../patch3/output.txt | 9 + .../patch4/bundle.js | 113 +++++++ .../patch4/output.txt | 5 + .../patch5/bundle.js | 113 +++++++ .../patch5/output.txt | 5 + .../replacement/expectedOutput-4.1/bundle.js | 125 +++++++ .../replacement/expectedOutput-4.1/output.txt | 6 + .../expectedOutput-transpile-4.1/bundle.js | 125 +++++++ .../expectedOutput-transpile-4.1/output.txt | 6 + .../reportFiles/expectedOutput-4.1/bundle.js | 113 +++++++ .../reportFiles/expectedOutput-4.1/output.txt | 10 + .../expectedOutput-transpile-4.1/bundle.js | 113 +++++++ .../expectedOutput-transpile-4.1/output.txt | 5 + .../expectedOutput-4.1/app.d.ts | 1 + .../expectedOutput-4.1/bundle.js | 1 + .../expectedOutput-4.1/output.txt | 10 + .../expectedOutput-transpile-4.1/bundle.js | 1 + .../expectedOutput-transpile-4.1/output.txt | 9 + test/comparison-tests/run-tests.js | 2 +- .../expectedOutput-4.1/bundle.js | 125 +++++++ .../expectedOutput-4.1/output.txt | 6 + .../expectedOutput-4.1/patch0/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch0/output.txt | 11 + .../expectedOutput-4.1/patch1/bundle.js | 125 +++++++ .../expectedOutput-4.1/patch1/output.txt | 6 + .../expectedOutput-transpile-4.1/bundle.js | 125 +++++++ .../expectedOutput-transpile-4.1/output.txt | 6 + .../patch0/bundle.js | 125 +++++++ .../patch0/output.txt | 6 + .../patch1/bundle.js | 125 +++++++ .../patch1/output.txt | 6 + .../sourceMaps/expectedOutput-4.1/bundle.js | 102 ++++++ .../expectedOutput-4.1/bundle.js.map | 1 + .../sourceMaps/expectedOutput-4.1/output.txt | 5 + .../expectedOutput-transpile-4.1/bundle.js | 102 ++++++ .../bundle.js.map | 1 + .../expectedOutput-transpile-4.1/output.txt | 5 + test/comparison-tests/stub-new-version.js | 4 +- .../expectedOutput-4.1/bundle.js | 100 ++++++ .../expectedOutput-4.1/output.txt | 17 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 17 + .../expectedOutput-4.1/bundle.js | 100 ++++++ .../expectedOutput-4.1/output.txt | 9 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../expectedOutput-4.1/bundle.js | 100 ++++++ .../expectedOutput-4.1/output.txt | 11 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 11 + .../expectedOutput-4.1/bundle.js | 112 +++++++ .../expectedOutput-4.1/output.txt | 5 + .../expectedOutput-transpile-4.1/bundle.js | 112 +++++++ .../expectedOutput-transpile-4.1/output.txt | 5 + .../expectedOutput-4.1/bundle.js | 100 ++++++ .../expectedOutput-4.1/output.txt | 4 + .../expectedOutput-4.1/patch0/bundle.js | 100 ++++++ .../expectedOutput-4.1/patch0/output.txt | 9 + .../expectedOutput-4.1/patch1/bundle.js | 100 ++++++ .../expectedOutput-4.1/patch1/output.txt | 4 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 4 + .../patch0/bundle.js | 100 ++++++ .../patch0/output.txt | 4 + .../patch1/bundle.js | 100 ++++++ .../patch1/output.txt | 4 + .../expectedOutput-4.1/bundle.js | 100 ++++++ .../expectedOutput-4.1/output.txt | 15 + .../expectedOutput-transpile-4.1/bundle.js | 100 ++++++ .../expectedOutput-transpile-4.1/output.txt | 15 + yarn.lock | 6 +- 1267 files changed, 53366 insertions(+), 10 deletions(-) create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/bundle.entry1.js create mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/bundle.entry2.js create mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/patch0/bundle.entry1.js create mode 100644 test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/babel-issue81/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/babel-issue81/expectedOutput-4.1/bundle.js.map create mode 100644 test/comparison-tests/babel-issue81/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/babel-issue81/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/babel-issue81/expectedOutput-transpile-4.1/bundle.js.map create mode 100644 test/comparison-tests/babel-issue81/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/babel-issue92/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/babel-issue92/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/babel-issue92/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/babel-issue92/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/basic/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/basic/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/basic/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/basic/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/basic/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/basic/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/basic/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/basic/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/basic/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/basic/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/basic/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/codeSplitting/expectedOutput-4.1/0.bundle.js create mode 100644 test/comparison-tests/codeSplitting/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/codeSplitting/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/codeSplitting/expectedOutput-transpile-4.1/0.bundle.js create mode 100644 test/comparison-tests/codeSplitting/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/codeSplitting/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/colors/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/colors/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/colors/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/customTransformer/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/customTransformer/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/customTransformer/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/customTransformer/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/customTransformer/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/customTransformer/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/declarationDeps/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/declarationDeps/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/declarationDeps/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/declarationOutput/expectedOutput-4.1/.output/app.d.ts create mode 100644 test/comparison-tests/declarationOutput/expectedOutput-4.1/.output/sub/dep.d.ts create mode 100644 test/comparison-tests/declarationOutput/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/declarationOutput/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/app.d.ts create mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/app.d.ts.map create mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/sub/dep.d.ts create mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/sub/dep.d.ts.map create mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/declarationWatch/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/declarationWatch/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/declarationWatch/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/declarationWatch/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/errorFormatter/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/errorFormatter/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/errorFormatter/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/errors/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/errors/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/errors/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/es3/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/es3/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/es3/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/es3/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/es5/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/es5/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/es5/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/es5/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/es6/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/es6/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/es6/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/es6/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-4.1/0.bundle.js create mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.1/0.bundle.js create mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/es6withCJS/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/es6withCJS/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/es6withCJS/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/es6withCJS/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/externals/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/externals/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/externals/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/externals/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-4.1/index.html create mode 100644 test/comparison-tests/html-webpack-plugin/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/importsWatch/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/importsWatch/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/instance/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/instance/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/instance/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/issue372/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/issue372/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/issue372/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/issue372/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/issue372/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/issue372/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/issue372/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/issue372/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/issue441/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/issue441/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/issue441/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/issue441/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/issue441/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/issue441/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/issue441/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/issue441/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/issue71/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/issue71/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/node/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/node/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/node/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/node/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/nodeResolution/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/nodeResolution/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/nodeResolution/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/nodeResolution/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/nolib/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/nolib/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/nolib/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/nolib/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/npmLink/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/npmLink/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/npmLink/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/npmLink/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/production/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/production/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/production/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferences/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferences/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferences/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferences/expectedOutput-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferences/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferences/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/indirectWithError/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/fileWithError.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/fileWithError.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/fileWithError.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/fileWithError.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/unreferenced/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/unreferenced/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/unreferenced/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/unreferencedIndirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/unreferencedIndirect/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/unreferencedIndirect/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/unreferencedIndirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/unreferenced/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferenced/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferenced/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferenced/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferencedIndirect/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferencedIndirect/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferencedIndirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/indirectWithError/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/fileWithError.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/fileWithError.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/fileWithError.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/fileWithError.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/unreferencedIndirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/unreferencedIndirect/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/unreferencedIndirect/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/unreferencedIndirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/unreferenced/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferenced/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferenced/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferenced/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferencedIndirect/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferencedIndirect/index.js create mode 100644 test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferencedIndirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/indirect/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/indirect/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/indirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch2/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/indirect/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/indirect/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/indirect/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch2/app/bundle.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/common/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/common/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/output.txt create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/utils/index.d.ts create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/utils/index.js create mode 100644 test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/utils/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/foo.d.ts create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/foo.js create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/foo.d.ts create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/foo.js create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/app.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/app.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/app.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/app.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/out/index.d.ts create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/out/index.js create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/out/index.js.map create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/common/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/common/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/app/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.js create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/app.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch5/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.d.ts create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js.map create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/tsconfig.tsbuildinfo create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch4/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch4/output.txt create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch5/bundle.js create mode 100644 test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch5/output.txt create mode 100644 test/comparison-tests/replacement/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/replacement/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/replacement/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/replacement/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/reportFiles/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/reportFiles/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/reportFiles/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/resolveJsonModule/expectedOutput-4.1/app.d.ts create mode 100644 test/comparison-tests/resolveJsonModule/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/resolveJsonModule/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/sourceMaps/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/sourceMaps/expectedOutput-4.1/bundle.js.map create mode 100644 test/comparison-tests/sourceMaps/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/sourceMaps/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/sourceMaps/expectedOutput-transpile-4.1/bundle.js.map create mode 100644 test/comparison-tests/sourceMaps/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt create mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch1/output.txt create mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/output.txt create mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch0/bundle.js create mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch0/output.txt create mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch1/bundle.js create mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch1/output.txt create mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/bundle.js create mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/output.txt create mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/bundle.js create mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/output.txt diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 4a01fde81..3dceefbac 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -17,7 +17,7 @@ jobs: run: yarn build - name: install typescript - run: yarn add typescript@4.0.3 + run: yarn add typescript@4.1.2 - name: test run: sudo yarn comparison-tests @@ -44,7 +44,7 @@ jobs: working-directory: C:\source\ts-loader - name: install typescript - run: yarn add typescript@4.0.3 + run: yarn add typescript@4.1.2 working-directory: C:\source\ts-loader - name: test @@ -57,7 +57,7 @@ jobs: matrix: os: [ubuntu, windows] node: [10, 12, 14] - ts: [3.6.5, 3.7.5, 3.8.3, 3.9.3, 4.0.3, next] + ts: [3.6.5, 3.7.5, 3.8.3, 3.9.3, 4.0.3, 4.1.2, next] runs-on: ${{ matrix.os }}-latest steps: - uses: actions/checkout@v2 diff --git a/.travis.yml b/.travis.yml index 96773a0bb..afcaf7a38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,8 +14,9 @@ install: - yarn lint - yarn add $TYPESCRIPT env: - - TYPESCRIPT=typescript@4.0.3 + - TYPESCRIPT=typescript@4.1.2 - TYPESCRIPT=typescript@next + - TYPESCRIPT=typescript@4.0.3 - TYPESCRIPT=typescript@3.9.3 - TYPESCRIPT=typescript@3.8.2 - TYPESCRIPT=typescript@3.7.4 diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.1/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..02dd408f1 --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/components/myComponent.ts": +/*!******************************************!*\ + !*** ./common/components/myComponent.ts ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..c0da8c1a3 --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.33 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 120 bytes {main} [built] [1 error] +[./common/components/myComponent.ts] 46 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(2,31) + TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..9ee46fa6a --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/components/myComponent.ts": +/*!******************************************!*\ + !*** ./common/components/myComponent.ts ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..bf0ca3fd3 --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.33 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 120 bytes {main} [built] [1 error] +[./common/components/myComponent.ts] 45 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(2,31) + TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..4bcb44dd6 --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/components/myComponent.ts": +/*!******************************************!*\ + !*** ./common/components/myComponent.ts ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..52173a13f --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 156 bytes {main} [built] +[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..34251a6bd --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/components/myComponent.ts": +/*!******************************************!*\ + !*** ./common/components/myComponent.ts ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..179bf18e1 --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 156 bytes {main} +[./common/components/myComponent.ts] 45 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.1/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..7a2725d4e --- /dev/null +++ b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./src/index.js": +/*!**********************!*\ + !*** ./src/index.js ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("console.log('working');\n\n\n//# sourceURL=webpack:///./src/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.1/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..debec2de1 --- /dev/null +++ b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..7a2725d4e --- /dev/null +++ b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./src/index.js": +/*!**********************!*\ + !*** ./src/index.js ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("console.log('working');\n\n\n//# sourceURL=webpack:///./src/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..debec2de1 --- /dev/null +++ b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./src/index.js] 24 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/bundle.js b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..60827c69b --- /dev/null +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./src/error1.js": +/*!***********************!*\ + !*** ./src/error1.js ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Class1 = void 0;\nvar Class1 = /** @class */ (function () {\n function Class1() {\n }\n Class1.prototype.foo = function () {\n this.bar;\n };\n return Class1;\n}());\nexports.Class1 = Class1;\n\n\n//# sourceURL=webpack:///./src/error1.js?"); + +/***/ }), + +/***/ "./src/error2.js": +/*!***********************!*\ + !*** ./src/error2.js ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Class2 = void 0;\n// @ts-check\nvar Class2 = /** @class */ (function () {\n function Class2() {\n }\n Class2.prototype.foo = function () {\n this.bar;\n };\n return Class2;\n}());\nexports.Class2 = Class2;\n\n\n//# sourceURL=webpack:///./src/error2.js?"); + +/***/ }), + +/***/ "./src/index.js": +/*!**********************!*\ + !*** ./src/index.js ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar error1_1 = __webpack_require__(/*! ./error1 */ \"./src/error1.js\");\nvar error2_1 = __webpack_require__(/*! ./error2 */ \"./src/error2.js\");\nnew error1_1.Class1().foo();\nnew error2_1.Class2().foo();\n\n\n//# sourceURL=webpack:///./src/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..c978f9feb --- /dev/null +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 5.2 KiB main [emitted] main +Entrypoint main = bundle.js +[./src/error1.js] 290 bytes {main} [built] +[./src/error2.js] 303 bytes {main} [built] [1 error] +[./src/index.js] 207 bytes {main} [built] + +ERROR in src/error2.js +./src/error2.js +[tsl] ERROR in src/error2.js(4,10) + TS2339: Property 'bar' does not exist on type 'Class2'. \ No newline at end of file diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..60827c69b --- /dev/null +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./src/error1.js": +/*!***********************!*\ + !*** ./src/error1.js ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Class1 = void 0;\nvar Class1 = /** @class */ (function () {\n function Class1() {\n }\n Class1.prototype.foo = function () {\n this.bar;\n };\n return Class1;\n}());\nexports.Class1 = Class1;\n\n\n//# sourceURL=webpack:///./src/error1.js?"); + +/***/ }), + +/***/ "./src/error2.js": +/*!***********************!*\ + !*** ./src/error2.js ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Class2 = void 0;\n// @ts-check\nvar Class2 = /** @class */ (function () {\n function Class2() {\n }\n Class2.prototype.foo = function () {\n this.bar;\n };\n return Class2;\n}());\nexports.Class2 = Class2;\n\n\n//# sourceURL=webpack:///./src/error2.js?"); + +/***/ }), + +/***/ "./src/index.js": +/*!**********************!*\ + !*** ./src/index.js ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar error1_1 = __webpack_require__(/*! ./error1 */ \"./src/error1.js\");\nvar error2_1 = __webpack_require__(/*! ./error2 */ \"./src/error2.js\");\nnew error1_1.Class1().foo();\nnew error2_1.Class2().foo();\n\n\n//# sourceURL=webpack:///./src/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..bc8ac528e --- /dev/null +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 5.2 KiB main [emitted] main +Entrypoint main = bundle.js +[./src/error1.js] 290 bytes {main} [built] +[./src/error2.js] 303 bytes {main} [built] +[./src/index.js] 207 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..9b5d280a3 --- /dev/null +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./index.vue"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./component.vue": +/*!***********************!*\ + !*** ./component.vue ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); + +/***/ }), + +/***/ "./helper.ts": +/*!*******************!*\ + !*** ./helper.ts ***! + \*******************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.myMethod = void 0;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); + +/***/ }), + +/***/ "./index.vue": +/*!*******************!*\ + !*** ./index.vue ***! + \*******************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..df193ab5e --- /dev/null +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 5.03 KiB main [emitted] main +Entrypoint main = bundle.js +[./component.vue] 154 bytes {main} [built] +[./helper.ts] 154 bytes {main} [built] +[./index.vue] 352 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..7342fe682 --- /dev/null +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./index.vue"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./component.vue": +/*!***********************!*\ + !*** ./component.vue ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); + +/***/ }), + +/***/ "./helper.ts": +/*!*******************!*\ + !*** ./helper.ts ***! + \*******************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.myMethod = void 0;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); + +/***/ }), + +/***/ "./index.vue": +/*!*******************!*\ + !*** ./index.vue ***! + \*******************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports.default = {\n components: { component: component_vue_1.default },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..321095028 --- /dev/null +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 5.13 KiB main [emitted] main +Entrypoint main = bundle.js +[./component.vue] 187 bytes {main} [built] +[./helper.ts] 190 bytes {main} [built] +[./index.vue] 382 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/bundle.entry1.js new file mode 100644 index 000000000..ba42f5993 --- /dev/null +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/bundle.entry1.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./entry1.ts": +/*!*******************!*\ + !*** ./entry1.ts ***! + \*******************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("console.log('banana');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/bundle.entry2.js new file mode 100644 index 000000000..63c756585 --- /dev/null +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/bundle.entry2.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./entry2.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./component.vue": +/*!***********************!*\ + !*** ./component.vue ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?"); + +/***/ }), + +/***/ "./entry2.ts": +/*!*******************!*\ + !*** ./entry2.ts ***! + \*******************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..bdc1dc671 --- /dev/null +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/output.txt @@ -0,0 +1,8 @@ + Asset Size Chunks Chunk Names +bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 +bundle.entry2.js 4.29 KiB entry2 [emitted] entry2 +Entrypoint entry1 = bundle.entry1.js +Entrypoint entry2 = bundle.entry2.js +[./component.vue] 76 bytes {entry2} [built] +[./entry1.ts] 23 bytes {entry1} [built] +[./entry2.ts] 132 bytes {entry2} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/patch0/bundle.entry1.js new file mode 100644 index 000000000..9e8bbeb9a --- /dev/null +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/patch0/bundle.entry1.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./entry1.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./entry1.ts": +/*!*******************!*\ + !*** ./entry1.ts ***! + \*******************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("console.log('something!');\n\n\n//# sourceURL=webpack:///./entry1.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..06e6f0dfe --- /dev/null +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,8 @@ + Asset Size Chunks Chunk Names +bundle.entry1.js 3.78 KiB entry1 [emitted] entry1 +bundle.entry2.js 4.29 KiB entry2 entry2 +Entrypoint entry1 = bundle.entry1.js +Entrypoint entry2 = bundle.entry2.js +[./component.vue] 76 bytes {entry2} +[./entry1.ts] 27 bytes {entry1} [built] +[./entry2.ts] 132 bytes {entry2} \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.1/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..172f02325 --- /dev/null +++ b/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./index.tsx"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./index.tsx": +/*!*******************!*\ + !*** ./index.tsx ***! + \*******************/ +/*! exports provided: BaseComponent */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BaseComponent\", function() { return BaseComponent; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar BaseComponent = function BaseComponent() {\n _classCallCheck(this, BaseComponent);\n};\n\n//# sourceURL=webpack:///./index.tsx?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.1/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..10cdd525e --- /dev/null +++ b/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 4.22 KiB main [emitted] main +Entrypoint main = bundle.js +[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..172f02325 --- /dev/null +++ b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./index.tsx"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./index.tsx": +/*!*******************!*\ + !*** ./index.tsx ***! + \*******************/ +/*! exports provided: BaseComponent */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BaseComponent\", function() { return BaseComponent; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar BaseComponent = function BaseComponent() {\n _classCallCheck(this, BaseComponent);\n};\n\n//# sourceURL=webpack:///./index.tsx?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..10cdd525e --- /dev/null +++ b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 4.22 KiB main [emitted] main +Entrypoint main = bundle.js +[./index.tsx] 251 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-4.1/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..6d304b239 --- /dev/null +++ b/test/comparison-tests/babel-issue81/expectedOutput-4.1/bundle.js @@ -0,0 +1,119 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var __decorate = this && this.__decorate || function (decorators, target, key, desc) { + var c = arguments.length, + r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, + d; + if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { + if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + }return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +function bar(target) { + return target; +} +var Foo = function Foo() { + _classCallCheck(this, Foo); +}; +Foo = __decorate([bar], Foo); + +/***/ }) + +/******/ }); +//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-4.1/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-4.1/bundle.js.map new file mode 100644 index 000000000..eb6d8fc44 --- /dev/null +++ b/test/comparison-tests/babel-issue81/expectedOutput-4.1/bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./a.ts"],"names":[],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;;;;;;;;;;;;ACjFA,SAAY,IAAY;AACpB,WACJ;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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-4.1/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..e03c35628 --- /dev/null +++ b/test/comparison-tests/babel-issue81/expectedOutput-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names + bundle.js 4.89 KiB main [emitted] main +bundle.js.map 3.7 KiB main [emitted] [dev] main +Entrypoint main = bundle.js bundle.js.map +[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..6d304b239 --- /dev/null +++ b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,119 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var __decorate = this && this.__decorate || function (decorators, target, key, desc) { + var c = arguments.length, + r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, + d; + if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { + if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + }return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +function bar(target) { + return target; +} +var Foo = function Foo() { + _classCallCheck(this, Foo); +}; +Foo = __decorate([bar], Foo); + +/***/ }) + +/******/ }); +//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.1/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.1/bundle.js.map new file mode 100644 index 000000000..eb6d8fc44 --- /dev/null +++ b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.1/bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./a.ts"],"names":[],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;;;;;;;;;;;;ACjFA,SAAY,IAAY;AACpB,WACJ;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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..e03c35628 --- /dev/null +++ b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names + bundle.js 4.89 KiB main [emitted] main +bundle.js.map 3.7 KiB main [emitted] [dev] main +Entrypoint main = bundle.js bundle.js.map +[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-4.1/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..e6b3d92e4 --- /dev/null +++ b/test/comparison-tests/babel-issue92/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _submodule_submodule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.tsx\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_submodule_submodule__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./submodule/submodule.tsx": +/*!*********************************!*\ + !*** ./submodule/submodule.tsx ***! + \*********************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"Hello from submodule\");\n\n//# sourceURL=webpack:///./submodule/submodule.tsx?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-4.1/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..d703f9d74 --- /dev/null +++ b/test/comparison-tests/babel-issue92/expectedOutput-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.58 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 72 bytes {main} [built] +[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..e6b3d92e4 --- /dev/null +++ b/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _submodule_submodule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.tsx\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_submodule_submodule__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./submodule/submodule.tsx": +/*!*********************************!*\ + !*** ./submodule/submodule.tsx ***! + \*********************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"Hello from submodule\");\n\n//# sourceURL=webpack:///./submodule/submodule.tsx?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..d703f9d74 --- /dev/null +++ b/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.58 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 72 bytes {main} [built] +[./submodule/submodule.tsx] 38 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.1/bundle.js b/test/comparison-tests/basic/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..1780017e3 --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-4.1/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.1/output.txt b/test/comparison-tests/basic/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..f33d2f14a --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} [built] +[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..69c4dcc59 --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..9fac8da0d --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 170 bytes {main} [built] [1 error] +[./lib/externalLib.js] 55 bytes {main} +[./submodule/submodule.ts] 149 bytes {main} + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,13) + TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..1780017e3 --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..1afd1cf5f --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} +[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/basic/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..05355f590 --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/basic/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..77bfaf8ba --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.87 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} [built] +[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..8cc47b54f --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..82749e570 --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.87 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 206 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} +[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..05355f590 --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..1d7ef7e16 --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.87 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} +[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-4.1/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-4.1/0.bundle.js new file mode 100644 index 000000000..12682a0b5 --- /dev/null +++ b/test/comparison-tests/codeSplitting/expectedOutput-4.1/0.bundle.js @@ -0,0 +1,27 @@ +(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ + +/***/ "./c.ts": +/*!**************!*\ + !*** ./c.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); + +/***/ }), + +/***/ "./d.ts": +/*!**************!*\ + !*** ./d.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); + +/***/ }) + +}]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-4.1/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..fdd55dcd7 --- /dev/null +++ b/test/comparison-tests/codeSplitting/expectedOutput-4.1/bundle.js @@ -0,0 +1,240 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // install a JSONP callback for chunk loading +/******/ function webpackJsonpCallback(data) { +/******/ var chunkIds = data[0]; +/******/ var moreModules = data[1]; +/******/ +/******/ +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0, resolves = []; +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ resolves.push(installedChunks[chunkId][0]); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ for(moduleId in moreModules) { +/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { +/******/ modules[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(parentJsonpFunction) parentJsonpFunction(data); +/******/ +/******/ while(resolves.length) { +/******/ resolves.shift()(); +/******/ } +/******/ +/******/ }; +/******/ +/******/ +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // Promise = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "main": 0 +/******/ }; +/******/ +/******/ +/******/ +/******/ // script path function +/******/ function jsonpScriptSrc(chunkId) { +/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" +/******/ } +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = function requireEnsure(chunkId) { +/******/ var promises = []; +/******/ +/******/ +/******/ // JSONP chunk loading for javascript +/******/ +/******/ var installedChunkData = installedChunks[chunkId]; +/******/ if(installedChunkData !== 0) { // 0 means "already installed". +/******/ +/******/ // a Promise means "currently loading". +/******/ if(installedChunkData) { +/******/ promises.push(installedChunkData[2]); +/******/ } else { +/******/ // setup Promise in chunk cache +/******/ var promise = new Promise(function(resolve, reject) { +/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; +/******/ }); +/******/ promises.push(installedChunkData[2] = promise); +/******/ +/******/ // start chunk loading +/******/ var script = document.createElement('script'); +/******/ var onScriptComplete; +/******/ +/******/ script.charset = 'utf-8'; +/******/ script.timeout = 120; +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ script.src = jsonpScriptSrc(chunkId); +/******/ +/******/ // create error before stack unwound to get useful stacktrace later +/******/ var error = new Error(); +/******/ onScriptComplete = function (event) { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var chunk = installedChunks[chunkId]; +/******/ if(chunk !== 0) { +/******/ if(chunk) { +/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ var realSrc = event && event.target && event.target.src; +/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; +/******/ error.name = 'ChunkLoadError'; +/******/ error.type = errorType; +/******/ error.request = realSrc; +/******/ chunk[1](error); +/******/ } +/******/ installedChunks[chunkId] = undefined; +/******/ } +/******/ }; +/******/ var timeout = setTimeout(function(){ +/******/ onScriptComplete({ type: 'timeout', target: script }); +/******/ }, 120000); +/******/ script.onerror = script.onload = onScriptComplete; +/******/ document.head.appendChild(script); +/******/ } +/******/ } +/******/ return Promise.all(promises); +/******/ }; +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // on error function for async loading +/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; +/******/ +/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; +/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); +/******/ jsonpArray.push = webpackJsonpCallback; +/******/ jsonpArray = jsonpArray.slice(); +/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); +/******/ var parentJsonpFunction = oldJsonpFunction; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./b.ts": +/*!**************!*\ + !*** ./b.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-4.1/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..c7bac7cb8 --- /dev/null +++ b/test/comparison-tests/codeSplitting/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +0.bundle.js 592 bytes 0 [emitted] + bundle.js 9.57 KiB main [emitted] main +Entrypoint main = bundle.js +[./a.ts] 36 bytes {main} [built] +[./app.ts] 589 bytes {main} [built] +[./b.ts] 36 bytes {main} [built] +[./c.ts] 36 bytes {0} [built] +[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.1/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.1/0.bundle.js new file mode 100644 index 000000000..12682a0b5 --- /dev/null +++ b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.1/0.bundle.js @@ -0,0 +1,27 @@ +(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ + +/***/ "./c.ts": +/*!**************!*\ + !*** ./c.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); + +/***/ }), + +/***/ "./d.ts": +/*!**************!*\ + !*** ./d.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); + +/***/ }) + +}]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..8b98434a9 --- /dev/null +++ b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,240 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // install a JSONP callback for chunk loading +/******/ function webpackJsonpCallback(data) { +/******/ var chunkIds = data[0]; +/******/ var moreModules = data[1]; +/******/ +/******/ +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0, resolves = []; +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ resolves.push(installedChunks[chunkId][0]); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ for(moduleId in moreModules) { +/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { +/******/ modules[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(parentJsonpFunction) parentJsonpFunction(data); +/******/ +/******/ while(resolves.length) { +/******/ resolves.shift()(); +/******/ } +/******/ +/******/ }; +/******/ +/******/ +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // Promise = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "main": 0 +/******/ }; +/******/ +/******/ +/******/ +/******/ // script path function +/******/ function jsonpScriptSrc(chunkId) { +/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" +/******/ } +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = function requireEnsure(chunkId) { +/******/ var promises = []; +/******/ +/******/ +/******/ // JSONP chunk loading for javascript +/******/ +/******/ var installedChunkData = installedChunks[chunkId]; +/******/ if(installedChunkData !== 0) { // 0 means "already installed". +/******/ +/******/ // a Promise means "currently loading". +/******/ if(installedChunkData) { +/******/ promises.push(installedChunkData[2]); +/******/ } else { +/******/ // setup Promise in chunk cache +/******/ var promise = new Promise(function(resolve, reject) { +/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; +/******/ }); +/******/ promises.push(installedChunkData[2] = promise); +/******/ +/******/ // start chunk loading +/******/ var script = document.createElement('script'); +/******/ var onScriptComplete; +/******/ +/******/ script.charset = 'utf-8'; +/******/ script.timeout = 120; +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ script.src = jsonpScriptSrc(chunkId); +/******/ +/******/ // create error before stack unwound to get useful stacktrace later +/******/ var error = new Error(); +/******/ onScriptComplete = function (event) { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var chunk = installedChunks[chunkId]; +/******/ if(chunk !== 0) { +/******/ if(chunk) { +/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ var realSrc = event && event.target && event.target.src; +/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; +/******/ error.name = 'ChunkLoadError'; +/******/ error.type = errorType; +/******/ error.request = realSrc; +/******/ chunk[1](error); +/******/ } +/******/ installedChunks[chunkId] = undefined; +/******/ } +/******/ }; +/******/ var timeout = setTimeout(function(){ +/******/ onScriptComplete({ type: 'timeout', target: script }); +/******/ }, 120000); +/******/ script.onerror = script.onload = onScriptComplete; +/******/ document.head.appendChild(script); +/******/ } +/******/ } +/******/ return Promise.all(promises); +/******/ }; +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // on error function for async loading +/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; +/******/ +/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; +/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); +/******/ jsonpArray.push = webpackJsonpCallback; +/******/ jsonpArray = jsonpArray.slice(); +/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); +/******/ var parentJsonpFunction = oldJsonpFunction; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./b.ts": +/*!**************!*\ + !*** ./b.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..010fd9d25 --- /dev/null +++ b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +0.bundle.js 592 bytes 0 [emitted] + bundle.js 9.61 KiB main [emitted] main +Entrypoint main = bundle.js +[./a.ts] 36 bytes {main} [built] +[./app.ts] 625 bytes {main} [built] +[./b.ts] 36 bytes {main} [built] +[./c.ts] 36 bytes {0} [built] +[./d.ts] 36 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-4.1/bundle.js b/test/comparison-tests/colors/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..012797ec7 --- /dev/null +++ b/test/comparison-tests/colors/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nFile was processed with these loaders:/n * ../../index.js/nYou may need an additional loader to handle the result of these loaders./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-4.1/output.txt b/test/comparison-tests/colors/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..117027d85 --- /dev/null +++ b/test/comparison-tests/colors/expectedOutput-4.1/output.txt @@ -0,0 +1,18 @@ + Asset Size Chunks Chunk Names +bundle.js 3.96 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 220 bytes {main} [built] [failed] [2 errors] + +ERROR in ./app.ts 2:1 +Module parse failed: Unexpected token (2:1) +File was processed with these loaders: + * ../../index.js +You may need an additional loader to handle the result of these loaders. +| var a; +> == 0; +| + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(1,7) + TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/colors/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..012797ec7 --- /dev/null +++ b/test/comparison-tests/colors/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nFile was processed with these loaders:/n * ../../index.js/nYou may need an additional loader to handle the result of these loaders./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..117027d85 --- /dev/null +++ b/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,18 @@ + Asset Size Chunks Chunk Names +bundle.js 3.96 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 220 bytes {main} [built] [failed] [2 errors] + +ERROR in ./app.ts 2:1 +Module parse failed: Unexpected token (2:1) +File was processed with these loaders: + * ../../index.js +You may need an additional loader to handle the result of these loaders. +| var a; +> == 0; +| + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(1,7) + TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-4.1/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..c37024a15 --- /dev/null +++ b/test/comparison-tests/conditionalRequire/expectedOutput-4.1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-4.1/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..99287c682 --- /dev/null +++ b/test/comparison-tests/conditionalRequire/expectedOutput-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 4.02 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 312 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..afcf0e698 --- /dev/null +++ b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..cd9f0fd10 --- /dev/null +++ b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 4.06 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 348 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..bd06df038 --- /dev/null +++ b/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/bundle.js @@ -0,0 +1,79 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; + +/******/ // The require function +/******/ function __webpack_require__(moduleId) { + +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) +/******/ return installedModules[moduleId].exports; + +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; + +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); + +/******/ // Flag the module as loaded +/******/ module.l = true; + +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } + + +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; + +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; + +/******/ // identity function for calling harmony imports with the correct context +/******/ __webpack_require__.i = function(value) { return value; }; + +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { +/******/ configurable: false, +/******/ enumerable: true, +/******/ get: getter +/******/ }); +/******/ } +/******/ }; + +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; + +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; + +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; + +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 0); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +console.log(1 /* Bar */); + + +/***/ }) +/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..f03c54463 --- /dev/null +++ b/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 2.57 kB 0 [emitted] main +chunk {0} bundle.js (main) 40 bytes [entry] [rendered] + [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..f06a7bba3 --- /dev/null +++ b/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,52 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; + +/******/ // The require function +/******/ function __webpack_require__(moduleId) { + +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) +/******/ return installedModules[moduleId].exports; + +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ exports: {}, +/******/ id: moduleId, +/******/ loaded: false +/******/ }; + +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); + +/******/ // Flag the module as loaded +/******/ module.loaded = true; + +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } + + +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; + +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; + +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; + +/******/ // Load entry module and return exports +/******/ return __webpack_require__(0); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */ +/***/ function(module, exports) { + + "use strict"; + console.log(2 /* Bar */); + + +/***/ } +/******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..c3c074468 --- /dev/null +++ b/test/comparison-tests/constEnumReExportWatch/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 1.43 kB 0 [emitted] main +chunk {0} bundle.js (main) 40 bytes [rendered] + [0] ./.test/constEnumReExportWatch/app.ts 40 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..98f9ec82e --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..9977baa4b --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..a659b2234 --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..2ab5de1d6 --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..5cb90e8ac --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..9977baa4b --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..98f9ec82e --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..9977baa4b --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..a659b2234 --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..2ab5de1d6 --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..5cb90e8ac --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..9977baa4b --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..98f9ec82e --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..9977baa4b --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..a659b2234 --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..2ab5de1d6 --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..5cb90e8ac --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..9977baa4b --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..98f9ec82e --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..9977baa4b --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..a659b2234 --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..2ab5de1d6 --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 55 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..5cb90e8ac --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..9977baa4b --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.79 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 54 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-4.1/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..2be063c80 --- /dev/null +++ b/test/comparison-tests/declarationDeps/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("Hello.sayHello('Hi');\nHello.sayHi('Hi');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..31af3d0b6 --- /dev/null +++ b/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +bundle.js 3.78 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 41 bytes {main} [built] [1 error] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(2,7) + TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..2be063c80 --- /dev/null +++ b/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("Hello.sayHello('Hi');\nHello.sayHi('Hi');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..568a977d3 --- /dev/null +++ b/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.78 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 41 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.1/.output/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-4.1/.output/app.d.ts new file mode 100644 index 000000000..42c1b770a --- /dev/null +++ b/test/comparison-tests/declarationOutput/expectedOutput-4.1/.output/app.d.ts @@ -0,0 +1,5 @@ +import dep = require('./sub/dep'); +declare class Test extends dep { + doSomething(): void; +} +export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.1/.output/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-4.1/.output/sub/dep.d.ts new file mode 100644 index 000000000..0d9a53ad0 --- /dev/null +++ b/test/comparison-tests/declarationOutput/expectedOutput-4.1/.output/sub/dep.d.ts @@ -0,0 +1,4 @@ +declare class Test { + doSomething(): void; +} +export = Test; diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.1/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..66229e8d6 --- /dev/null +++ b/test/comparison-tests/declarationOutput/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./sub/dep.ts": +/*!********************!*\ + !*** ./sub/dep.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.1/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..33cc842ad --- /dev/null +++ b/test/comparison-tests/declarationOutput/expectedOutput-4.1/output.txt @@ -0,0 +1,7 @@ + Asset Size Chunks Chunk Names + .output/app.d.ts 110 bytes [emitted] +.output/sub/dep.d.ts 63 bytes [emitted] + bundle.js 5.16 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 934 bytes {main} [built] +[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/app.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/app.d.ts new file mode 100644 index 000000000..dffb18358 --- /dev/null +++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/app.d.ts @@ -0,0 +1,6 @@ +import dep = require('./sub/dep'); +declare class Test extends dep { + doSomething(): void; +} +export = Test; +//# sourceMappingURL=app.d.ts.map \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/app.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/app.d.ts.map new file mode 100644 index 000000000..48bc3c227 --- /dev/null +++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/app.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,GAAG,QAAQ,WAAW,CAAC,CAAC;AAElC,cAAM,IAAK,SAAQ,GAAG;IACrB,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/sub/dep.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/sub/dep.d.ts new file mode 100644 index 000000000..5708986f8 --- /dev/null +++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/sub/dep.d.ts @@ -0,0 +1,5 @@ +declare class Test { + doSomething(): void; +} +export = Test; +//# sourceMappingURL=dep.d.ts.map \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/sub/dep.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/sub/dep.d.ts.map new file mode 100644 index 000000000..9da4dc7f3 --- /dev/null +++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/.output/sub/dep.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"dep.d.ts","sourceRoot":"","sources":["../../sub/dep.ts"],"names":[],"mappings":"AACA,cAAM,IAAI;IACT,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/bundle.js b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..66229e8d6 --- /dev/null +++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./sub/dep.ts": +/*!********************!*\ + !*** ./sub/dep.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/output.txt b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..45b149586 --- /dev/null +++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + .output/app.d.ts 143 bytes [emitted] + .output/app.d.ts.map 197 bytes [emitted] + .output/sub/dep.d.ts 96 bytes [emitted] +.output/sub/dep.d.ts.map 152 bytes [emitted] + bundle.js 5.16 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 934 bytes {main} [built] +[./sub/dep.ts] 182 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..79d3f4450 --- /dev/null +++ b/test/comparison-tests/declarationWatch/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..c9b617373 --- /dev/null +++ b/test/comparison-tests/declarationWatch/expectedOutput-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.18 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 108 bytes {main} [built] +[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..79d3f4450 --- /dev/null +++ b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..f818ddc7c --- /dev/null +++ b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names +bundle.js 4.18 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 108 bytes {main} [built] [1 error] +[./dep.ts] 59 bytes {main} [built] [1 error] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(5,7) + TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. + +ERROR in dep.ts +./dep.ts +[tsl] ERROR in dep.ts(1,7) + TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..79d3f4450 --- /dev/null +++ b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..c9b617373 --- /dev/null +++ b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.18 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 108 bytes {main} [built] +[./dep.ts] 59 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..36ba9c651 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep1.ts": +/*!*****************!*\ + !*** ./dep1.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); + +/***/ }), + +/***/ "./dep2.ts": +/*!*****************!*\ + !*** ./dep2.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..9bf366413 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt @@ -0,0 +1,16 @@ + Asset Size Chunks Chunk Names +bundle.js 4.56 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 121 bytes {main} [built] [2 errors] +[./dep1.ts] 76 bytes {main} [built] +[./dep2.ts] 76 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(4,6) + TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(5,6) + TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..36ba9c651 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep1.ts": +/*!*****************!*\ + !*** ./dep1.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); + +/***/ }), + +/***/ "./dep2.ts": +/*!*****************!*\ + !*** ./dep2.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..f4ea07b34 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.56 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 121 bytes {main} [built] [1 error] +[./dep1.ts] 76 bytes {main} [built] +[./dep2.ts] 76 bytes {main} + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(5,6) + TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..331e05118 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep1.ts": +/*!*****************!*\ + !*** ./dep1.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); + +/***/ }), + +/***/ "./dep2.ts": +/*!*****************!*\ + !*** ./dep2.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..13aad10d4 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.6 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 157 bytes {main} [built] +[./dep1.ts] 76 bytes {main} [built] +[./dep2.ts] 76 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..331e05118 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep1.ts": +/*!*****************!*\ + !*** ./dep1.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); + +/***/ }), + +/***/ "./dep2.ts": +/*!*****************!*\ + !*** ./dep2.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..b69ba60ea --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.6 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 157 bytes {main} +[./dep1.ts] 76 bytes {main} [built] +[./dep2.ts] 76 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-4.1/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..02dd408f1 --- /dev/null +++ b/test/comparison-tests/errorFormatter/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/components/myComponent.ts": +/*!******************************************!*\ + !*** ./common/components/myComponent.ts ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..ce9b05006 --- /dev/null +++ b/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +bundle.js 4.33 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 120 bytes {main} [built] [1 error] +[./common/components/myComponent.ts] 46 bytes {main} [built] + +ERROR in app.ts +./app.ts +Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2' or its corresponding type declarations.,file: app.ts,line: 2,character: 31,context: .test/errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..4bcb44dd6 --- /dev/null +++ b/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/components/myComponent.ts": +/*!******************************************!*\ + !*** ./common/components/myComponent.ts ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..52173a13f --- /dev/null +++ b/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 156 bytes {main} [built] +[./common/components/myComponent.ts] 46 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-4.1/bundle.js b/test/comparison-tests/errors/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..012797ec7 --- /dev/null +++ b/test/comparison-tests/errors/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nFile was processed with these loaders:/n * ../../index.js/nYou may need an additional loader to handle the result of these loaders./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-4.1/output.txt b/test/comparison-tests/errors/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..c48ec99d2 --- /dev/null +++ b/test/comparison-tests/errors/expectedOutput-4.1/output.txt @@ -0,0 +1,18 @@ + Asset Size Chunks Chunk Names +bundle.js 3.96 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 220 bytes {main} [built] [failed] [2 errors] + +ERROR in ./app.ts 2:1 +Module parse failed: Unexpected token (2:1) +File was processed with these loaders: + * ../../index.js +You may need an additional loader to handle the result of these loaders. +| var a; +> == 0; +| + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(1,7) + TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/errors/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..012797ec7 --- /dev/null +++ b/test/comparison-tests/errors/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nFile was processed with these loaders:/n * ../../index.js/nYou may need an additional loader to handle the result of these loaders./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..ffab7fca9 --- /dev/null +++ b/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,18 @@ + Asset Size Chunks Chunk Names +bundle.js 3.96 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 220 bytes {main} [built] [failed] [2 errors] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(1,7) + TS1005: ',' expected. + +ERROR in ./app.ts 2:1 +Module parse failed: Unexpected token (2:1) +File was processed with these loaders: + * ../../index.js +You may need an additional loader to handle the result of these loaders. +| var a; +> == 0; +| \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-4.1/bundle.js b/test/comparison-tests/es3/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..1ccaf64d6 --- /dev/null +++ b/test/comparison-tests/es3/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-4.1/output.txt b/test/comparison-tests/es3/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..12a3418dd --- /dev/null +++ b/test/comparison-tests/es3/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +bundle.js 3.76 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 29 bytes {main} [built] [1 error] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(1,7) + TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/es3/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..1ccaf64d6 --- /dev/null +++ b/test/comparison-tests/es3/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/es3/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..d51d7f174 --- /dev/null +++ b/test/comparison-tests/es3/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.76 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 29 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-4.1/bundle.js b/test/comparison-tests/es5/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..9e16aea65 --- /dev/null +++ b/test/comparison-tests/es5/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("({ get x() { return 1; } });\nvar mapsDontExistYet = new Map();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-4.1/output.txt b/test/comparison-tests/es5/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..67449578b --- /dev/null +++ b/test/comparison-tests/es5/expectedOutput-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.8 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 63 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/es5/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..9e16aea65 --- /dev/null +++ b/test/comparison-tests/es5/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("({ get x() { return 1; } });\nvar mapsDontExistYet = new Map();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/es5/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..67449578b --- /dev/null +++ b/test/comparison-tests/es5/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.8 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 63 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-4.1/bundle.js b/test/comparison-tests/es6/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..6b32b06c7 --- /dev/null +++ b/test/comparison-tests/es6/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("({ get x() { return 1; } });\nSymbol;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-4.1/output.txt b/test/comparison-tests/es6/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..e60b401c7 --- /dev/null +++ b/test/comparison-tests/es6/expectedOutput-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.77 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/es6/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..6b32b06c7 --- /dev/null +++ b/test/comparison-tests/es6/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("({ get x() { return 1; } });\nSymbol;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/es6/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..e60b401c7 --- /dev/null +++ b/test/comparison-tests/es6/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.77 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 37 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-4.1/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-4.1/0.bundle.js new file mode 100644 index 000000000..9a5b38037 --- /dev/null +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-4.1/0.bundle.js @@ -0,0 +1,27 @@ +(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ + +/***/ "./c.ts": +/*!**************!*\ + !*** ./c.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); + +/***/ }), + +/***/ "./d.ts": +/*!**************!*\ + !*** ./d.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); + +/***/ }) + +}]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-4.1/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..4cccbf92f --- /dev/null +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-4.1/bundle.js @@ -0,0 +1,240 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // install a JSONP callback for chunk loading +/******/ function webpackJsonpCallback(data) { +/******/ var chunkIds = data[0]; +/******/ var moreModules = data[1]; +/******/ +/******/ +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0, resolves = []; +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ resolves.push(installedChunks[chunkId][0]); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ for(moduleId in moreModules) { +/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { +/******/ modules[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(parentJsonpFunction) parentJsonpFunction(data); +/******/ +/******/ while(resolves.length) { +/******/ resolves.shift()(); +/******/ } +/******/ +/******/ }; +/******/ +/******/ +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // Promise = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "main": 0 +/******/ }; +/******/ +/******/ +/******/ +/******/ // script path function +/******/ function jsonpScriptSrc(chunkId) { +/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" +/******/ } +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = function requireEnsure(chunkId) { +/******/ var promises = []; +/******/ +/******/ +/******/ // JSONP chunk loading for javascript +/******/ +/******/ var installedChunkData = installedChunks[chunkId]; +/******/ if(installedChunkData !== 0) { // 0 means "already installed". +/******/ +/******/ // a Promise means "currently loading". +/******/ if(installedChunkData) { +/******/ promises.push(installedChunkData[2]); +/******/ } else { +/******/ // setup Promise in chunk cache +/******/ var promise = new Promise(function(resolve, reject) { +/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; +/******/ }); +/******/ promises.push(installedChunkData[2] = promise); +/******/ +/******/ // start chunk loading +/******/ var script = document.createElement('script'); +/******/ var onScriptComplete; +/******/ +/******/ script.charset = 'utf-8'; +/******/ script.timeout = 120; +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ script.src = jsonpScriptSrc(chunkId); +/******/ +/******/ // create error before stack unwound to get useful stacktrace later +/******/ var error = new Error(); +/******/ onScriptComplete = function (event) { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var chunk = installedChunks[chunkId]; +/******/ if(chunk !== 0) { +/******/ if(chunk) { +/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ var realSrc = event && event.target && event.target.src; +/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; +/******/ error.name = 'ChunkLoadError'; +/******/ error.type = errorType; +/******/ error.request = realSrc; +/******/ chunk[1](error); +/******/ } +/******/ installedChunks[chunkId] = undefined; +/******/ } +/******/ }; +/******/ var timeout = setTimeout(function(){ +/******/ onScriptComplete({ type: 'timeout', target: script }); +/******/ }, 120000); +/******/ script.onerror = script.onload = onScriptComplete; +/******/ document.head.appendChild(script); +/******/ } +/******/ } +/******/ return Promise.all(promises); +/******/ }; +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // on error function for async loading +/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; +/******/ +/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; +/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); +/******/ jsonpArray.push = webpackJsonpCallback; +/******/ jsonpArray = jsonpArray.slice(); +/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); +/******/ var parentJsonpFunction = oldJsonpFunction; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./b.ts": +/*!**************!*\ + !*** ./b.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-4.1/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..e9af4df21 --- /dev/null +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +0.bundle.js 726 bytes 0 [emitted] + bundle.js 10.1 KiB main [emitted] main +Entrypoint main = bundle.js +[./a.ts] 100 bytes {main} [built] +[./app.ts] 1020 bytes {main} [built] +[./b.ts] 100 bytes {main} [built] +[./c.ts] 100 bytes {0} [built] +[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.1/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.1/0.bundle.js new file mode 100644 index 000000000..9a5b38037 --- /dev/null +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.1/0.bundle.js @@ -0,0 +1,27 @@ +(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ + +/***/ "./c.ts": +/*!**************!*\ + !*** ./c.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); + +/***/ }), + +/***/ "./d.ts": +/*!**************!*\ + !*** ./d.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); + +/***/ }) + +}]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..4cccbf92f --- /dev/null +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,240 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // install a JSONP callback for chunk loading +/******/ function webpackJsonpCallback(data) { +/******/ var chunkIds = data[0]; +/******/ var moreModules = data[1]; +/******/ +/******/ +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0, resolves = []; +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ resolves.push(installedChunks[chunkId][0]); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ for(moduleId in moreModules) { +/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { +/******/ modules[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(parentJsonpFunction) parentJsonpFunction(data); +/******/ +/******/ while(resolves.length) { +/******/ resolves.shift()(); +/******/ } +/******/ +/******/ }; +/******/ +/******/ +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // Promise = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "main": 0 +/******/ }; +/******/ +/******/ +/******/ +/******/ // script path function +/******/ function jsonpScriptSrc(chunkId) { +/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" +/******/ } +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = function requireEnsure(chunkId) { +/******/ var promises = []; +/******/ +/******/ +/******/ // JSONP chunk loading for javascript +/******/ +/******/ var installedChunkData = installedChunks[chunkId]; +/******/ if(installedChunkData !== 0) { // 0 means "already installed". +/******/ +/******/ // a Promise means "currently loading". +/******/ if(installedChunkData) { +/******/ promises.push(installedChunkData[2]); +/******/ } else { +/******/ // setup Promise in chunk cache +/******/ var promise = new Promise(function(resolve, reject) { +/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; +/******/ }); +/******/ promises.push(installedChunkData[2] = promise); +/******/ +/******/ // start chunk loading +/******/ var script = document.createElement('script'); +/******/ var onScriptComplete; +/******/ +/******/ script.charset = 'utf-8'; +/******/ script.timeout = 120; +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ script.src = jsonpScriptSrc(chunkId); +/******/ +/******/ // create error before stack unwound to get useful stacktrace later +/******/ var error = new Error(); +/******/ onScriptComplete = function (event) { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var chunk = installedChunks[chunkId]; +/******/ if(chunk !== 0) { +/******/ if(chunk) { +/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ var realSrc = event && event.target && event.target.src; +/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; +/******/ error.name = 'ChunkLoadError'; +/******/ error.type = errorType; +/******/ error.request = realSrc; +/******/ chunk[1](error); +/******/ } +/******/ installedChunks[chunkId] = undefined; +/******/ } +/******/ }; +/******/ var timeout = setTimeout(function(){ +/******/ onScriptComplete({ type: 'timeout', target: script }); +/******/ }, 120000); +/******/ script.onerror = script.onload = onScriptComplete; +/******/ document.head.appendChild(script); +/******/ } +/******/ } +/******/ return Promise.all(promises); +/******/ }; +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // on error function for async loading +/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; +/******/ +/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; +/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); +/******/ jsonpArray.push = webpackJsonpCallback; +/******/ jsonpArray = jsonpArray.slice(); +/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); +/******/ var parentJsonpFunction = oldJsonpFunction; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./b.ts": +/*!**************!*\ + !*** ./b.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..e9af4df21 --- /dev/null +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +0.bundle.js 726 bytes 0 [emitted] + bundle.js 10.1 KiB main [emitted] main +Entrypoint main = bundle.js +[./a.ts] 100 bytes {main} [built] +[./app.ts] 1020 bytes {main} [built] +[./b.ts] 100 bytes {main} [built] +[./c.ts] 100 bytes {0} [built] +[./d.ts] 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-4.1/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..2ecaec7ac --- /dev/null +++ b/test/comparison-tests/es6withCJS/expectedOutput-4.1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-4.1/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..d5765659c --- /dev/null +++ b/test/comparison-tests/es6withCJS/expectedOutput-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.86 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..2ecaec7ac --- /dev/null +++ b/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..d5765659c --- /dev/null +++ b/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.86 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 100 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-4.1/bundle.js b/test/comparison-tests/externals/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..008e763d4 --- /dev/null +++ b/test/comparison-tests/externals/expectedOutput-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "hello": +/*!************************!*\ + !*** external "hello" ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = hello;\n\n//# sourceURL=webpack:///external_%22hello%22?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-4.1/output.txt b/test/comparison-tests/externals/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..31d7acc68 --- /dev/null +++ b/test/comparison-tests/externals/expectedOutput-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.15 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 106 bytes {main} [built] +[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/externals/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..3595e0ba6 --- /dev/null +++ b/test/comparison-tests/externals/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "hello": +/*!************************!*\ + !*** external "hello" ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = hello;\n\n//# sourceURL=webpack:///external_%22hello%22?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/externals/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..e71d89dc0 --- /dev/null +++ b/test/comparison-tests/externals/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.19 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 142 bytes {main} [built] +[hello] external "hello" 42 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-4.1/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..c9f87f770 --- /dev/null +++ b/test/comparison-tests/html-webpack-plugin/expectedOutput-4.1/bundle.js @@ -0,0 +1,85 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { +/******/ configurable: false, +/******/ enumerable: true, +/******/ get: getter +/******/ }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("console.log(\"hello\");\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-4.1/index.html b/test/comparison-tests/html-webpack-plugin/expectedOutput-4.1/index.html new file mode 100644 index 000000000..866dfa443 --- /dev/null +++ b/test/comparison-tests/html-webpack-plugin/expectedOutput-4.1/index.html @@ -0,0 +1,9 @@ + + + + + Webpack App + + + + \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-4.1/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..55defee69 --- /dev/null +++ b/test/comparison-tests/html-webpack-plugin/expectedOutput-4.1/output.txt @@ -0,0 +1,14 @@ +Built at: 2018-3-18 09:18:12 + Asset Size Chunks Chunk Names + bundle.js 2.8 KiB main [emitted] main +index.html 190 bytes [emitted] +Entrypoint main = bundle.js +[./app.ts] 22 bytes {main} [built] +Child html-webpack-plugin for "index.html": + Asset Size Chunks Chunk Names + index.html 550 KiB 0 + Entrypoint undefined = index.html + [../../node_modules/html-webpack-plugin/lib/loader.js!./index.html] /node_modules/html-webpack-plugin/lib/loader.js!./index.html 509 bytes {0} [built] + [../../node_modules/lodash/lodash.js] /node_modules/lodash/lodash.js 527 KiB {0} [built] + [../../node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built] + [../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..dba64e8d1 --- /dev/null +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.Foo = void 0;\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..bcc531083 --- /dev/null +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +bundle.js 4.04 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 278 bytes {main} [built] [1 error] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(9,5) + TS2322: Type 'string' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..dba64e8d1 --- /dev/null +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.Foo = void 0;\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..ba753d04e --- /dev/null +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 4.04 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 278 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.1/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..93a3017f9 --- /dev/null +++ b/test/comparison-tests/importsWatch/expectedOutput-4.1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..41a3f8c48 --- /dev/null +++ b/test/comparison-tests/importsWatch/expectedOutput-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..93a3017f9 --- /dev/null +++ b/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..5773b734b --- /dev/null +++ b/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +bundle.js 3.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 70 bytes {main} [built] [1 error] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(4,1) + TS2322: Type 'string' is not assignable to type 'boolean'. \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-4.1/bundle.js b/test/comparison-tests/instance/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..ca4accdbc --- /dev/null +++ b/test/comparison-tests/instance/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: /instance/i-dont-exist/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-4.1/output.txt b/test/comparison-tests/instance/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..09690c0b5 --- /dev/null +++ b/test/comparison-tests/instance/expectedOutput-4.1/output.txt @@ -0,0 +1,20 @@ + Asset Size Chunks Chunk Names +bundle.js 4 KiB a [emitted] a +Entrypoint a = bundle.js +Entrypoint b = +[./a.ts] 276 bytes {a} [built] [failed] [1 error] +[./b.ts] 276 bytes {b} [built] [failed] [1 error] + +ERROR in ./a.ts +Module build failed (from index.js): +Error: A file specified in tsconfig.json could not be found: i-dont-exist + at Object.loader (dist/index.js:18:18) + +ERROR in ./b.ts +Module build failed (from index.js): +Error: A file specified in tsconfig.json could not be found: i-dont-exist + at Object.loader (dist/index.js:18:18) + +ERROR in chunk b [entry] +bundle.js +Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/instance/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..93b129d61 --- /dev/null +++ b/test/comparison-tests/instance/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: /instance.transpile/i-dont-exist/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..1da55bdfe --- /dev/null +++ b/test/comparison-tests/instance/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,20 @@ + Asset Size Chunks Chunk Names +bundle.js 4.01 KiB a [emitted] a +Entrypoint a = bundle.js +Entrypoint b = +[./a.ts] 286 bytes {a} [built] [failed] [1 error] +[./b.ts] 286 bytes {b} [built] [failed] [1 error] + +ERROR in ./a.ts +Module build failed (from index.js): +Error: A file specified in tsconfig.json could not be found: i-dont-exist + at Object.loader (dist/index.js:18:18) + +ERROR in ./b.ts +Module build failed (from index.js): +Error: A file specified in tsconfig.json could not be found: i-dont-exist + at Object.loader (dist/index.js:18:18) + +ERROR in chunk b [entry] +bundle.js +Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-4.1/bundle.js b/test/comparison-tests/issue372/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..4ae1e2d80 --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-4.1/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./foo.ts": +/*!****************!*\ + !*** ./foo.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-4.1/output.txt b/test/comparison-tests/issue372/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..431cfdbba --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.59 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 110 bytes {main} [built] +[./foo.ts] 110 bytes {main} [built] +[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..9a3ff474a --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./foo.ts": +/*!****************!*\ + !*** ./foo.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..f6a943a2e --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.6 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 117 bytes {main} [built] +[./foo.ts] 110 bytes {main} +[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/issue372/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..2dee6da5f --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./foo.ts": +/*!****************!*\ + !*** ./foo.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/issue372/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..a82456bf5 --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.67 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 146 bytes {main} [built] +[./foo.ts] 146 bytes {main} [built] +[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..180fedde6 --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./foo.ts": +/*!****************!*\ + !*** ./foo.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..e77a79930 --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.67 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 153 bytes {main} [built] +[./foo.ts] 146 bytes {main} +[./node_modules/a/index.js] 21 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..93a3017f9 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-4.1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/output.txt b/test/comparison-tests/issue441/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..41a3f8c48 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..93a3017f9 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..41a3f8c48 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..93a3017f9 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..41a3f8c48 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..93a3017f9 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..41a3f8c48 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..93a3017f9 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..41a3f8c48 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..93a3017f9 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..41a3f8c48 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-4.1/bundle.js b/test/comparison-tests/issue71/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..017549af0 --- /dev/null +++ b/test/comparison-tests/issue71/expectedOutput-4.1/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./b.ts": +/*!**************!*\ + !*** ./b.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-4.1/output.txt b/test/comparison-tests/issue71/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..e5ab4f9de --- /dev/null +++ b/test/comparison-tests/issue71/expectedOutput-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.51 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 119 bytes {main} [built] +[./b.ts] 36 bytes {main} [built] +[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.1/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..8c4f47ecc --- /dev/null +++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./fake.ts": +/*!*****************!*\ + !*** ./fake.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.sayHello = void 0;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.1/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..7d8a40542 --- /dev/null +++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.29 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 101 bytes {main} [built] +[./fake.ts] 160 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..4afe29aa9 --- /dev/null +++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./fake.ts": +/*!*****************!*\ + !*** ./fake.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sayHello = void 0;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..ce5ae6a72 --- /dev/null +++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.36 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 137 bytes {main} [built] +[./fake.ts] 196 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-4.1/bundle.js b/test/comparison-tests/node/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..f53a6e29c --- /dev/null +++ b/test/comparison-tests/node/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/// \n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-4.1/output.txt b/test/comparison-tests/node/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..9f23dfb3d --- /dev/null +++ b/test/comparison-tests/node/expectedOutput-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.8 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 67 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/node/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..f53a6e29c --- /dev/null +++ b/test/comparison-tests/node/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/// \n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/node/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..9f23dfb3d --- /dev/null +++ b/test/comparison-tests/node/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.8 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 67 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..9d75ab1f4 --- /dev/null +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.ts": +/*!*********************************!*\ + !*** ./node_modules/a/index.ts ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..889006393 --- /dev/null +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.1/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names +bundle.js 4.82 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 79 bytes {main} [built] +[./node_modules/a/index.ts] 659 bytes {main} [built] [failed] [1 error] + +ERROR in ./node_modules/a/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules. +You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. +See: https://github.com/Microsoft/TypeScript/issues/12358 + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..979f48b90 --- /dev/null +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.ts": +/*!*********************************!*\ + !*** ./node_modules/a/index.ts ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar elephant = \"In the room\";\nmodule.exports = elephant;\n\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..6c09e2a2f --- /dev/null +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.3 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 115 bytes {main} [built] +[./node_modules/a/index.ts] 71 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-4.1/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..f62c9cd64 --- /dev/null +++ b/test/comparison-tests/nodeResolution/expectedOutput-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-4.1/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..72c093c0e --- /dev/null +++ b/test/comparison-tests/nodeResolution/expectedOutput-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.19 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 79 bytes {main} [built] +[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..0435d4e90 --- /dev/null +++ b/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..c411fc347 --- /dev/null +++ b/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.23 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 115 bytes {main} [built] +[./node_modules/a/index.js] 21 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-4.1/bundle.js b/test/comparison-tests/nolib/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..2579b12ff --- /dev/null +++ b/test/comparison-tests/nolib/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("parseInt('10');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-4.1/output.txt b/test/comparison-tests/nolib/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..8c8e530d0 --- /dev/null +++ b/test/comparison-tests/nolib/expectedOutput-4.1/output.txt @@ -0,0 +1,37 @@ + Asset Size Chunks Chunk Names +bundle.js 3.75 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 16 bytes {main} [built] [1 error] + +ERROR in tsconfig.json +[tsl] ERROR + TS2318: Cannot find global type 'Array'. + +ERROR in tsconfig.json +[tsl] ERROR + TS2318: Cannot find global type 'Boolean'. + +ERROR in tsconfig.json +[tsl] ERROR + TS2318: Cannot find global type 'Function'. + +ERROR in tsconfig.json +[tsl] ERROR + TS2318: Cannot find global type 'IArguments'. + +ERROR in tsconfig.json +[tsl] ERROR + TS2318: Cannot find global type 'Number'. + +ERROR in tsconfig.json +[tsl] ERROR + TS2318: Cannot find global type 'Object'. + +ERROR in tsconfig.json +[tsl] ERROR + TS2318: Cannot find global type 'RegExp'. + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(1,1) + TS2304: Cannot find name 'parseInt'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/nolib/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..2579b12ff --- /dev/null +++ b/test/comparison-tests/nolib/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("parseInt('10');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/nolib/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..ee4d4ca16 --- /dev/null +++ b/test/comparison-tests/nolib/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.75 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 16 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-4.1/bundle.js b/test/comparison-tests/npmLink/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..287c4a520 --- /dev/null +++ b/test/comparison-tests/npmLink/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../../test/comparison-tests/testLib/foo.ts": +/*!******************************************************************!*\ + !*** /workspaces/ts-loader/test/comparison-tests/testLib/foo.ts ***! + \******************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:////workspaces/ts-loader/test/comparison-tests/testLib/foo.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-4.1/output.txt b/test/comparison-tests/npmLink/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..e139e212a --- /dev/null +++ b/test/comparison-tests/npmLink/expectedOutput-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.45 KiB main [emitted] main +Entrypoint main = bundle.js +[../../test/comparison-tests/testLib/foo.ts] test/comparison-tests/testLib/foo.ts 69 bytes {main} [built] +[./app.ts] 104 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..dee869d56 --- /dev/null +++ b/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../../test/comparison-tests/testLib/foo.ts": +/*!******************************************************************!*\ + !*** /workspaces/ts-loader/test/comparison-tests/testLib/foo.ts ***! + \******************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'foo';\n\n\n//# sourceURL=webpack:////workspaces/ts-loader/test/comparison-tests/testLib/foo.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1.default);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..875e3d2db --- /dev/null +++ b/test/comparison-tests/npmLink/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.52 KiB main [emitted] main +Entrypoint main = bundle.js +[../../test/comparison-tests/testLib/foo.ts] test/comparison-tests/testLib/foo.ts 102 bytes {main} [built] +[./app.ts] 137 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..1780017e3 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..f33d2f14a --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} [built] +[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..69c4dcc59 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..9fac8da0d --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 170 bytes {main} [built] [1 error] +[./lib/externalLib.js] 55 bytes {main} +[./submodule/submodule.ts] 149 bytes {main} + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,13) + TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..1780017e3 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..1afd1cf5f --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.83 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} +[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..05355f590 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..77bfaf8ba --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.87 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} [built] +[./submodule/submodule.ts] 149 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..8cc47b54f --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..82749e570 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.87 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 206 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} +[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..05355f590 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..1d7ef7e16 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.87 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/externalLib.js] 55 bytes {main} +[./submodule/submodule.ts] 149 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..cc58e783f --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..63e64ec8d --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.25 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 111 bytes {main} [built] +[./message.ts] 102 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..cc58e783f --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..d4ef941a2 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.25 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 111 bytes {main} [built] +[./message.ts] 102 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..cc58e783f --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..63e64ec8d --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.25 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 111 bytes {main} [built] +[./message.ts] 102 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..fa5830a76 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..3acbead76 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.33 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 147 bytes {main} [built] +[./message.ts] 138 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..fa5830a76 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..18a8c9e84 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.33 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 147 bytes {main} [built] +[./message.ts] 138 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..fa5830a76 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..28dfe5d87 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.33 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 147 bytes {main} +[./message.ts] 138 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-4.1/output.txt b/test/comparison-tests/production/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..63923ad42 --- /dev/null +++ b/test/comparison-tests/production/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +bundle.js 930 bytes 0 main +Entrypoint main = bundle.js +[0] ./app.ts 27 bytes {0} [built] [1 error] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(4,1) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/production/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..4cfdd438e --- /dev/null +++ b/test/comparison-tests/production/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1 @@ +!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t){}]); \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/production/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..35ec561d3 --- /dev/null +++ b/test/comparison-tests/production/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 930 bytes 0 [emitted] main +Entrypoint main = bundle.js +[0] ./app.ts 27 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferences/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferences/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.1/lib/index.js.map b/test/comparison-tests/projectReferences/expectedOutput-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferences/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferences/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..ceca3b200 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/index.js.map b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..e72c6046a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/bundle.js @@ -0,0 +1,123 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/common/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/common/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/common/index.js new file mode 100644 index 000000000..c561b2cc0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 30; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..94c944e85 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/indirectWithError/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2fbc0b6ed --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/indirectWithError/tsconfig.tsbuildinfo @@ -0,0 +1,87 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./fileWithError.ts", + [ + { + "file": "./fileWithError.ts", + "start": 36, + "length": 13, + "code": 2322, + "category": 1, + "messageText": "Type 'boolean' is not assignable to type 'string'." + } + ] + ], + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./fileWithError.ts", + 1 + ], + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2fbc0b6ed --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,87 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./fileWithError.ts", + [ + { + "file": "./fileWithError.ts", + "start": 36, + "length": 13, + "code": 2322, + "category": 1, + "messageText": "Type 'boolean' is not assignable to type 'string'." + } + ] + ], + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./fileWithError.ts", + 1 + ], + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..4345c98ee --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/output.txt @@ -0,0 +1,41 @@ + Asset Size Chunks Chunk Names + bundle.js 5.43 KiB main [emitted] main + common/index.d.ts 42 bytes [emitted] + common/index.js 128 bytes [emitted] + common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + indirectWithError/tsconfig.tsbuildinfo 3.1 KiB [emitted] + lib/tsconfig.tsbuildinfo 3.1 KiB [emitted] + unreferenced/index.d.ts 48 bytes [emitted] + unreferenced/index.js 169 bytes [emitted] + unreferenced/tsconfig.tsbuildinfo 2.32 KiB [emitted] + unreferencedIndirect/index.d.ts 56 bytes [emitted] + unreferencedIndirect/index.js 209 bytes [emitted] +unreferencedIndirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./lib/index.ts] 475 bytes {main} [built] [failed] [1 error] +[./utils/index.ts] 477 bytes {main} [built] [failed] [1 error] + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 + +ERROR in ./utils/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 4:14-32 + +ERROR in lib/fileWithError.ts +[tsl] ERROR in lib/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. + +ERROR in indirectWithError/fileWithError.ts +[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..f2224a5b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/fileWithError.d.ts new file mode 100644 index 000000000..27e069e94 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/fileWithError.d.ts @@ -0,0 +1 @@ +export declare function foo(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/fileWithError.js new file mode 100644 index 000000000..4cd8719c8 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/fileWithError.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.foo = void 0; +function foo() { + return "hello world"; +} +exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d058d0599 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,61 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "0dda94f9fb4df4c74ff92d8109d8db2122e4c980bb13857b2a538c2ac0b33c64", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./fileWithError.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..53ef7bfcb --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,23 @@ + Asset Size Chunks Chunk Names + bundle.js 5.11 KiB main [emitted] main + lib/fileWithError.d.ts 39 bytes [emitted] + lib/fileWithError.js 127 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 119 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.59 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] +[./utils/index.ts] 477 bytes {main} [built] [failed] [1 error] + +ERROR in ./utils/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 4:14-32 + +ERROR in indirectWithError/fileWithError.ts +[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..09c0243ca --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/fileWithError.d.ts new file mode 100644 index 000000000..27e069e94 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/fileWithError.d.ts @@ -0,0 +1 @@ +export declare function foo(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/fileWithError.js new file mode 100644 index 000000000..215cdeb2a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/fileWithError.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.foo = void 0; +function foo() { + return "hello i fixed this error"; +} +exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/tsconfig.tsbuildinfo new file mode 100644 index 000000000..af7363e5f --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/indirectWithError/tsconfig.tsbuildinfo @@ -0,0 +1,61 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "e8c36f5bf4681d8c0c1866ed04f823e66548c8a788b325b672026efb17e9a384", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./fileWithError.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..6c6acf232 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names + bundle.js 5.27 KiB main [emitted] main + indirectWithError/fileWithError.d.ts 39 bytes [emitted] + indirectWithError/fileWithError.js 140 bytes [emitted] + indirectWithError/index.d.ts 84 bytes [emitted] + indirectWithError/index.js 119 bytes [emitted] +indirectWithError/tsconfig.tsbuildinfo 2.59 KiB [emitted] + utils/index.d.ts 39 bytes [emitted] + utils/index.js 169 bytes [emitted] + utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./common/index.ts] 128 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/utils/index.d.ts new file mode 100644 index 000000000..590545c75 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/utils/index.d.ts @@ -0,0 +1 @@ +export declare function utils(): void; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/utils/index.js new file mode 100644 index 000000000..7cde7e732 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/utils/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e96514ecb --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch1/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088", + "signature": "2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/bundle.js new file mode 100644 index 000000000..09c0243ca --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/output.txt new file mode 100644 index 000000000..3198ac028 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + bundle.js 5.27 KiB main [emitted] main + unreferenced/index.d.ts 48 bytes [emitted] + unreferenced/index.js 183 bytes [emitted] +unreferenced/tsconfig.tsbuildinfo 2.32 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/unreferenced/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/unreferenced/index.d.ts new file mode 100644 index 000000000..cd1cc7776 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/unreferenced/index.d.ts @@ -0,0 +1 @@ +export declare function unreferenced(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/unreferenced/index.js new file mode 100644 index 000000000..184fe4303 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/unreferenced/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferenced = void 0; +function unreferenced() { + return "i am unreferenced without error"; +} +exports.unreferenced = unreferenced; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..c73295e77 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch2/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "bb8ba6128be1271d91fd80319ca81516b664c6a68b5409b2991f70018b6c9e67", + "signature": "0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/bundle.js new file mode 100644 index 000000000..09c0243ca --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/output.txt new file mode 100644 index 000000000..b6724dc76 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + bundle.js 5.27 KiB main [emitted] main +unreferencedIndirect/tsconfig.tsbuildinfo 2.68 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} + +ERROR in unreferencedIndirect/index.ts +[tsl] ERROR in unreferencedIndirect/index.ts(2,3) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..569ce2a72 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch3/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1,73 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d442ceff036096362114a6b3c3fc728f2631155c62bd9f9a5ba0a282d1ff6b9c", + "signature": "2c1fe99ebadd28030971552c5b38142ab5a93ccb879983a2cecd1ab71d777dfd", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 51, + "length": 48, + "code": 2322, + "category": 1, + "messageText": "Type 'string' is not assignable to type 'number'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/bundle.js new file mode 100644 index 000000000..09c0243ca --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/output.txt new file mode 100644 index 000000000..4f0b6617d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + bundle.js 5.27 KiB main [emitted] main + unreferencedIndirect/index.d.ts 56 bytes [emitted] + unreferencedIndirect/index.js 225 bytes [emitted] +unreferencedIndirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/unreferencedIndirect/index.d.ts new file mode 100644 index 000000000..a9c923d2a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/unreferencedIndirect/index.d.ts @@ -0,0 +1 @@ +export declare function unreferencedIndirect(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/unreferencedIndirect/index.js new file mode 100644 index 000000000..44db5b50e --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/unreferencedIndirect/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferencedIndirect = void 0; +function unreferencedIndirect() { + return "i am unreferencedIndirect now fixed error"; +} +exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9fc8c4331 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch4/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "25e6889f7998ef0640339eb29cd18ffe0a26a90d6ab573c95601f51593801064", + "signature": "5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/bundle.js new file mode 100644 index 000000000..09c0243ca --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/output.txt new file mode 100644 index 000000000..e35154d19 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + bundle.js 5.27 KiB main [emitted] main +unreferenced/tsconfig.tsbuildinfo 2.68 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 182 bytes {main} [built] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} + +ERROR in unreferenced/index.ts +[tsl] ERROR in unreferenced/index.ts(2,3) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..c820eed07 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/patch5/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1,73 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "a37fe63cb9341169cb1ad08e3df365ac56639ae5518c883090e0dee4941a2fe1", + "signature": "2a0d33199723c48fa395ddf78eb2f2b8ecbed53d595ec7e591dea65384d9588b", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 43, + "length": 38, + "code": 2322, + "category": 1, + "messageText": "Type 'string' is not assignable to type 'number'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferenced/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferenced/index.d.ts new file mode 100644 index 000000000..cd1cc7776 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferenced/index.d.ts @@ -0,0 +1 @@ +export declare function unreferenced(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferenced/index.js new file mode 100644 index 000000000..2a6e4b7c9 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferenced/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferenced = void 0; +function unreferenced() { + return "i am unreferenced"; +} +exports.unreferenced = unreferenced; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..a68ee6954 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "71b9a35449a6c117c0de0bc5035eb20046c4d436d28294a9d6be2c1a9920ad98", + "signature": "0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferencedIndirect/index.d.ts new file mode 100644 index 000000000..a9c923d2a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferencedIndirect/index.d.ts @@ -0,0 +1 @@ +export declare function unreferencedIndirect(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferencedIndirect/index.js new file mode 100644 index 000000000..87bc79753 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferencedIndirect/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferencedIndirect = void 0; +function unreferencedIndirect() { + return "i am unreferencedIndirect"; +} +exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e91a8a1f9 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.1/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d2b6e2d5879e5092e979620936598256494f23e7449ca2b326a2618f9b4488c2", + "signature": "5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..fd4f00580 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,123 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/common/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/common/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/common/index.js new file mode 100644 index 000000000..c561b2cc0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 30; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..94c944e85 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/indirectWithError/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2fbc0b6ed --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/indirectWithError/tsconfig.tsbuildinfo @@ -0,0 +1,87 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./fileWithError.ts", + [ + { + "file": "./fileWithError.ts", + "start": 36, + "length": 13, + "code": 2322, + "category": 1, + "messageText": "Type 'boolean' is not assignable to type 'string'." + } + ] + ], + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./fileWithError.ts", + 1 + ], + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2fbc0b6ed --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,87 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./fileWithError.ts", + [ + { + "file": "./fileWithError.ts", + "start": 36, + "length": 13, + "code": 2322, + "category": 1, + "messageText": "Type 'boolean' is not assignable to type 'string'." + } + ] + ], + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./fileWithError.ts", + 1 + ], + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..b37ac0724 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,39 @@ + Asset Size Chunks Chunk Names + bundle.js 5.49 KiB main [emitted] main + common/index.d.ts 42 bytes [emitted] + common/index.js 128 bytes [emitted] + common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + indirectWithError/tsconfig.tsbuildinfo 3.1 KiB [emitted] + lib/tsconfig.tsbuildinfo 3.1 KiB [emitted] + unreferenced/index.d.ts 48 bytes [emitted] + unreferenced/index.js 169 bytes [emitted] + unreferenced/tsconfig.tsbuildinfo 2.32 KiB [emitted] + unreferencedIndirect/index.d.ts 56 bytes [emitted] + unreferencedIndirect/index.js 209 bytes [emitted] +unreferencedIndirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 218 bytes {main} [built] [2 errors] +[./lib/index.ts] 485 bytes {main} [built] [failed] [1 error] +[./utils/index.ts] 487 bytes {main} [built] [failed] [1 error] + +ERROR in [tsl] ERROR in indirectWithError/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. + +ERROR in [tsl] ERROR in lib/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 + +ERROR in ./utils/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 4:14-32 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..97cec6b4f --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,124 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/fileWithError.d.ts new file mode 100644 index 000000000..27e069e94 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/fileWithError.d.ts @@ -0,0 +1 @@ +export declare function foo(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/fileWithError.js new file mode 100644 index 000000000..4cd8719c8 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/fileWithError.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.foo = void 0; +function foo() { + return "hello world"; +} +exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d058d0599 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,61 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "0dda94f9fb4df4c74ff92d8109d8db2122e4c980bb13857b2a538c2ac0b33c64", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./fileWithError.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..d1a5de7c5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,22 @@ + Asset Size Chunks Chunk Names + bundle.js 5.15 KiB main [emitted] main + lib/fileWithError.d.ts 39 bytes [emitted] + lib/fileWithError.js 127 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 119 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.59 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 218 bytes {main} [built] [1 error] +[./lib/index.ts] 119 bytes {main} [built] +[./utils/index.ts] 487 bytes {main} [built] [failed] [1 error] + +ERROR in [tsl] ERROR in indirectWithError/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. + +ERROR in ./utils/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 4:14-32 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..b7c7afd02 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/fileWithError.d.ts new file mode 100644 index 000000000..27e069e94 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/fileWithError.d.ts @@ -0,0 +1 @@ +export declare function foo(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/fileWithError.js new file mode 100644 index 000000000..215cdeb2a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/fileWithError.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.foo = void 0; +function foo() { + return "hello i fixed this error"; +} +exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/tsconfig.tsbuildinfo new file mode 100644 index 000000000..af7363e5f --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/indirectWithError/tsconfig.tsbuildinfo @@ -0,0 +1,61 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./fileWithError.ts": { + "version": "e8c36f5bf4681d8c0c1866ed04f823e66548c8a788b325b672026efb17e9a384", + "signature": "3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./fileWithError.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..b960ed399 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names + bundle.js 5.31 KiB main [emitted] main + indirectWithError/fileWithError.d.ts 39 bytes [emitted] + indirectWithError/fileWithError.js 140 bytes [emitted] + indirectWithError/index.d.ts 84 bytes [emitted] + indirectWithError/index.js 119 bytes [emitted] +indirectWithError/tsconfig.tsbuildinfo 2.59 KiB [emitted] + utils/index.d.ts 39 bytes [emitted] + utils/index.js 169 bytes [emitted] + utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 218 bytes {main} [built] +[./common/index.ts] 128 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/utils/index.d.ts new file mode 100644 index 000000000..590545c75 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/utils/index.d.ts @@ -0,0 +1 @@ +export declare function utils(): void; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/utils/index.js new file mode 100644 index 000000000..7cde7e732 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/utils/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e96514ecb --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch1/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088", + "signature": "2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/output.txt new file mode 100644 index 000000000..0afd355bc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + bundle.js 5.31 KiB main main +unreferencedIndirect/tsconfig.tsbuildinfo 2.68 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 218 bytes {main} [built] [1 error] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} + +ERROR in [tsl] ERROR in unreferencedIndirect/index.ts(2,3) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..569ce2a72 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch3/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1,73 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d442ceff036096362114a6b3c3fc728f2631155c62bd9f9a5ba0a282d1ff6b9c", + "signature": "2c1fe99ebadd28030971552c5b38142ab5a93ccb879983a2cecd1ab71d777dfd", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 51, + "length": 48, + "code": 2322, + "category": 1, + "messageText": "Type 'string' is not assignable to type 'number'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/output.txt new file mode 100644 index 000000000..6fd596b79 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + bundle.js 5.31 KiB main main + unreferencedIndirect/index.d.ts 56 bytes [emitted] + unreferencedIndirect/index.js 225 bytes [emitted] +unreferencedIndirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 218 bytes {main} [built] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/unreferencedIndirect/index.d.ts new file mode 100644 index 000000000..a9c923d2a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/unreferencedIndirect/index.d.ts @@ -0,0 +1 @@ +export declare function unreferencedIndirect(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/unreferencedIndirect/index.js new file mode 100644 index 000000000..44db5b50e --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/unreferencedIndirect/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferencedIndirect = void 0; +function unreferencedIndirect() { + return "i am unreferencedIndirect now fixed error"; +} +exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9fc8c4331 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch4/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "25e6889f7998ef0640339eb29cd18ffe0a26a90d6ab573c95601f51593801064", + "signature": "5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/output.txt new file mode 100644 index 000000000..c05b76041 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + bundle.js 5.31 KiB main main +unreferenced/tsconfig.tsbuildinfo 2.68 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 218 bytes {main} [built] [1 error] +[./common/index.ts] 128 bytes {main} +[./lib/index.ts] 119 bytes {main} +[./utils/index.ts] 169 bytes {main} + +ERROR in [tsl] ERROR in unreferenced/index.ts(2,3) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..c820eed07 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/patch5/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1,73 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "a37fe63cb9341169cb1ad08e3df365ac56639ae5518c883090e0dee4941a2fe1", + "signature": "2a0d33199723c48fa395ddf78eb2f2b8ecbed53d595ec7e591dea65384d9588b", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 43, + "length": 38, + "code": 2322, + "category": 1, + "messageText": "Type 'string' is not assignable to type 'number'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferenced/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferenced/index.d.ts new file mode 100644 index 000000000..cd1cc7776 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferenced/index.d.ts @@ -0,0 +1 @@ +export declare function unreferenced(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferenced/index.js new file mode 100644 index 000000000..2a6e4b7c9 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferenced/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferenced = void 0; +function unreferenced() { + return "i am unreferenced"; +} +exports.unreferenced = unreferenced; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..a68ee6954 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "71b9a35449a6c117c0de0bc5035eb20046c4d436d28294a9d6be2c1a9920ad98", + "signature": "0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferencedIndirect/index.d.ts new file mode 100644 index 000000000..a9c923d2a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferencedIndirect/index.d.ts @@ -0,0 +1 @@ +export declare function unreferencedIndirect(): string; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferencedIndirect/index.js new file mode 100644 index 000000000..87bc79753 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferencedIndirect/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.unreferencedIndirect = void 0; +function unreferencedIndirect() { + return "i am unreferencedIndirect"; +} +exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e91a8a1f9 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.1/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d2b6e2d5879e5092e979620936598256494f23e7449ca2b326a2618f9b4488c2", + "signature": "5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/app/bundle.js new file mode 100644 index 000000000..041014d08 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/common/index.js new file mode 100644 index 000000000..c561b2cc0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 30; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..94c944e85 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/indirect/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/indirect/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/indirect/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/indirect/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/indirect/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/indirect/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/indirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/indirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..a58631d01 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/indirect/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/lib/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..a58631d01 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..d60409bff --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/output.txt @@ -0,0 +1,19 @@ + Asset Size Chunks Chunk Names + ../common/index.d.ts 42 bytes [emitted] + ../common/index.js 128 bytes [emitted] + ../common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + ../indirect/index.d.ts 84 bytes [emitted] + ../indirect/index.js 119 bytes [emitted] +../indirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] + ../lib/index.d.ts 84 bytes [emitted] + ../lib/index.js 119 bytes [emitted] + ../lib/tsconfig.tsbuildinfo 2.32 KiB [emitted] + ../utils/index.d.ts 39 bytes [emitted] + ../utils/index.js 169 bytes [emitted] + ../utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] + bundle.js 5.29 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] +[../lib/index.ts] 119 bytes {main} [built] +[../utils/index.ts] 169 bytes {main} [built] +[./app.ts] 184 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/app/bundle.js new file mode 100644 index 000000000..1952eb33b --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/common/index.js new file mode 100644 index 000000000..4fafb1dd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 35; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4a8ba58c1 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..6fd7eb1b6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../common/index.d.ts 42 bytes [emitted] + ../common/index.js 128 bytes [emitted] +../common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + bundle.js 5.29 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 169 bytes {main} [built] +[./app.ts] 184 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/app/bundle.js new file mode 100644 index 000000000..b005a7d9d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..8fcb86d52 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../utils/index.d.ts 81 bytes [emitted] + ../utils/index.js 249 bytes [emitted] +../utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] + bundle.js 5.37 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 184 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/utils/index.d.ts new file mode 100644 index 000000000..6ab3917bc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/utils/index.d.ts @@ -0,0 +1,2 @@ +export declare function utils(): void; +export declare function utils2(): string; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/utils/index.js new file mode 100644 index 000000000..2ebba61c6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/utils/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.utils2 = exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; +function utils2() { return "hello"; } +exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..89d54c224 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch1/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a", + "signature": "965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch2/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch2/app/bundle.js new file mode 100644 index 000000000..fa5a91bbf --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch2/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch2/output.txt new file mode 100644 index 000000000..689d0415c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch2/output.txt @@ -0,0 +1,7 @@ + Asset Size Chunks Chunk Names +bundle.js 5.39 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} +[./app.ts] 202 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/app/bundle.js new file mode 100644 index 000000000..fa5a91bbf --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b08876195 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/common/tsconfig.tsbuildinfo @@ -0,0 +1,73 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "8dc151219b7f551da173dd2304fc01ffc31268701f42ee5f65b0b30138d4dd3c", + "signature": "233a16e654a6b6507aca0421baacb8e3a0bb95be0c1818690f06f86119b0bc43", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 37, + "length": 10, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt new file mode 100644 index 000000000..cbffd9cda --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names +../common/tsconfig.tsbuildinfo 2.68 KiB [emitted] + bundle.js 5.39 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] [1 error] +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 202 bytes {main} [built] + +ERROR in common/index.ts +../common/index.ts +[tsl] ERROR in common/index.ts(2,3) + TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/app/bundle.js new file mode 100644 index 000000000..fa5a91bbf --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/common/index.js new file mode 100644 index 000000000..4fafb1dd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 35; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4a8ba58c1 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/output.txt new file mode 100644 index 000000000..9a0bbe11c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../common/index.d.ts 42 bytes [emitted] + ../common/index.js 128 bytes [emitted] +../common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + bundle.js 5.39 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 202 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/app/bundle.js new file mode 100644 index 000000000..fa5a91bbf --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt new file mode 100644 index 000000000..47669f95b --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names +../utils/tsconfig.tsbuildinfo 3.02 KiB [emitted] + bundle.js 5.39 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] [1 error] +[./app.ts] 202 bytes {main} [built] + +ERROR in utils/index.ts +../utils/index.ts +[tsl] ERROR in utils/index.ts(5,36) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..93726fed5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/utils/tsconfig.tsbuildinfo @@ -0,0 +1,83 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "5f3b60afa134ead3910d0edb722e281f51797b8747253688a08bced01be97e19", + "signature": "b45004303c96a0df80573d7d8505f23f55598a904ccea3781900f27f32ee56b2", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 111, + "length": 15, + "code": 2322, + "category": 1, + "messageText": "Type 'string' is not assignable to type 'number'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/app/bundle.js new file mode 100644 index 000000000..fa5a91bbf --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/output.txt new file mode 100644 index 000000000..9ec0b9273 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../utils/index.d.ts 81 bytes [emitted] + ../utils/index.js 249 bytes [emitted] +../utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] + bundle.js 5.39 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 202 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/utils/index.d.ts new file mode 100644 index 000000000..6ab3917bc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/utils/index.d.ts @@ -0,0 +1,2 @@ +export declare function utils(): void; +export declare function utils2(): string; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/utils/index.js new file mode 100644 index 000000000..2ebba61c6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/utils/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.utils2 = exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; +function utils2() { return "hello"; } +exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..89d54c224 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch6/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a", + "signature": "965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/utils/index.d.ts new file mode 100644 index 000000000..590545c75 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/utils/index.d.ts @@ -0,0 +1 @@ +export declare function utils(): void; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/utils/index.js new file mode 100644 index 000000000..7cde7e732 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/utils/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e96514ecb --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088", + "signature": "2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/app/bundle.js new file mode 100644 index 000000000..d8c5605b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/common/index.js new file mode 100644 index 000000000..c561b2cc0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 30; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..94c944e85 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/indirect/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/indirect/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/indirect/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/indirect/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/indirect/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/indirect/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/indirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/indirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..a58631d01 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/indirect/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..b7785ef20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..a58631d01 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..a16ead0aa --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,19 @@ + Asset Size Chunks Chunk Names + ../common/index.d.ts 42 bytes [emitted] + ../common/index.js 128 bytes [emitted] + ../common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + ../indirect/index.d.ts 84 bytes [emitted] + ../indirect/index.js 119 bytes [emitted] +../indirect/tsconfig.tsbuildinfo 2.32 KiB [emitted] + ../lib/index.d.ts 84 bytes [emitted] + ../lib/index.js 119 bytes [emitted] + ../lib/tsconfig.tsbuildinfo 2.32 KiB [emitted] + ../utils/index.d.ts 39 bytes [emitted] + ../utils/index.js 169 bytes [emitted] + ../utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] + bundle.js 5.33 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] +[../lib/index.ts] 119 bytes {main} [built] +[../utils/index.ts] 169 bytes {main} [built] +[./app.ts] 220 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/app/bundle.js new file mode 100644 index 000000000..d125d00b2 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/common/index.js new file mode 100644 index 000000000..4fafb1dd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 35; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4a8ba58c1 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..697009cc5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../common/index.d.ts 42 bytes [emitted] + ../common/index.js 128 bytes [emitted] +../common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + bundle.js 5.33 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 169 bytes {main} [built] +[./app.ts] 220 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/app/bundle.js new file mode 100644 index 000000000..242b1aa29 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..c1609783f --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../utils/index.d.ts 81 bytes [emitted] + ../utils/index.js 249 bytes [emitted] +../utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] + bundle.js 5.41 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 220 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/utils/index.d.ts new file mode 100644 index 000000000..6ab3917bc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/utils/index.d.ts @@ -0,0 +1,2 @@ +export declare function utils(): void; +export declare function utils2(): string; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/utils/index.js new file mode 100644 index 000000000..2ebba61c6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/utils/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.utils2 = exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; +function utils2() { return "hello"; } +exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..89d54c224 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch1/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a", + "signature": "965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch2/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch2/app/bundle.js new file mode 100644 index 000000000..488ec7463 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch2/app/bundle.js @@ -0,0 +1,137 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n common_1.common();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\nutils_1.utils();\nutils_1.utils2();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch2/output.txt new file mode 100644 index 000000000..08eb706eb --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch2/output.txt @@ -0,0 +1,7 @@ + Asset Size Chunks Chunk Names +bundle.js 5.43 KiB main [emitted] main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} +[./app.ts] 238 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b08876195 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/common/tsconfig.tsbuildinfo @@ -0,0 +1,73 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "8dc151219b7f551da173dd2304fc01ffc31268701f42ee5f65b0b30138d4dd3c", + "signature": "233a16e654a6b6507aca0421baacb8e3a0bb95be0c1818690f06f86119b0bc43", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 37, + "length": 10, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/output.txt new file mode 100644 index 000000000..0eeca0869 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch3/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +../common/tsconfig.tsbuildinfo 2.68 KiB [emitted] + bundle.js 5.43 KiB main main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 238 bytes {main} [built] [1 error] + +ERROR in [tsl] ERROR in common/index.ts(2,3) + TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/common/index.d.ts new file mode 100644 index 000000000..78cb4cd49 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/common/index.d.ts @@ -0,0 +1 @@ +export declare function common(): number; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/common/index.js new file mode 100644 index 000000000..4fafb1dd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +exports.__esModule = true; +exports.common = void 0; +function common() { + return 35; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4a8ba58c1 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/common/tsconfig.tsbuildinfo @@ -0,0 +1,55 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/output.txt new file mode 100644 index 000000000..2f2035592 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../common/index.d.ts 42 bytes [emitted] + ../common/index.js 128 bytes [emitted] +../common/tsconfig.tsbuildinfo 2.32 KiB [emitted] + bundle.js 5.43 KiB main main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} [built] +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 238 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/output.txt new file mode 100644 index 000000000..3b91ec112 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +../utils/tsconfig.tsbuildinfo 3.02 KiB [emitted] + bundle.js 5.43 KiB main main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 238 bytes {main} [built] [1 error] + +ERROR in [tsl] ERROR in utils/index.ts(5,36) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..93726fed5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch5/utils/tsconfig.tsbuildinfo @@ -0,0 +1,83 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "5f3b60afa134ead3910d0edb722e281f51797b8747253688a08bced01be97e19", + "signature": "b45004303c96a0df80573d7d8505f23f55598a904ccea3781900f27f32ee56b2", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 111, + "length": 15, + "code": 2322, + "category": 1, + "messageText": "Type 'string' is not assignable to type 'number'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/output.txt new file mode 100644 index 000000000..8c6c39dca --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + ../utils/index.d.ts 81 bytes [emitted] + ../utils/index.js 249 bytes [emitted] +../utils/tsconfig.tsbuildinfo 2.66 KiB [emitted] + bundle.js 5.43 KiB main main +Entrypoint main = bundle.js +[../common/index.ts] 128 bytes {main} +[../lib/index.ts] 119 bytes {main} +[../utils/index.ts] 249 bytes {main} [built] +[./app.ts] 238 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/utils/index.d.ts new file mode 100644 index 000000000..6ab3917bc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/utils/index.d.ts @@ -0,0 +1,2 @@ +export declare function utils(): void; +export declare function utils2(): string; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/utils/index.js new file mode 100644 index 000000000..2ebba61c6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/utils/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.utils2 = exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; +function utils2() { return "hello"; } +exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..89d54c224 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/patch6/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a", + "signature": "965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/utils/index.d.ts new file mode 100644 index 000000000..590545c75 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/utils/index.d.ts @@ -0,0 +1 @@ +export declare function utils(): void; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/utils/index.js new file mode 100644 index 000000000..7cde7e732 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/utils/index.js @@ -0,0 +1,8 @@ +"use strict"; +exports.__esModule = true; +exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + common_1.common(); +} +exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e96514ecb --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.1/utils/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/index.d.ts": { + "version": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "signature": "43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088", + "signature": "2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "../common/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/index.d.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..8f11986c9 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/foo.ts": +/*!********************!*\ + !*** ./lib/foo.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.foo = void 0;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/foo.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/foo.d.ts new file mode 100644 index 000000000..07265a895 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/foo.d.ts @@ -0,0 +1 @@ +export declare const foo = "foo"; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/foo.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/foo.js new file mode 100644 index 000000000..33e8d8400 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/foo.js @@ -0,0 +1,4 @@ +"use strict"; +exports.__esModule = true; +exports.foo = void 0; +exports.foo = 'foo'; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..b05ab0fd1 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + foo: string; +}; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..36ee96b86 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var foo_1 = require("./foo"); +exports.lib = { + one: 1, + two: 2, + three: 3, + foo: foo_1.foo +}; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..dd838c80a --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./foo.ts": { + "version": "a43230ea8da8a5ab3adc7b12f9eb9d65d1d1e5c87896fb2d8747a1a3f7a3f759", + "signature": "4c57bbad758e31eeba3abc8e95e00dbac67b9581c2e7d02884ffb14c672b1520", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "582b90393f0a99a0e2da27ccff010fe0b914246cc25e49da7e760543b0789cf8", + "signature": "822618dba4b9d398326f33458039773f2c32dc8940c6134ce0b019b1ff20d068", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./foo.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./foo.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..df257b2e9 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.1/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + bundle.js 4.72 KiB main [emitted] main + lib/foo.d.ts 34 bytes [emitted] + lib/foo.js 84 bytes [emitted] + lib/index.d.ts 101 bytes [emitted] + lib/index.js 169 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.62 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/foo.ts] 84 bytes {main} [built] +[./lib/index.ts] 169 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..0afd5f908 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/foo.ts": +/*!********************!*\ + !*** ./lib/foo.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.foo = void 0;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/foo.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/foo.d.ts new file mode 100644 index 000000000..07265a895 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/foo.d.ts @@ -0,0 +1 @@ +export declare const foo = "foo"; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/foo.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/foo.js new file mode 100644 index 000000000..33e8d8400 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/foo.js @@ -0,0 +1,4 @@ +"use strict"; +exports.__esModule = true; +exports.foo = void 0; +exports.foo = 'foo'; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..b05ab0fd1 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + foo: string; +}; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..36ee96b86 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var foo_1 = require("./foo"); +exports.lib = { + one: 1, + two: 2, + three: 3, + foo: foo_1.foo +}; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..dd838c80a --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,65 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./foo.ts": { + "version": "a43230ea8da8a5ab3adc7b12f9eb9d65d1d1e5c87896fb2d8747a1a3f7a3f759", + "signature": "4c57bbad758e31eeba3abc8e95e00dbac67b9581c2e7d02884ffb14c672b1520", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "582b90393f0a99a0e2da27ccff010fe0b914246cc25e49da7e760543b0789cf8", + "signature": "822618dba4b9d398326f33458039773f2c32dc8940c6134ce0b019b1ff20d068", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./foo.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./foo.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..413c5462f --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + bundle.js 4.76 KiB main [emitted] main + lib/foo.d.ts 34 bytes [emitted] + lib/foo.js 84 bytes [emitted] + lib/index.d.ts 101 bytes [emitted] + lib/index.js 169 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.62 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/foo.ts] 84 bytes {main} [built] +[./lib/index.ts] 169 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..ceca3b200 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..f83b087db --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo new file mode 100644 index 000000000..c6ef42e1b --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "12503634626", + "signature": "12503634626", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..f14744d77 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..67bf67e8a --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + bundle.js 4.32 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 147 bytes {main} [built] [1 error] +[./lib/index.ts] 119 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,46) + TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..9e0baa9e5 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..5b787614d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.36 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 183 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..f14744d77 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..7d6aa5942 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,16 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.32 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 147 bytes {main} [built] [1 error] +[./lib/index.ts] 119 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,46) + TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7ddd7f8ad --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "12503634626", + "signature": "12503634626", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-18375343467", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..9e0baa9e5 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..5b787614d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.36 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 183 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..f14744d77 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..67bf67e8a --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + bundle.js 4.32 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 147 bytes {main} [built] [1 error] +[./lib/index.ts] 119 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,46) + TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..9e0baa9e5 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..5b787614d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.36 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 183 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..738d26493 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..967fccc56 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,78 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 61, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..c74544a53 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt @@ -0,0 +1,19 @@ + Asset Size Chunks Chunk Names + bundle.js 4.65 KiB main [emitted] main +lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 500 bytes {main} [built] [failed] [2 errors] + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..08e9b5b77 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..967fccc56 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,78 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 61, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..ec4d53142 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,17 @@ + Asset Size Chunks Chunk Names + bundle.js 4.7 KiB main [emitted] main +lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] [1 error] +[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] + +ERROR in [tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..632fd379b --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..967fccc56 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,78 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 61, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..5eb8fe6c7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,21 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.67 KiB main [emitted] main +lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] + tsconfig.tsbuildinfo 1.36 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 519 bytes {main} [built] [failed] [2 errors] + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo new file mode 100644 index 000000000..f3d96efe7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo @@ -0,0 +1,48 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..b2fb52c13 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..967fccc56 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,78 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 61, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..5febe8f36 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,17 @@ + Asset Size Chunks Chunk Names + bundle.js 4.72 KiB main [emitted] main +lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] [1 error] +[./lib/index.ts] 529 bytes {main} [built] [failed] [1 error] + +ERROR in [tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..80364d3a0 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..967fccc56 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,78 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 61, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..1d22977b8 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,19 @@ + Asset Size Chunks Chunk Names + bundle.js 4.66 KiB main [emitted] main +lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 509 bytes {main} [built] [failed] [2 errors] + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..2be59ba57 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..967fccc56 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,78 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "file": "./index.ts", + "start": 61, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ], + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./index.ts", + 1 + ], + [ + "../../../node_modules/typescript/lib/lib.d.ts", + 1 + ] + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..9df2cc83f --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,17 @@ + Asset Size Chunks Chunk Names + bundle.js 4.71 KiB main [emitted] main +lib/tsconfig.tsbuildinfo 2.78 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] [1 error] +[./lib/index.ts] 519 bytes {main} [built] [failed] [1 error] + +ERROR in [tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..711e9930c --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..f190e2fea --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt @@ -0,0 +1,18 @@ + Asset Size Chunks Chunk Names +bundle.js 4.65 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 498 bytes {main} [built] [failed] [2 errors] + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..0a52c894d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..aad5b9eaf --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,16 @@ + Asset Size Chunks Chunk Names +bundle.js 4.7 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] [1 error] +[./lib/index.ts] 508 bytes {main} [built] [failed] [1 error] + +ERROR in [tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..583a3d7e0 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..98fa4b8a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,20 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.67 KiB main [emitted] main +tsconfig.tsbuildinfo 1.36 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 517 bytes {main} [built] [failed] [2 errors] + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo new file mode 100644 index 000000000..f3d96efe7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo @@ -0,0 +1,48 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..b40828139 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..7675787ac --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,16 @@ + Asset Size Chunks Chunk Names +bundle.js 4.71 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] [1 error] +[./lib/index.ts] 527 bytes {main} [built] [failed] [1 error] + +ERROR in [tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..bdc99977b --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..aaf4f848a --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,18 @@ + Asset Size Chunks Chunk Names +bundle.js 4.66 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 507 bytes {main} [built] [failed] [2 errors] + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..ebf164835 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:53:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:40:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:23:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..fb4278309 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,16 @@ + Asset Size Chunks Chunk Names +bundle.js 4.71 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] [1 error] +[./lib/index.ts] 517 bytes {main} [built] [failed] [1 error] + +ERROR in [tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. + +ERROR in ./lib/index.ts +Module build failed (from index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:53:18) + at successLoader (dist/index.js:40:5) + at Object.loader (dist/index.js:23:5) + @ ./app.ts 3:12-28 \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..ceca3b200 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/index.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/index.js.map new file mode 100644 index 000000000..bd8517f9b --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..50ce5d859 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..519abe0d7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.3 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 152 bytes [emitted] + lib/out/index.js.map 191 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/index.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/index.js.map new file mode 100644 index 000000000..bd8517f9b --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..50ce5d859 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..12e21e4d1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 152 bytes [emitted] + lib/out/index.js.map 191 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..792e39e13 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/index.js.map new file mode 100644 index 000000000..bd8517f9b --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..50ce5d859 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..fe096d523 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.36 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 152 bytes [emitted] + lib/out/index.js.map 191 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/out/index.js] 152 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..4bad700aa --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/index.js.map new file mode 100644 index 000000000..da47828f7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7050b772f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..828b1eb96 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.39 KiB main [emitted] main + lib/out/index.d.ts 102 bytes [emitted] + lib/out/index.js 183 bytes [emitted] + lib/out/index.js.map 224 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..e0edf07a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..5047215c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.43 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/bundle.js new file mode 100644 index 000000000..e0edf07a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/output.txt new file mode 100644 index 000000000..fd9c15542 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch2/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names +bundle.js 4.43 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} + +ERROR in lib/index.ts +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in lib/index.ts +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/bundle.js new file mode 100644 index 000000000..e0edf07a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/index.js.map new file mode 100644 index 000000000..6f1b651a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4f73d6b66 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/output.txt new file mode 100644 index 000000000..62709cf4f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.43 KiB main [emitted] main + lib/out/index.d.ts 120 bytes [emitted] + lib/out/index.js 178 bytes [emitted] + lib/out/index.js.map 231 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/bundle.js new file mode 100644 index 000000000..c4af1b158 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt new file mode 100644 index 000000000..2d914655a --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.44 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 186 bytes {main} [built] [1 error] +[./lib/out/index.js] 178 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch5/bundle.js new file mode 100644 index 000000000..08fa55bd4 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch5/output.txt new file mode 100644 index 000000000..9eee18097 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.44 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 185 bytes {main} [built] +[./lib/out/index.js] 178 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..573327ca6 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/index.js.map new file mode 100644 index 000000000..bd8517f9b --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..50ce5d859 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..54313a0fc --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.4 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 152 bytes [emitted] + lib/out/index.js.map 191 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/out/index.js] 152 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..4b58d689a --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/index.js.map new file mode 100644 index 000000000..da47828f7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7050b772f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..cdd3e7096 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.43 KiB main [emitted] main + lib/out/index.d.ts 102 bytes [emitted] + lib/out/index.js 183 bytes [emitted] + lib/out/index.js.map 224 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..d1901ba32 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..45ca4d5f4 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.46 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch2/output.txt new file mode 100644 index 000000000..99028a1de --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch2/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.46 KiB main main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] [2 errors] +[./lib/out/index.js] 183 bytes {main} + +ERROR in [tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in [tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/index.js.map new file mode 100644 index 000000000..6f1b651a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4f73d6b66 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/output.txt new file mode 100644 index 000000000..a518dadaa --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.46 KiB main main + lib/out/index.d.ts 120 bytes [emitted] + lib/out/index.js 178 bytes [emitted] + lib/out/index.js.map 231 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch4/bundle.js new file mode 100644 index 000000000..5ea6d562c --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch4/output.txt new file mode 100644 index 000000000..e2e95d648 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch4/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.48 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 222 bytes {main} [built] +[./lib/out/index.js] 178 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch5/bundle.js new file mode 100644 index 000000000..632383519 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch5/output.txt new file mode 100644 index 000000000..450b169d1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.1/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.48 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 221 bytes {main} [built] +[./lib/out/index.js] 178 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..792e39e13 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..35bc117da --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.36 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/out/index.js] 152 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..792e39e13 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/index.js.map new file mode 100644 index 000000000..da47828f7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7050b772f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..8057c0d84 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.36 KiB main [emitted] main + lib/out/index.d.ts 102 bytes [emitted] + lib/out/index.js 183 bytes [emitted] + lib/out/index.js.map 224 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/out/index.js] 152 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..e0edf07a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..5047215c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.43 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/bundle.js new file mode 100644 index 000000000..e0edf07a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/output.txt new file mode 100644 index 000000000..fd9c15542 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch2/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names +bundle.js 4.43 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} + +ERROR in lib/index.ts +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in lib/index.ts +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/bundle.js new file mode 100644 index 000000000..e0edf07a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/index.js.map new file mode 100644 index 000000000..6f1b651a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4f73d6b66 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/output.txt new file mode 100644 index 000000000..62709cf4f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.43 KiB main [emitted] main + lib/out/index.d.ts 120 bytes [emitted] + lib/out/index.js 178 bytes [emitted] + lib/out/index.js.map 231 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/bundle.js new file mode 100644 index 000000000..c4af1b158 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt new file mode 100644 index 000000000..2d914655a --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.44 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 186 bytes {main} [built] [1 error] +[./lib/out/index.js] 178 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch5/bundle.js new file mode 100644 index 000000000..08fa55bd4 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch5/output.txt new file mode 100644 index 000000000..9eee18097 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.44 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 185 bytes {main} [built] +[./lib/out/index.js] 178 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..573327ca6 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..332ae20d1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.4 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/out/index.js] 152 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..d1901ba32 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..45ca4d5f4 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.46 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt new file mode 100644 index 000000000..99028a1de --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.46 KiB main main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] [2 errors] +[./lib/out/index.js] 183 bytes {main} + +ERROR in [tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in [tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/index.js.map new file mode 100644 index 000000000..6f1b651a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4f73d6b66 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "outDir": "./", + "types": [], + "newLine": 1, + "configFilePath": "../tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../index.ts", + "../../../../node_modules/typescript/lib/lib.d.ts", + "../../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/output.txt new file mode 100644 index 000000000..a518dadaa --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.46 KiB main main + lib/out/index.d.ts 120 bytes [emitted] + lib/out/index.js 178 bytes [emitted] + lib/out/index.js.map 231 bytes [emitted] +lib/out/tsconfig.tsbuildinfo 2.39 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/out/index.js] 183 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch4/bundle.js new file mode 100644 index 000000000..5ea6d562c --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch4/output.txt new file mode 100644 index 000000000..e2e95d648 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch4/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.48 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 222 bytes {main} [built] +[./lib/out/index.js] 178 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch5/bundle.js new file mode 100644 index 000000000..632383519 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch5/output.txt new file mode 100644 index 000000000..450b169d1 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.1/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.48 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 221 bytes {main} [built] +[./lib/out/index.js] 178 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..4cd40bf50 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/src/index.ts": +/*!**************************!*\ + !*** ./lib/src/index.ts ***! + \**************************/ +/*! exports provided: lib */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/out/index.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/out/index.js new file mode 100644 index 000000000..601001a45 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/out/index.js @@ -0,0 +1,6 @@ +export const lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/out/index.js.map new file mode 100644 index 000000000..e54726f0a --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d8ed1c51c --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,311 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.d.ts": { + "version": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "signature": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2016.d.ts": { + "version": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "signature": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2017.d.ts": { + "version": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "signature": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2018.d.ts": { + "version": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2019.d.ts": { + "version": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "signature": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2020.d.ts": { + "version": "e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940", + "signature": "e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.esnext.d.ts": { + "version": "fc7a21dd3ee27fd0a9ff1c46534efcd9c3cec51a445b479bb326d871c0aa8302", + "signature": "fc7a21dd3ee27fd0a9ff1c46534efcd9c3cec51a445b479bb326d871c0aa8302", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts": { + "version": "d42f4141bd9ce82b4e2902f26acb00c183e321be19a38bbc0e76a922c1724c94", + "signature": "d42f4141bd9ce82b4e2902f26acb00c183e321be19a38bbc0e76a922c1724c94", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts": { + "version": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "signature": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts": { + "version": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "signature": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts": { + "version": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "signature": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts": { + "version": "8b2a5df1ce95f78f6b74f1a555ccdb6baab0486b42d8345e0871dd82811f9b9a", + "signature": "8b2a5df1ce95f78f6b74f1a555ccdb6baab0486b42d8345e0871dd82811f9b9a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts": { + "version": "2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c", + "signature": "2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts": { + "version": "7207e317a2cb07a177e7d963ab7b8c0e85dde7f9ddb50351f830239bf597569e", + "signature": "7207e317a2cb07a177e7d963ab7b8c0e85dde7f9ddb50351f830239bf597569e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts": { + "version": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "signature": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts": { + "version": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "signature": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": { + "version": "9d122b7e8c1a5c72506eea50c0973cba55b92b5532d5cafa8a6ce2c547d57551", + "signature": "9d122b7e8c1a5c72506eea50c0973cba55b92b5532d5cafa8a6ce2c547d57551", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts": { + "version": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "signature": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts": { + "version": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "signature": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": { + "version": "7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98", + "signature": "7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts": { + "version": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "signature": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts": { + "version": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "signature": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": { + "version": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "signature": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": { + "version": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "signature": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": { + "version": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "signature": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts": { + "version": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "signature": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts": { + "version": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "signature": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": { + "version": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts": { + "version": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "signature": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts": { + "version": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "signature": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts": { + "version": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "signature": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts": { + "version": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "signature": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": { + "version": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "signature": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts": { + "version": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "signature": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts": { + "version": "e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40", + "signature": "e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts": { + "version": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "signature": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": { + "version": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "signature": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts": { + "version": "31e8df2398e328077079c17ea4f1664bad0a34adf8b0608837e504e310e329a1", + "signature": "31e8df2398e328077079c17ea4f1664bad0a34adf8b0608837e504e310e329a1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts": { + "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts": { + "version": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "signature": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts": { + "version": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "signature": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.weakref.d.ts": { + "version": "1e61418f41d404e744b6536af9f8c6f6674dd4d54c12335cd0c4f7eded69cf3f", + "signature": "1e61418f41d404e744b6536af9f8c6f6674dd4d54c12335cd0c4f7eded69cf3f", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts": { + "version": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "signature": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "target": 99, + "composite": true, + "sourceMap": true, + "outDir": "./out", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.weakref.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..1ff59ac31 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.65 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 94 bytes [emitted] + lib/out/index.js.map 202 bytes [emitted] +lib/tsconfig.tsbuildinfo 17.2 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 81 bytes {main} [built] +[./lib/src/index.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..4cd40bf50 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/src/index.ts": +/*!**************************!*\ + !*** ./lib/src/index.ts ***! + \**************************/ +/*! exports provided: lib */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/out/index.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/out/index.js new file mode 100644 index 000000000..601001a45 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/out/index.js @@ -0,0 +1,6 @@ +export const lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/out/index.js.map new file mode 100644 index 000000000..e54726f0a --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d8ed1c51c --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,311 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.d.ts": { + "version": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "signature": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2016.d.ts": { + "version": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "signature": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2017.d.ts": { + "version": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "signature": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2018.d.ts": { + "version": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2019.d.ts": { + "version": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "signature": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2020.d.ts": { + "version": "e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940", + "signature": "e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.esnext.d.ts": { + "version": "fc7a21dd3ee27fd0a9ff1c46534efcd9c3cec51a445b479bb326d871c0aa8302", + "signature": "fc7a21dd3ee27fd0a9ff1c46534efcd9c3cec51a445b479bb326d871c0aa8302", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts": { + "version": "d42f4141bd9ce82b4e2902f26acb00c183e321be19a38bbc0e76a922c1724c94", + "signature": "d42f4141bd9ce82b4e2902f26acb00c183e321be19a38bbc0e76a922c1724c94", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts": { + "version": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "signature": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts": { + "version": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "signature": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts": { + "version": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "signature": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts": { + "version": "8b2a5df1ce95f78f6b74f1a555ccdb6baab0486b42d8345e0871dd82811f9b9a", + "signature": "8b2a5df1ce95f78f6b74f1a555ccdb6baab0486b42d8345e0871dd82811f9b9a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts": { + "version": "2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c", + "signature": "2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts": { + "version": "7207e317a2cb07a177e7d963ab7b8c0e85dde7f9ddb50351f830239bf597569e", + "signature": "7207e317a2cb07a177e7d963ab7b8c0e85dde7f9ddb50351f830239bf597569e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts": { + "version": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "signature": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts": { + "version": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "signature": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": { + "version": "9d122b7e8c1a5c72506eea50c0973cba55b92b5532d5cafa8a6ce2c547d57551", + "signature": "9d122b7e8c1a5c72506eea50c0973cba55b92b5532d5cafa8a6ce2c547d57551", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts": { + "version": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "signature": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts": { + "version": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "signature": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": { + "version": "7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98", + "signature": "7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts": { + "version": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "signature": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts": { + "version": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "signature": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": { + "version": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "signature": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": { + "version": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "signature": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": { + "version": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "signature": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts": { + "version": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "signature": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts": { + "version": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "signature": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": { + "version": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts": { + "version": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "signature": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts": { + "version": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "signature": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts": { + "version": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "signature": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts": { + "version": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "signature": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": { + "version": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "signature": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts": { + "version": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "signature": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts": { + "version": "e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40", + "signature": "e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts": { + "version": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "signature": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": { + "version": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "signature": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts": { + "version": "31e8df2398e328077079c17ea4f1664bad0a34adf8b0608837e504e310e329a1", + "signature": "31e8df2398e328077079c17ea4f1664bad0a34adf8b0608837e504e310e329a1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts": { + "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts": { + "version": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "signature": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts": { + "version": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "signature": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.weakref.d.ts": { + "version": "1e61418f41d404e744b6536af9f8c6f6674dd4d54c12335cd0c4f7eded69cf3f", + "signature": "1e61418f41d404e744b6536af9f8c6f6674dd4d54c12335cd0c4f7eded69cf3f", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts": { + "version": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "signature": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "target": 99, + "composite": true, + "sourceMap": true, + "outDir": "./out", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.weakref.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..1ff59ac31 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.65 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 94 bytes [emitted] + lib/out/index.js.map 202 bytes [emitted] +lib/tsconfig.tsbuildinfo 17.2 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 81 bytes {main} [built] +[./lib/src/index.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..4cd40bf50 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/src/index.ts": +/*!**************************!*\ + !*** ./lib/src/index.ts ***! + \**************************/ +/*! exports provided: lib */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/out/index.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/out/index.js new file mode 100644 index 000000000..601001a45 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/out/index.js @@ -0,0 +1,6 @@ +export const lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/out/index.js.map new file mode 100644 index 000000000..e54726f0a --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d8ed1c51c --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,311 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.d.ts": { + "version": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "signature": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2016.d.ts": { + "version": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "signature": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2017.d.ts": { + "version": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "signature": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2018.d.ts": { + "version": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2019.d.ts": { + "version": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "signature": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2020.d.ts": { + "version": "e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940", + "signature": "e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.esnext.d.ts": { + "version": "fc7a21dd3ee27fd0a9ff1c46534efcd9c3cec51a445b479bb326d871c0aa8302", + "signature": "fc7a21dd3ee27fd0a9ff1c46534efcd9c3cec51a445b479bb326d871c0aa8302", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts": { + "version": "d42f4141bd9ce82b4e2902f26acb00c183e321be19a38bbc0e76a922c1724c94", + "signature": "d42f4141bd9ce82b4e2902f26acb00c183e321be19a38bbc0e76a922c1724c94", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts": { + "version": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "signature": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts": { + "version": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "signature": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts": { + "version": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "signature": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts": { + "version": "8b2a5df1ce95f78f6b74f1a555ccdb6baab0486b42d8345e0871dd82811f9b9a", + "signature": "8b2a5df1ce95f78f6b74f1a555ccdb6baab0486b42d8345e0871dd82811f9b9a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts": { + "version": "2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c", + "signature": "2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts": { + "version": "7207e317a2cb07a177e7d963ab7b8c0e85dde7f9ddb50351f830239bf597569e", + "signature": "7207e317a2cb07a177e7d963ab7b8c0e85dde7f9ddb50351f830239bf597569e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts": { + "version": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "signature": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts": { + "version": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "signature": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": { + "version": "9d122b7e8c1a5c72506eea50c0973cba55b92b5532d5cafa8a6ce2c547d57551", + "signature": "9d122b7e8c1a5c72506eea50c0973cba55b92b5532d5cafa8a6ce2c547d57551", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts": { + "version": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "signature": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts": { + "version": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "signature": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": { + "version": "7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98", + "signature": "7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts": { + "version": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "signature": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts": { + "version": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "signature": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": { + "version": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "signature": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": { + "version": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "signature": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": { + "version": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "signature": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts": { + "version": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "signature": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts": { + "version": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "signature": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": { + "version": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts": { + "version": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "signature": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts": { + "version": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "signature": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts": { + "version": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "signature": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts": { + "version": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "signature": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": { + "version": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "signature": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts": { + "version": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "signature": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts": { + "version": "e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40", + "signature": "e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts": { + "version": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "signature": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": { + "version": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "signature": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts": { + "version": "31e8df2398e328077079c17ea4f1664bad0a34adf8b0608837e504e310e329a1", + "signature": "31e8df2398e328077079c17ea4f1664bad0a34adf8b0608837e504e310e329a1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts": { + "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts": { + "version": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "signature": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts": { + "version": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "signature": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.weakref.d.ts": { + "version": "1e61418f41d404e744b6536af9f8c6f6674dd4d54c12335cd0c4f7eded69cf3f", + "signature": "1e61418f41d404e744b6536af9f8c6f6674dd4d54c12335cd0c4f7eded69cf3f", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts": { + "version": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "signature": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "target": 99, + "composite": true, + "sourceMap": true, + "outDir": "./out", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.weakref.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..1ff59ac31 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.65 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 94 bytes [emitted] + lib/out/index.js.map 202 bytes [emitted] +lib/tsconfig.tsbuildinfo 17.2 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 81 bytes {main} [built] +[./lib/src/index.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..4cd40bf50 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__[\"lib\"].three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/src/index.ts": +/*!**************************!*\ + !*** ./lib/src/index.ts ***! + \**************************/ +/*! exports provided: lib */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lib\", function() { return lib; });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/out/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/out/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/out/index.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/out/index.js new file mode 100644 index 000000000..601001a45 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/out/index.js @@ -0,0 +1,6 @@ +export const lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/out/index.js.map new file mode 100644 index 000000000..e54726f0a --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/out/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d8ed1c51c --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,311 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.d.ts": { + "version": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "signature": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2016.d.ts": { + "version": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "signature": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2017.d.ts": { + "version": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "signature": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2018.d.ts": { + "version": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2019.d.ts": { + "version": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "signature": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es2020.d.ts": { + "version": "e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940", + "signature": "e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.esnext.d.ts": { + "version": "fc7a21dd3ee27fd0a9ff1c46534efcd9c3cec51a445b479bb326d871c0aa8302", + "signature": "fc7a21dd3ee27fd0a9ff1c46534efcd9c3cec51a445b479bb326d871c0aa8302", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts": { + "version": "d42f4141bd9ce82b4e2902f26acb00c183e321be19a38bbc0e76a922c1724c94", + "signature": "d42f4141bd9ce82b4e2902f26acb00c183e321be19a38bbc0e76a922c1724c94", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts": { + "version": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "signature": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts": { + "version": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "signature": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts": { + "version": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "signature": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts": { + "version": "8b2a5df1ce95f78f6b74f1a555ccdb6baab0486b42d8345e0871dd82811f9b9a", + "signature": "8b2a5df1ce95f78f6b74f1a555ccdb6baab0486b42d8345e0871dd82811f9b9a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts": { + "version": "2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c", + "signature": "2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts": { + "version": "7207e317a2cb07a177e7d963ab7b8c0e85dde7f9ddb50351f830239bf597569e", + "signature": "7207e317a2cb07a177e7d963ab7b8c0e85dde7f9ddb50351f830239bf597569e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts": { + "version": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "signature": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts": { + "version": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "signature": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": { + "version": "9d122b7e8c1a5c72506eea50c0973cba55b92b5532d5cafa8a6ce2c547d57551", + "signature": "9d122b7e8c1a5c72506eea50c0973cba55b92b5532d5cafa8a6ce2c547d57551", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts": { + "version": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "signature": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts": { + "version": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "signature": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": { + "version": "7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98", + "signature": "7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts": { + "version": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "signature": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts": { + "version": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "signature": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": { + "version": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "signature": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": { + "version": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "signature": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": { + "version": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "signature": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts": { + "version": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "signature": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts": { + "version": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "signature": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": { + "version": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts": { + "version": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "signature": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts": { + "version": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "signature": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts": { + "version": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "signature": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts": { + "version": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "signature": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": { + "version": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "signature": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts": { + "version": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "signature": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts": { + "version": "e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40", + "signature": "e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts": { + "version": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "signature": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": { + "version": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "signature": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts": { + "version": "31e8df2398e328077079c17ea4f1664bad0a34adf8b0608837e504e310e329a1", + "signature": "31e8df2398e328077079c17ea4f1664bad0a34adf8b0608837e504e310e329a1", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts": { + "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts": { + "version": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "signature": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts": { + "version": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "signature": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.weakref.d.ts": { + "version": "1e61418f41d404e744b6536af9f8c6f6674dd4d54c12335cd0c4f7eded69cf3f", + "signature": "1e61418f41d404e744b6536af9f8c6f6674dd4d54c12335cd0c4f7eded69cf3f", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts": { + "version": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "signature": "d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "target": 99, + "composite": true, + "sourceMap": true, + "outDir": "./out", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.core.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts", + "../../../node_modules/typescript/lib/lib.es2016.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.array.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.object.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.intl.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.promise.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.string.d.ts", + "../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.full.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.promise.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.string.d.ts", + "../../../node_modules/typescript/lib/lib.esnext.weakref.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..1ff59ac31 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.65 KiB main [emitted] main + lib/out/index.d.ts 84 bytes [emitted] + lib/out/index.js 94 bytes [emitted] + lib/out/index.js.map 202 bytes [emitted] +lib/tsconfig.tsbuildinfo 17.2 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 81 bytes {main} [built] +[./lib/src/index.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/app/dist/index.js new file mode 100644 index 000000000..6536c80d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/common/dist/index.js new file mode 100644 index 000000000..4a8b0cf63 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..32831174a --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/common/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/lib/dist/index.js new file mode 100644 index 000000000..7cdad23de --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..916d2f0ec --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..940647ba2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 176 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 232 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 4.98 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 232 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/app/dist/index.js new file mode 100644 index 000000000..9f5a2215c --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/lib/dist/index.js new file mode 100644 index 000000000..bb1ab736d --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..00f7f1ad3 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..aa1e397cc --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 4.98 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 236 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] [1 error] + +ERROR in app/src/index.ts +./src/index.ts +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: '"../../lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/app/dist/index.js new file mode 100644 index 000000000..ddbcf8278 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/common/dist/index.js new file mode 100644 index 000000000..4a8b0cf63 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..32831174a --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/dist/index.js new file mode 100644 index 000000000..7cdad23de --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..916d2f0ec --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..c6b8c56bd --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 176 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 232 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 5.02 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 232 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/app/dist/index.js new file mode 100644 index 000000000..7378d5df7 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/dist/index.js new file mode 100644 index 000000000..bb1ab736d --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..00f7f1ad3 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..81512575e --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 5.02 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 236 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/app/dist/index.js new file mode 100644 index 000000000..6536c80d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/common/dist/index.js new file mode 100644 index 000000000..4a8b0cf63 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d7bfe55e2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/common/tsconfig.tsbuildinfo @@ -0,0 +1,58 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/lib/dist/index.js new file mode 100644 index 000000000..7cdad23de --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..06f810720 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..7a1337b43 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 176 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.41 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 232 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 4.98 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 232 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/app/dist/index.js new file mode 100644 index 000000000..9f5a2215c --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/lib/dist/index.js new file mode 100644 index 000000000..bb1ab736d --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3d82dcc83 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..ce861ab73 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 4.98 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 236 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] [1 error] + +ERROR in app/src/index.ts +./src/index.ts +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/app/dist/index.js new file mode 100644 index 000000000..ddbcf8278 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/common/dist/index.js new file mode 100644 index 000000000..4a8b0cf63 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d7bfe55e2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo @@ -0,0 +1,58 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/dist/index.js new file mode 100644 index 000000000..7cdad23de --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..06f810720 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..ec4613cad --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 176 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.41 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 232 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 5.02 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 232 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/app/dist/index.js new file mode 100644 index 000000000..7378d5df7 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/dist/index.js new file mode 100644 index 000000000..bb1ab736d --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3d82dcc83 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..d0c3c585d --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 5.02 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 236 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/app/dist/index.js new file mode 100644 index 000000000..6536c80d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/common/dist/index.js new file mode 100644 index 000000000..4a8b0cf63 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d7bfe55e2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/common/tsconfig.tsbuildinfo @@ -0,0 +1,58 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/lib/dist/index.js new file mode 100644 index 000000000..7cdad23de --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..06f810720 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..7a1337b43 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 176 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.41 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 232 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 4.98 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 232 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/app/dist/index.js new file mode 100644 index 000000000..9f5a2215c --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.js new file mode 100644 index 000000000..bb1ab736d --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3d82dcc83 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..ce861ab73 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 4.98 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 236 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] [1 error] + +ERROR in app/src/index.ts +./src/index.ts +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/app/dist/index.js new file mode 100644 index 000000000..ddbcf8278 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/common/dist/index.js new file mode 100644 index 000000000..4a8b0cf63 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d7bfe55e2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo @@ -0,0 +1,58 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.js new file mode 100644 index 000000000..7cdad23de --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..06f810720 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..ec4613cad --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 176 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.41 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 232 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 5.02 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 232 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/app/dist/index.js new file mode 100644 index 000000000..7378d5df7 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.js new file mode 100644 index 000000000..bb1ab736d --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3d82dcc83 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,68 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../node_modules/common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "preserveSymlinks": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../node_modules/common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../node_modules/common/dist/index.d.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..d0c3c585d --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.8 KiB [emitted] + index.js 5.02 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 236 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/app/dist/index.js new file mode 100644 index 000000000..6536c80d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/common/dist/index.js new file mode 100644 index 000000000..4a8b0cf63 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..32831174a --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/common/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/lib/dist/index.js new file mode 100644 index 000000000..7cdad23de --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..916d2f0ec --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..940647ba2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 176 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 232 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 4.98 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 232 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/app/dist/index.js new file mode 100644 index 000000000..9f5a2215c --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.js new file mode 100644 index 000000000..bb1ab736d --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..00f7f1ad3 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..aa1e397cc --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 4.98 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 236 bytes {main} [built] +[./src/index.ts] 108 bytes {main} [built] [1 error] + +ERROR in app/src/index.ts +./src/index.ts +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: '"../../lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/app/dist/index.js new file mode 100644 index 000000000..ddbcf8278 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/common/dist/index.d.ts new file mode 100644 index 000000000..f5c6ea299 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/common/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife2: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/common/dist/index.js new file mode 100644 index 000000000..4a8b0cf63 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..32831174a --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/common/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./src/index.ts": { + "version": "04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.d.ts new file mode 100644 index 000000000..fdb004ae6 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.js new file mode 100644 index 000000000..7cdad23de --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..916d2f0ec --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635", + "signature": "cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..c6b8c56bd --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + ../../common/dist/index.d.ts 54 bytes [emitted] + ../../common/dist/index.js 176 bytes [emitted] +../../common/tsconfig.tsbuildinfo 2.38 KiB [emitted] + ../../lib/dist/index.d.ts 53 bytes [emitted] + ../../lib/dist/index.js 232 bytes [emitted] + ../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 5.02 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 232 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/app/dist/index.js new file mode 100644 index 000000000..7378d5df7 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/app/dist/index.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }), + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log(lib_1.getMeaningOfLife());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts new file mode 100644 index 000000000..c8844a138 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.d.ts @@ -0,0 +1 @@ +export declare const getMeaningOfLife3: () => number; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.js new file mode 100644 index 000000000..bb1ab736d --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +exports.__esModule = true; +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return common_1.getMeaningOfLife2(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..00f7f1ad3 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,67 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "../common/dist/index.d.ts": { + "version": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "signature": "ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729", + "affectsGlobalScope": false + }, + "./src/index.ts": { + "version": "852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9", + "signature": "f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src", + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./src/index.ts": [ + "../common/dist/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../common/dist/index.d.ts", + "./src/index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..81512575e --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + ../../lib/dist/index.d.ts 54 bytes [emitted] + ../../lib/dist/index.js 236 bytes [emitted] +../../lib/tsconfig.tsbuildinfo 2.73 KiB [emitted] + index.js 5.02 KiB main [emitted] main +Entrypoint main = index.js +[../common/dist/index.js] 176 bytes {main} [built] +[../lib/dist/index.js] 236 bytes {main} [built] +[./src/index.ts] 144 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..ceca3b200 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..07f654ffd --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..9032c302b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5e715510c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..2edab3ba4 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.33 KiB main [emitted] main + lib/index.d.ts 102 bytes [emitted] + lib/index.js 183 bytes [emitted] + lib/index.js.map 221 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..8cf5e9561 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..3993b8991 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/bundle.js new file mode 100644 index 000000000..8cf5e9561 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt new file mode 100644 index 000000000..cdf7bfbc0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] [2 errors] + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/bundle.js new file mode 100644 index 000000000..f95b56d68 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/index.js.map new file mode 100644 index 000000000..6e255ed17 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..99a08ef2a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/output.txt new file mode 100644 index 000000000..4dfbb6e5b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.37 KiB main [emitted] main + lib/index.d.ts 120 bytes [emitted] + lib/index.js 178 bytes [emitted] + lib/index.js.map 228 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/bundle.js new file mode 100644 index 000000000..d45f528f1 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt new file mode 100644 index 000000000..e5095f9ca --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.38 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 186 bytes {main} [built] [1 error] +[./lib/index.ts] 145 bytes {main} + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch5/bundle.js new file mode 100644 index 000000000..064d19ca9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch5/output.txt new file mode 100644 index 000000000..1bed26fd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.38 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 185 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..746f03b67 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..9032c302b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5e715510c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..0843d3fab --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.37 KiB main [emitted] main + lib/index.d.ts 102 bytes [emitted] + lib/index.js 183 bytes [emitted] + lib/index.js.map 221 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..78ed26c6a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..cd340511e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch2/output.txt new file mode 100644 index 000000000..978b955fa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch2/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] [2 errors] +[./lib/index.ts] 150 bytes {main} [built] + +ERROR in [tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in [tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/bundle.js new file mode 100644 index 000000000..ec0c99cc9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/index.js.map new file mode 100644 index 000000000..6e255ed17 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..99a08ef2a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/output.txt new file mode 100644 index 000000000..70c81c60c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.4 KiB main [emitted] main + lib/index.d.ts 120 bytes [emitted] + lib/index.js 178 bytes [emitted] + lib/index.js.map 228 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch4/bundle.js new file mode 100644 index 000000000..c477f0bbc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch4/output.txt new file mode 100644 index 000000000..69914dca7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch4/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 222 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch5/bundle.js new file mode 100644 index 000000000..d8959b73c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch5/output.txt new file mode 100644 index 000000000..1a00574d3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.1/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 221 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..1d7adbfc8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5c601e520 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..24e223bab --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.82 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..4cb2a7cd8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4c053c314 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..e150024bd --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.83 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..bac3c372e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..f739556e6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.95 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 215 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..d17d9411c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5c601e520 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..5d15efcf6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.86 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..eac881063 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4c053c314 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..e939e9524 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.87 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..a83eea133 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..a01758221 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.99 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 251 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..1d7adbfc8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..ee41e2612 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.82 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..c142b33d8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5af984eac --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..42d9d72d3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.83 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..2919f8072 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9116c105c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..80fbd3bd8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.85 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch2/bundle.js new file mode 100644 index 000000000..cd02ff9fa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch2/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch2/output.txt new file mode 100644 index 000000000..76971748c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.1/patch2/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.97 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 215 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..d17d9411c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..ffca29969 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.86 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..09058d361 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5af984eac --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..352b01adc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.87 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..2a95f4826 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9116c105c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..649d0875c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.88 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch2/bundle.js new file mode 100644 index 000000000..321d958fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch2/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt new file mode 100644 index 000000000..b1fa5e71e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.1/patch2/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 5 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 251 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..1d7adbfc8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..332b6c126 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,8 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.82 KiB main [emitted] main +tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..c142b33d8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5af984eac --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..e2ad0dd82 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.83 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7aa22a7c1 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch0/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11215156582", + "signature": "11215156582", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..2919f8072 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9116c105c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..475bc8cca --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.85 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/bundle.js new file mode 100644 index 000000000..cd02ff9fa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt new file mode 100644 index 000000000..0097b02fd --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt @@ -0,0 +1,8 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.97 KiB main [emitted] main +tsconfig.tsbuildinfo 1.72 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 215 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0ec5162cf --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/patch2/tsconfig.tsbuildinfo @@ -0,0 +1,63 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11215156582", + "signature": "11215156582", + "affectsGlobalScope": false + }, + "./lib/helper.d.ts": { + "version": "7897218607", + "signature": "7897218607", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-12553192154", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/helper.d.ts", + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo new file mode 100644 index 000000000..c6ef42e1b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "12503634626", + "signature": "12503634626", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..d17d9411c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..ffca29969 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.86 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..09058d361 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5af984eac --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..352b01adc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.87 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..2a95f4826 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9116c105c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..649d0875c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.88 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/bundle.js new file mode 100644 index 000000000..321d958fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt new file mode 100644 index 000000000..b1fa5e71e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 5 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 251 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..1d7adbfc8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..ee41e2612 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.82 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..c142b33d8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5af984eac --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..42d9d72d3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.83 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..2919f8072 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9116c105c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..80fbd3bd8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.85 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch2/bundle.js new file mode 100644 index 000000000..cd02ff9fa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch2/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch2/output.txt new file mode 100644 index 000000000..76971748c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.1/patch2/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.97 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 215 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..d17d9411c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..ffca29969 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.86 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..09058d361 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5af984eac --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..352b01adc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.87 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} +[./lib/index.ts] 224 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..2a95f4826 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js new file mode 100644 index 000000000..c526f1a8b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js.map new file mode 100644 index 000000000..75ee60e19 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9116c105c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..649d0875c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.88 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 102 bytes [emitted] + lib/index.js 257 bytes [emitted] + lib/index.js.map 252 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch2/bundle.js new file mode 100644 index 000000000..321d958fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch2/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt new file mode 100644 index 000000000..b1fa5e71e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 5 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 251 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 224 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..1d7adbfc8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5c601e520 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..9c6ab352c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.82 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..4cb2a7cd8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4c053c314 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..06cd61d80 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,14 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.83 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..bac3c372e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..4b6636b9a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,8 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.95 KiB main [emitted] main +tsconfig.tsbuildinfo 1.72 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 215 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d6515d08e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/patch1/tsconfig.tsbuildinfo @@ -0,0 +1,63 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "12503634626", + "signature": "12503634626", + "affectsGlobalScope": false + }, + "./lib/helper.d.ts": { + "version": "7897218607", + "signature": "7897218607", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-12553192154", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/helper.d.ts", + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo new file mode 100644 index 000000000..c6ef42e1b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "12503634626", + "signature": "12503634626", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..d17d9411c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5c601e520 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..5d15efcf6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.86 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..eac881063 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4c053c314 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..e939e9524 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.87 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..a83eea133 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..a01758221 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.99 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 251 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..1d7adbfc8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5c601e520 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..24e223bab --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.82 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..4cb2a7cd8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4c053c314 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..e150024bd --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.83 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..bac3c372e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..f739556e6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.95 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 215 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..d17d9411c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/helper.d.ts new file mode 100644 index 000000000..ea0d91498 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/helper.d.ts @@ -0,0 +1,5 @@ +export declare const helper: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/helper.js new file mode 100644 index 000000000..1159a61fe --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/helper.js.map new file mode 100644 index 000000000..8de705855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5c601e520 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238", + "signature": "9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..5d15efcf6 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.86 KiB main [emitted] main + lib/helper.d.ts 87 bytes [emitted] + lib/helper.js 159 bytes [emitted] + lib/helper.js.map 190 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 125 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..eac881063 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts new file mode 100644 index 000000000..c9fffcbf7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.d.ts @@ -0,0 +1,6 @@ +export declare const helper: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js new file mode 100644 index 000000000..fd4291075 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map new file mode 100644 index 000000000..9bdff574b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js new file mode 100644 index 000000000..2944247f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..c02fb5203 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4c053c314 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,66 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./helper.ts": { + "version": "1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c", + "signature": "695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a", + "affectsGlobalScope": false + }, + "./index.ts": { + "version": "bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./index.ts": [ + "./helper.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./helper.ts", + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..e939e9524 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,13 @@ + Asset Size Chunks Chunk Names + bundle.js 4.87 KiB main [emitted] main + lib/helper.d.ts 105 bytes [emitted] + lib/helper.js 172 bytes [emitted] + lib/helper.js.map 210 bytes [emitted] + lib/index.d.ts 84 bytes [emitted] + lib/index.js 244 bytes [emitted] + lib/index.js.map 232 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.66 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} [built] +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..a83eea133 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..a01758221 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.99 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 251 bytes {main} [built] +[./lib/helper.ts] 138 bytes {main} +[./lib/index.ts] 211 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..f83b087db --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..07f654ffd --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..9032c302b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5e715510c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..4ea4bea27 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.33 KiB main [emitted] main + lib/index.d.ts 102 bytes [emitted] + lib/index.js 183 bytes [emitted] + lib/index.js.map 221 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7aa22a7c1 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch0/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11215156582", + "signature": "11215156582", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..8cf5e9561 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..f890173c0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,7 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.37 KiB main [emitted] main +tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/tsconfig.tsbuildinfo new file mode 100644 index 000000000..833ab2384 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch1/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11215156582", + "signature": "11215156582", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-16299197056", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/bundle.js new file mode 100644 index 000000000..8cf5e9561 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt new file mode 100644 index 000000000..6eff0cd61 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt @@ -0,0 +1,16 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] [2 errors] + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/bundle.js new file mode 100644 index 000000000..f95b56d68 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/index.js.map new file mode 100644 index 000000000..6e255ed17 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..99a08ef2a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/output.txt new file mode 100644 index 000000000..8b961e865 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.37 KiB main [emitted] main + lib/index.d.ts 120 bytes [emitted] + lib/index.js 178 bytes [emitted] + lib/index.js.map 228 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] + tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d08699115 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch3/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11496633944", + "signature": "11496633944", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-16299197056", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/bundle.js new file mode 100644 index 000000000..d45f528f1 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt new file mode 100644 index 000000000..5367b0c7d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt @@ -0,0 +1,12 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.38 KiB main [emitted] main +tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 186 bytes {main} [built] [1 error] +[./lib/index.ts] 145 bytes {main} + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/tsconfig.tsbuildinfo new file mode 100644 index 000000000..894b02034 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11496633944", + "signature": "11496633944", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-26657554079", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/bundle.js new file mode 100644 index 000000000..064d19ca9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/output.txt new file mode 100644 index 000000000..d5d29912d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/output.txt @@ -0,0 +1,7 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] + bundle.js 4.38 KiB main [emitted] main +tsconfig.tsbuildinfo 1.56 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 185 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/tsconfig.tsbuildinfo new file mode 100644 index 000000000..c453c2018 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch5/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "11496633944", + "signature": "11496633944", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-21839530949", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo new file mode 100644 index 000000000..c6ef42e1b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/tsconfig.tsbuildinfo @@ -0,0 +1,57 @@ +{ + "program": { + "fileInfos": { + "../../node_modules/typescript/lib/lib.d.ts": { + "version": "-10496480823", + "signature": "-10496480823", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "1122558515312", + "signature": "1122558515312", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "1735661928823", + "signature": "1735661928823", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "-24714112149", + "signature": "-24714112149", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "204309182321", + "signature": "204309182321", + "affectsGlobalScope": true + }, + "./lib/index.d.ts": { + "version": "12503634626", + "signature": "12503634626", + "affectsGlobalScope": false + }, + "./app.ts": { + "version": "-14331559384", + "signature": "-3531856636", + "affectsGlobalScope": false + } + }, + "options": { + "types": [], + "composite": true, + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": { + "./app.ts": [ + "./lib/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..746f03b67 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..9032c302b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5e715510c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..0843d3fab --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.37 KiB main [emitted] main + lib/index.d.ts 102 bytes [emitted] + lib/index.js 183 bytes [emitted] + lib/index.js.map 221 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..78ed26c6a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..cd340511e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt new file mode 100644 index 000000000..978b955fa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] [2 errors] +[./lib/index.ts] 150 bytes {main} [built] + +ERROR in [tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in [tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/bundle.js new file mode 100644 index 000000000..ec0c99cc9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js.map new file mode 100644 index 000000000..6e255ed17 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..99a08ef2a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/output.txt new file mode 100644 index 000000000..70c81c60c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.4 KiB main [emitted] main + lib/index.d.ts 120 bytes [emitted] + lib/index.js 178 bytes [emitted] + lib/index.js.map 228 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch4/bundle.js new file mode 100644 index 000000000..c477f0bbc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch4/output.txt new file mode 100644 index 000000000..69914dca7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch4/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 222 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch5/bundle.js new file mode 100644 index 000000000..d8959b73c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch5/output.txt new file mode 100644 index 000000000..1a00574d3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.1/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 221 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..2076d22c4 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..ceca3b200 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.3 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..07f654ffd --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..9032c302b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5e715510c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..2edab3ba4 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.33 KiB main [emitted] main + lib/index.d.ts 102 bytes [emitted] + lib/index.js 183 bytes [emitted] + lib/index.js.map 221 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 131 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..8cf5e9561 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..3993b8991 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/bundle.js new file mode 100644 index 000000000..8cf5e9561 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt new file mode 100644 index 000000000..cdf7bfbc0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names +bundle.js 4.37 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] [2 errors] + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in lib/index.ts +./lib/index.ts +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/bundle.js new file mode 100644 index 000000000..f95b56d68 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/index.js.map new file mode 100644 index 000000000..6e255ed17 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..99a08ef2a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/output.txt new file mode 100644 index 000000000..4dfbb6e5b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.37 KiB main [emitted] main + lib/index.d.ts 120 bytes [emitted] + lib/index.js 178 bytes [emitted] + lib/index.js.map 228 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 169 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/bundle.js new file mode 100644 index 000000000..d45f528f1 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt new file mode 100644 index 000000000..e5095f9ca --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.38 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 186 bytes {main} [built] [1 error] +[./lib/index.ts] 145 bytes {main} + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch5/bundle.js new file mode 100644 index 000000000..064d19ca9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch5/output.txt new file mode 100644 index 000000000..1bed26fd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.38 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 185 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..71e75f124 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts new file mode 100644 index 000000000..73d752279 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/index.d.ts @@ -0,0 +1,5 @@ +export declare const lib: { + one: number; + two: number; + three: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/index.js new file mode 100644 index 000000000..e352a1efb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map new file mode 100644 index 000000000..d40fd63b7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..70c8e7a76 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839", + "signature": "82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..3c755fe2c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.34 KiB main [emitted] main + lib/index.d.ts 84 bytes [emitted] + lib/index.js 152 bytes [emitted] + lib/index.js.map 188 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 119 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..746f03b67 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts new file mode 100644 index 000000000..78e83617f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.d.ts @@ -0,0 +1,6 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js new file mode 100644 index 000000000..8826dde5f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map new file mode 100644 index 000000000..9032c302b --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5e715510c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28", + "signature": "4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..0843d3fab --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.37 KiB main [emitted] main + lib/index.d.ts 102 bytes [emitted] + lib/index.js 183 bytes [emitted] + lib/index.js.map 221 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 167 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..78ed26c6a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..cd340511e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/index.ts] 150 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt new file mode 100644 index 000000000..978b955fa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch2/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.41 KiB main main +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] [2 errors] +[./lib/index.ts] 150 bytes {main} [built] + +ERROR in [tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. + +ERROR in [tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/bundle.js new file mode 100644 index 000000000..ec0c99cc9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.d.ts new file mode 100644 index 000000000..bf8664e75 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.d.ts @@ -0,0 +1,7 @@ +export declare const lib: { + one: number; + two: number; + three: number; + four: number; + five: number; +}; diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js new file mode 100644 index 000000000..2a51bc571 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +exports.__esModule = true; +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js.map new file mode 100644 index 000000000..6e255ed17 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..99a08ef2a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1,56 @@ +{ + "program": { + "fileInfos": { + "../../../node_modules/typescript/lib/lib.d.ts": { + "version": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "signature": "2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60", + "affectsGlobalScope": false + }, + "../../../node_modules/typescript/lib/lib.es5.d.ts": { + "version": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "signature": "69f0c334b0ee4235f6219b22f42e4fa04b414535c782b4dda793ed1918cc835c", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.dom.d.ts": { + "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { + "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", + "affectsGlobalScope": true + }, + "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { + "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", + "affectsGlobalScope": true + }, + "./index.ts": { + "version": "c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963", + "signature": "64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8", + "affectsGlobalScope": false + } + }, + "options": { + "composite": true, + "sourceMap": true, + "types": [], + "newLine": 1, + "configFilePath": "./tsconfig.json", + "skipLibCheck": true, + "suppressOutputPathCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./index.ts", + "../../../node_modules/typescript/lib/lib.d.ts", + "../../../node_modules/typescript/lib/lib.dom.d.ts", + "../../../node_modules/typescript/lib/lib.es5.d.ts", + "../../../node_modules/typescript/lib/lib.scripthost.d.ts", + "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts" + ] + }, + "version": "4.1.2" +} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/output.txt new file mode 100644 index 000000000..70c81c60c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch3/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names + bundle.js 4.4 KiB main [emitted] main + lib/index.d.ts 120 bytes [emitted] + lib/index.js 178 bytes [emitted] + lib/index.js.map 228 bytes [emitted] +lib/tsconfig.tsbuildinfo 2.34 KiB [emitted] +Entrypoint main = bundle.js +[./app.ts] 205 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch4/bundle.js new file mode 100644 index 000000000..c477f0bbc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch4/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch4/output.txt new file mode 100644 index 000000000..69914dca7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch4/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 222 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch5/bundle.js new file mode 100644 index 000000000..d8959b73c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch5/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch5/output.txt new file mode 100644 index 000000000..1a00574d3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.1/patch5/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.42 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 221 bytes {main} [built] +[./lib/index.ts] 145 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-4.1/bundle.js b/test/comparison-tests/replacement/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..bb45415c7 --- /dev/null +++ b/test/comparison-tests/replacement/expectedOutput-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./sub/dep.ts": +/*!********************!*\ + !*** ./sub/dep.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-4.1/output.txt b/test/comparison-tests/replacement/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..74e906a99 --- /dev/null +++ b/test/comparison-tests/replacement/expectedOutput-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.49 KiB main [emitted] main +Entrypoint main = bundle.js +[./a.ts] 64 bytes {main} [built] +[./app.ts] 81 bytes {main} [built] +[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/replacement/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..ba30e0904 --- /dev/null +++ b/test/comparison-tests/replacement/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./sub/dep.ts": +/*!********************!*\ + !*** ./sub/dep.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/replacement/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..2083a5363 --- /dev/null +++ b/test/comparison-tests/replacement/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.53 KiB main [emitted] main +Entrypoint main = bundle.js +[./a.ts] 64 bytes {main} [built] +[./app.ts] 117 bytes {main} [built] +[./sub/dep.ts] 61 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-4.1/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..f0c912af6 --- /dev/null +++ b/test/comparison-tests/reportFiles/expectedOutput-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.a = void 0;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./skip.ts": +/*!*****************!*\ + !*** ./skip.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nexports.a = void 0;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt b/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..5211bb195 --- /dev/null +++ b/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names +bundle.js 4.2 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 98 bytes {main} [built] [1 error] +[./skip.ts] 79 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,1) + TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..a1fbc5e07 --- /dev/null +++ b/test/comparison-tests/reportFiles/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.a = void 0;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./skip.ts": +/*!*****************!*\ + !*** ./skip.ts ***! + \*****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.a = void 0;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/reportFiles/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..77560aba9 --- /dev/null +++ b/test/comparison-tests/reportFiles/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.27 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 134 bytes {main} [built] +[./skip.ts] 115 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/app.d.ts b/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/app.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/app.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/bundle.js b/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..78e3ec85f --- /dev/null +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/bundle.js @@ -0,0 +1 @@ +!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";t.__esModule=!0;var n=r(1);console.log(n.foo)},function(e){e.exports=JSON.parse('{"foo":"bar"}')}]); \ No newline at end of file diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/output.txt b/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..74cae6627 --- /dev/null +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-4.1/output.txt @@ -0,0 +1,10 @@ + Asset Size Chunks Chunk Names + app.d.ts 11 bytes [emitted] +bundle.js 1.02 KiB 0 [emitted] main +Entrypoint main = bundle.js +[0] ./app.ts 99 bytes {0} [built] +[1] ./file.json 18 bytes {0} [built] + +WARNING in configuration +The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. +You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/ \ No newline at end of file diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..51ef0796e --- /dev/null +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1 @@ +!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1);console.log(n.foo)},function(e){e.exports=JSON.parse('{"foo":"bar"}')}]); \ No newline at end of file diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..5b907a54c --- /dev/null +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +bundle.js 1.05 KiB 0 [emitted] main +Entrypoint main = bundle.js +[0] ./app.ts 135 bytes {0} [built] +[1] ./file.json 18 bytes {0} [built] + +WARNING in configuration +The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. +You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/ \ No newline at end of file diff --git a/test/comparison-tests/run-tests.js b/test/comparison-tests/run-tests.js index 6bd92043c..84fced0e1 100644 --- a/test/comparison-tests/run-tests.js +++ b/test/comparison-tests/run-tests.js @@ -11,7 +11,7 @@ const typescriptVersion = parseFloat( semver.major(typescript.version) + '.' + semver.minor(typescript.version) ); // @ts-ignore -if (typescriptVersion < 4.0 || typescriptVersion > 4.0) return; +if (typescriptVersion < 4.1 || typescriptVersion > 4.1) return; // Build const program = getProgram(path.resolve(__dirname, 'tsconfig.json')); diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..c0a362098 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./deeperDep.ts": +/*!**********************!*\ + !*** ./deeperDep.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..a01fdfb5e --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.53 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 78 bytes {main} [built] +[./deeperDep.ts] 76 bytes {main} [built] +[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..c0a362098 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./deeperDep.ts": +/*!**********************!*\ + !*** ./deeperDep.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..0f981418b --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.53 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 78 bytes {main} [1 error] +[./deeperDep.ts] 76 bytes {main} [built] +[./dep.ts] 70 bytes {main} [built] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(3,5) + TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..c0a362098 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./deeperDep.ts": +/*!**********************!*\ + !*** ./deeperDep.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..46622b920 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.53 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 78 bytes {main} +[./deeperDep.ts] 76 bytes {main} [built] +[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..b2030b4d6 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./deeperDep.ts": +/*!**********************!*\ + !*** ./deeperDep.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..9205705a9 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.57 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 114 bytes {main} [built] +[./deeperDep.ts] 76 bytes {main} [built] +[./dep.ts] 70 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..b2030b4d6 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./deeperDep.ts": +/*!**********************!*\ + !*** ./deeperDep.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..3e9f611a1 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.57 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 114 bytes {main} +[./deeperDep.ts] 76 bytes {main} [built] +[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..b2030b4d6 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./deeperDep.ts": +/*!**********************!*\ + !*** ./deeperDep.ts ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..3e9f611a1 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,6 @@ + Asset Size Chunks Chunk Names +bundle.js 4.57 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 114 bytes {main} +[./deeperDep.ts] 76 bytes {main} [built] +[./dep.ts] 70 bytes {main} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-4.1/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..f3d4c05b6 --- /dev/null +++ b/test/comparison-tests/sourceMaps/expectedOutput-4.1/bundle.js @@ -0,0 +1,102 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +console.log('Hello world'); + + +/***/ }) + +/******/ }); +//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-4.1/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-4.1/bundle.js.map new file mode 100644 index 000000000..91873324b --- /dev/null +++ b/test/comparison-tests/sourceMaps/expectedOutput-4.1/bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./a.ts"],"names":[],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;AClFA,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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-4.1/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..536e8d3a9 --- /dev/null +++ b/test/comparison-tests/sourceMaps/expectedOutput-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names + bundle.js 3.74 KiB main [emitted] main +bundle.js.map 3.61 KiB main [emitted] [dev] main +Entrypoint main = bundle.js bundle.js.map +[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..f3d4c05b6 --- /dev/null +++ b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,102 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +console.log('Hello world'); + + +/***/ }) + +/******/ }); +//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.1/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.1/bundle.js.map new file mode 100644 index 000000000..91873324b --- /dev/null +++ b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.1/bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./a.ts"],"names":[],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;AClFA,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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..536e8d3a9 --- /dev/null +++ b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names + bundle.js 3.74 KiB main [emitted] main +bundle.js.map 3.61 KiB main [emitted] [dev] main +Entrypoint main = bundle.js bundle.js.map +[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/stub-new-version.js b/test/comparison-tests/stub-new-version.js index 1b076cf7c..a2c342f5b 100644 --- a/test/comparison-tests/stub-new-version.js +++ b/test/comparison-tests/stub-new-version.js @@ -8,8 +8,8 @@ const copySync = require('./copySync'); // find ./test/comparison-tests -type d -name '*expectedOutput*3.5' -print0 | xargs -0 -I {} /bin/rm -rf "{}" // update this manually when a new version comes out -const OLD_VERSION = '3.9'; -const NEW_VERSION = '4.0'; +const OLD_VERSION = '4.0'; +const NEW_VERSION = '4.1'; fs.readdirSync(__dirname).forEach(function(test) { const testPath = path.join(__dirname, test); diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..a7bc5cf47 --- /dev/null +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..a753c24fe --- /dev/null +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.1/output.txt @@ -0,0 +1,17 @@ + Asset Size Chunks Chunk Names +bundle.js 3.94 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 206 bytes {main} [built] [failed] [3 errors] + +ERROR in tsconfig.json +[tsl] ERROR + TS5024: Compiler option 'sourceMap' requires a value of type boolean. + +ERROR in tsconfig.json +[tsl] ERROR + TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'esnext'. + +ERROR in ./app.ts +Module build failed (from index.js): +Error: error while parsing tsconfig.json + at Object.loader (dist/index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..a7bc5cf47 --- /dev/null +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..a753c24fe --- /dev/null +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,17 @@ + Asset Size Chunks Chunk Names +bundle.js 3.94 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 206 bytes {main} [built] [failed] [3 errors] + +ERROR in tsconfig.json +[tsl] ERROR + TS5024: Compiler option 'sourceMap' requires a value of type boolean. + +ERROR in tsconfig.json +[tsl] ERROR + TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'esnext'. + +ERROR in ./app.ts +Module build failed (from index.js): +Error: error while parsing tsconfig.json + at Object.loader (dist/index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..8b151021a --- /dev/null +++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: /tsconfigInvalidFile/i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..dacba15c0 --- /dev/null +++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.1/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +bundle.js 4.04 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 309 bytes {main} [built] [failed] [1 error] + +ERROR in ./app.ts +Module build failed (from index.js): +Error: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts + at Object.loader (dist/index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..4906581d6 --- /dev/null +++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..6a1feb334 --- /dev/null +++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.73 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 0 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..afda5ae2f --- /dev/null +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36m/tsconfigNotReadable/tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..cf5a33d81 --- /dev/null +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-4.1/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.29 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 542 bytes {main} [built] [failed] [1 error] + +ERROR in ./app.ts +Module build failed (from index.js): +Error: error while reading tsconfig.json: +[tsl] ERROR in tsconfig.json(5,2) + TS1109: Expression expected. + at Object.loader (dist/index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..f4815d27a --- /dev/null +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: /u001b[31merror while reading tsconfig.json:/u001b[39m/n/u001b[31m/u001b[90m[tsl] /u001b[31m/u001b[1m/u001b[31mERROR/u001b[31m/u001b[22m/u001b[1m/u001b[31m in /u001b[31m/u001b[22m/u001b[1m/u001b[36m/tsconfigNotReadable.transpile/tsconfig.json(5,2)/u001b[31m/u001b[22m/u001b[39m/n/u001b[31m/u001b[1m/u001b[31m TS1109: Expression expected./u001b[31m/u001b[22m/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:18:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..565d4a92d --- /dev/null +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,11 @@ + Asset Size Chunks Chunk Names +bundle.js 4.3 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 552 bytes {main} [built] [failed] [1 error] + +ERROR in ./app.ts +Module build failed (from index.js): +Error: error while reading tsconfig.json: +[tsl] ERROR in tsconfig.json(5,2) + TS1109: Expression expected. + at Object.loader (dist/index.js:18:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-4.1/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..717083d76 --- /dev/null +++ b/test/comparison-tests/tsconfigSearch/expectedOutput-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./src/app.ts": +/*!********************!*\ + !*** ./src/app.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nexports.__esModule = true;\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-4.1/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..976f0477d --- /dev/null +++ b/test/comparison-tests/tsconfigSearch/expectedOutput-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.25 KiB main [emitted] main +Entrypoint main = bundle.js +[./lib/externalLib.js] 55 bytes {main} [built] +[./src/app.ts] 112 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..2ad0074c0 --- /dev/null +++ b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,112 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }), + +/***/ "./src/app.ts": +/*!********************!*\ + !*** ./src/app.ts ***! + \********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..5a910fad6 --- /dev/null +++ b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names +bundle.js 4.29 KiB main [emitted] main +Entrypoint main = bundle.js +[./lib/externalLib.js] 55 bytes {main} [built] +[./src/app.ts] 148 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..94f8c68e2 --- /dev/null +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..1b16d8347 --- /dev/null +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.95 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/bundle.js new file mode 100644 index 000000000..94f8c68e2 --- /dev/null +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt new file mode 100644 index 000000000..3de8aa6e6 --- /dev/null +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt @@ -0,0 +1,9 @@ + Asset Size Chunks Chunk Names +bundle.js 3.95 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 212 bytes {main} [built] [1 error] + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(11,5) + TS2741: Property 'b' is missing in type 'AType' but required in type 'BType'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch1/bundle.js new file mode 100644 index 000000000..94f8c68e2 --- /dev/null +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch1/output.txt new file mode 100644 index 000000000..1b16d8347 --- /dev/null +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.95 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..94f8c68e2 --- /dev/null +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..1b16d8347 --- /dev/null +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.95 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch0/bundle.js new file mode 100644 index 000000000..94f8c68e2 --- /dev/null +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch0/output.txt new file mode 100644 index 000000000..1b16d8347 --- /dev/null +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch0/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.95 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch1/bundle.js new file mode 100644 index 000000000..94f8c68e2 --- /dev/null +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch1/output.txt new file mode 100644 index 000000000..1b16d8347 --- /dev/null +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.1/patch1/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.95 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 212 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/bundle.js new file mode 100644 index 000000000..911e3ac4c --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (/workspaces/ts-loader/dist/index.js:146:19)/n at getLoaderOptions (/workspaces/ts-loader/dist/index.js:103:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/output.txt new file mode 100644 index 000000000..615479d64 --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.1/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names +bundle.js 4.63 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 911 bytes {main} [built] [failed] [1 error] + +ERROR in ./app.ts +Module build failed (from index.js): +Error: ts-loader was supplied with an unexpected loader option: notRealOption + +Please take a look at the options you are supplying; the following are valid options: +silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames + + at validateLoaderOptions (dist/index.js:146:19) + at getLoaderOptions (dist/index.js:103:5) + at Object.loader (dist/index.js:15:21) \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/bundle.js new file mode 100644 index 000000000..911e3ac4c --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from /workspaces/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (/workspaces/ts-loader/dist/index.js:146:19)/n at getLoaderOptions (/workspaces/ts-loader/dist/index.js:103:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/output.txt new file mode 100644 index 000000000..615479d64 --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.1/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names +bundle.js 4.63 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 911 bytes {main} [built] [failed] [1 error] + +ERROR in ./app.ts +Module build failed (from index.js): +Error: ts-loader was supplied with an unexpected loader option: notRealOption + +Please take a look at the options you are supplying; the following are valid options: +silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames + + at validateLoaderOptions (dist/index.js:146:19) + at getLoaderOptions (dist/index.js:103:5) + at Object.loader (dist/index.js:15:21) \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 64277017c..0edea0a02 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6248,9 +6248,9 @@ typedarray@^0.0.6: integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= typescript@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.3.tgz#153bbd468ef07725c1df9c77e8b453f8d36abba5" - integrity sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg== + version "4.1.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.2.tgz#6369ef22516fe5e10304aae5a5c4862db55380e9" + integrity sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ== uglify-js@3.3.x: version "3.3.9" From 566e6ceb1ed3b498743eceefab06850e35d64e0e Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 10 Dec 2020 22:01:48 -0800 Subject: [PATCH 14/26] Instead of checking date, check time thats more accurate to see if something has changed (#1217) * Instead of checking date, check time thats more accurate to see if something has changed * Update CHANGELOG.md * Update package.json Co-authored-by: John Reilly --- CHANGELOG.md | 5 ++++- package.json | 2 +- src/servicesHost.ts | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c7463fe1..69a8a2993 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,10 @@ # Changelog +## v8.0.12 +* [Instead of checking date, check time thats more accurate to see if something has changed](https://github.com/TypeStrong/ts-loader/pull/1217) - thanks @sheetalkamat + ## v8.0.11 -* [Fixed build failing in yarn v2 pnp](https://github.com/TypeStrong/ts-loader/pull/1209) - @aicest +* [Fixed build failing in yarn v2 pnp](https://github.com/TypeStrong/ts-loader/pull/1209) - thanks @aicest ## v8.0.10 * [Fixed missing errors in watch mode in webpack5](https://github.com/TypeStrong/ts-loader/issues/1204) - thanks @appzuka diff --git a/package.json b/package.json index e2ade2a01..48ff15977 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.11", + "version": "8.0.12", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/servicesHost.ts b/src/servicesHost.ts index a2bc008b9..170d03918 100644 --- a/src/servicesHost.ts +++ b/src/servicesHost.ts @@ -1040,7 +1040,7 @@ export function makeSolutionBuilderHost( const existing = inputFiles.get(key) || missingFileModifiedTime; const newTime = compiler.sys.getModifiedTime!(fileName) || missingFileModifiedTime; - if (existing === newTime) { + if (existing.getTime() === newTime.getTime()) { return; } const eventKind = From 8f2a509ebff40f78116e6e975f73fd8252fa506c Mon Sep 17 00:00:00 2001 From: Brent Erickson Date: Tue, 29 Dec 2020 14:21:54 -0800 Subject: [PATCH 15/26] Add documentation for the useCaseSensitiveFileNames option (#1227) Setting this option on projects with lots of files can reduce compilation time. Case-insensitivty requires normalization of file paths, which involves executing regex's. This shows up in the hot path of compilation profiling. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index e668de826..7744a6b1b 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ + [appendTsSuffixTo](#appendtssuffixto) + [appendTsxSuffixTo](#appendtsxsuffixto) + [onlyCompileBundledFiles](#onlycompilebundledfiles) + + [useCaseSensitiveFileNames](#useCaseSensitiveFileNames) + [allowTsInNodeModules](#allowtsinnodemodules) + [context](#context) + [experimentalFileCaching](#experimentalfilecaching) @@ -625,6 +626,15 @@ loading only those files that are actually bundled by webpack, as well as any `. by the `tsconfig.json` settings. `.d.ts` files are still included because they may be needed for compilation without being explicitly imported, and therefore not picked up by webpack. +#### useCaseSensitiveFileNames +| Type | Default Value | +|------|--------------| +| `boolean` | determined by typescript based on platform | + +The default behavior of `ts-loader` is to act as a drop-in replacement for the `tsc` command, +so it respects the `useCaseSensitiveFileNames` set internally by typescript. The `useCaseSensitiveFileNames` option modifies this behavior, +by changing the way in which ts-loader resolves file paths to compile. Setting this to true can have some performance benefits due to simplifying the file resolution codepath. + #### allowTsInNodeModules | Type | Default Value | |------|--------------| From 3cc78b8874848c4485250d084a7ffbe3b3fee4ff Mon Sep 17 00:00:00 2001 From: inokawa <48897392+inokawa@users.noreply.github.com> Date: Wed, 30 Dec 2020 17:55:26 +0900 Subject: [PATCH 16/26] Fix typo in README.md (#1229) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7744a6b1b..65d4f2051 100644 --- a/README.md +++ b/README.md @@ -318,7 +318,7 @@ module.exports = { |------|--------------| | `boolean` | `false`| -If you're using [HappyPack](https://github.com/amireh/happypack) or [thread-loader](https://github.com/webpack-contrib/thread-loader) to parallise your builds then you'll need to set this to `true`. This implicitly sets `*transpileOnly*` to `true` and **WARNING!** stops registering **_all_** errors to webpack. +If you're using [HappyPack](https://github.com/amireh/happypack) or [thread-loader](https://github.com/webpack-contrib/thread-loader) to parallelise your builds then you'll need to set this to `true`. This implicitly sets `*transpileOnly*` to `true` and **WARNING!** stops registering **_all_** errors to webpack. It's advisable to use this with the [fork-ts-checker-webpack-plugin](https://github.com/Realytics/fork-ts-checker-webpack-plugin) to get full type checking again. To see what this looks like in practice then either take a look at [our simple thread-loader example](examples/thread-loader). **_IMPORTANT_**: If you are using fork-ts-checker-webpack-plugin alongside HappyPack or thread-loader then ensure you set the `syntactic` diagnostic option like so: From 14fa3f82db00d199bb71eea851e0d104a3295394 Mon Sep 17 00:00:00 2001 From: Brent Erickson Date: Wed, 30 Dec 2020 11:54:26 -0800 Subject: [PATCH 17/26] Add documentation about performance profiling (#1230) Co-authored-by: John Reilly --- CONTRIBUTING.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0782d6ca1..d916e2b0c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -60,4 +60,31 @@ Just like the steps above, except substituting a local copy of ts-loader for the 3. In your own Webpack project directory, run `npm link ts-loader`. There’s now a chain of symlinks from `node_modules/ts-loader` to your cloned copy built from source. 4. Repeat the steps above in “Debugging ts-loader installed from npm...” except now, you can take advantage of source maps, so you can set breakpoints in `ts-loader/src` instead of `ts-loader/dist`. 5. If you want to try making changes to `ts-loader`, make changes and then repeat steps 1 and 4—no need to re-run the `npm link` steps. -6. Run `npm unlink ts-loader` in your own project directory to remove the symlink when you’re done. \ No newline at end of file +6. Run `npm unlink ts-loader` in your own project directory to remove the symlink when you’re done. + +### Profiling Performance + +To investigate slowdowns in build times, it's often helpful to profile webpack & ts-loader. + +1. Start webpack with a debugger attached (see debugging steps above) +2. Identify the reproducible user scenario that is experiencing slowdowns +3. In Chrome, open `chrome://inspect` and inspect the running webpack instance + Note: Utilizing Chromium instead of Chrome sometimes yeilds better results. If any of the following steps fail or cause a crash, try switching from Chrome to Chromium. +4. Switch to the Profiling Tab +5. Start Recording +6. Kick off the scenario that's known to be slow +7. Stop Recording once the scenario is complete + +At this point you should see a list of function calls. There are three distinct views that are useful & you can swap between them to get slightly different views of the problem. + +**Chart View** + +The chart view will provide a flame chart of all profiled function calls over time. This can be useful to visualize expensive functions and blocks of high CPU, but can be difficult to read when there are deep call stacks (or flames). + +**Heavy View** + +Heavy view shows the time that functions took to execute themselves (self time) & the functions they call (total time). When expanding individual calls, you will be able to see the functions that called this function & effectively walk up the recorded stack traces. + +**Tree View** + +Tree view shows the same information as heavy view, but visualizes calls in a top-town manner. This can be useful to track down a single call pattern that is expensive but is less useful when there are deep stack traces. From e160564008ce6cbedf0c974fb166c6c63522aae9 Mon Sep 17 00:00:00 2001 From: Brent Erickson Date: Wed, 30 Dec 2020 22:18:37 -0800 Subject: [PATCH 18/26] Add a cache to file path mapping (#1228) * Add a cache to file path mapping This greatly reduces the time needed to resolve FilePathKey objects on watch builds. * Address PR comments * Bump package.json and CHANGELOG.md Co-authored-by: John Reilly --- CHANGELOG.md | 2 ++ package.json | 2 +- src/instances.ts | 30 +++++++++++++++++++++--------- 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69a8a2993..092417ab3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ # Changelog +## v8.0.13 +* [Speed up builds by adding an in-memory cache to file path lookups](https://github.com/TypeStrong/ts-loader/pull/1228) - thanks @berickson1 ## v8.0.12 * [Instead of checking date, check time thats more accurate to see if something has changed](https://github.com/TypeStrong/ts-loader/pull/1217) - thanks @sheetalkamat diff --git a/package.json b/package.json index 48ff15977..88d44fbd5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.12", + "version": "8.0.13", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/instances.ts b/src/instances.ts index d8c29dc60..ce2800382 100644 --- a/src/instances.ts +++ b/src/instances.ts @@ -87,23 +87,35 @@ function createFilePathKeyMapper( compiler: typeof typescript, loaderOptions: LoaderOptions ) { + // Cache file path key - a map lookup is much faster than filesystem/regex operations & the result will never change + const filePathMapperCache = new Map(); // FileName lowercasing copied from typescript const fileNameLowerCaseRegExp = /[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g; return useCaseSensitiveFileNames(compiler, loaderOptions) ? pathResolve : toFileNameLowerCase; - function pathResolve(x: string) { - return path.resolve(x) as FilePathKey; + function pathResolve(filePath: string) { + let cachedPath = filePathMapperCache.get(filePath); + if (!cachedPath) { + cachedPath = path.resolve(filePath) as FilePathKey; + filePathMapperCache.set(filePath, cachedPath); + } + return cachedPath; } - function toFileNameLowerCase(x: string) { - const filePathKey = pathResolve(x); - return fileNameLowerCaseRegExp.test(filePathKey) - ? (filePathKey.replace(fileNameLowerCaseRegExp, ch => - ch.toLowerCase() - ) as FilePathKey) - : filePathKey; + function toFileNameLowerCase(filePath: string) { + let cachedPath = filePathMapperCache.get(filePath); + if (!cachedPath) { + const filePathKey = pathResolve(filePath); + cachedPath = fileNameLowerCaseRegExp.test(filePathKey) + ? (filePathKey.replace(fileNameLowerCaseRegExp, ch => + ch.toLowerCase() + ) as FilePathKey) + : filePathKey; + filePathMapperCache.set(filePath, cachedPath); + } + return cachedPath; } } From 268bc6932cc636df29b5b65c23d9033bea7c83a8 Mon Sep 17 00:00:00 2001 From: Avi Vahl Date: Tue, 5 Jan 2021 19:36:35 +0200 Subject: [PATCH 19/26] chore(deps): upgrade most production deps (#1237) * chore(deps): upgrade most production deps adjusted chalk import/initialization to new major * refactor: use namespace import * chore: bump patch version; update changelog * docs: add contributor name --- CHANGELOG.md | 3 +++ package.json | 10 ++++----- src/instances.ts | 8 ++++--- yarn.lock | 55 +++++++++++++++++++++++++++++++++++------------- 4 files changed, 53 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 092417ab3..48adf5178 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Changelog +## v8.0.14 +* [Upgrade `chalk`, `loader-utils`, and `semver` to latest stable versions](https://github.com/TypeStrong/ts-loader/pull/1237) - thanks Avi Vahl + ## v8.0.13 * [Speed up builds by adding an in-memory cache to file path lookups](https://github.com/TypeStrong/ts-loader/pull/1228) - thanks @berickson1 diff --git a/package.json b/package.json index 88d44fbd5..ad688d5c6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.13", + "version": "8.0.14", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", @@ -54,16 +54,16 @@ }, "homepage": "https://github.com/TypeStrong/ts-loader", "dependencies": { - "chalk": "^2.3.0", + "chalk": "^4.1.0", "enhanced-resolve": "^4.0.0", - "loader-utils": "^1.0.2", + "loader-utils": "^2.0.0", "micromatch": "^4.0.0", - "semver": "^6.0.0" + "semver": "^7.3.4" }, "devDependencies": { "@types/micromatch": "^3.1.0", "@types/node": "*", - "@types/semver": "^6.0.0", + "@types/semver": "^7.3.4", "@types/webpack": "^4.4.30", "@typescript-eslint/eslint-plugin": "^4.0.0", "@typescript-eslint/parser": "^4.0.0", diff --git a/src/instances.ts b/src/instances.ts index ce2800382..a670e4262 100644 --- a/src/instances.ts +++ b/src/instances.ts @@ -1,4 +1,4 @@ -import chalk, { Chalk } from 'chalk'; +import * as chalk from 'chalk'; import * as fs from 'fs'; import * as path from 'path'; import * as typescript from 'typescript'; @@ -58,7 +58,9 @@ export function getTypeScriptInstance( return { instance: existing }; } - const colors = new chalk.constructor({ enabled: loaderOptions.colors }); + const level = + loaderOptions.colors && chalk.supportsColor ? chalk.supportsColor.level : 0; + const colors = new chalk.Instance({ level }); const log = logger.makeLogger(loaderOptions, colors); const compiler = getCompiler(loaderOptions, log); @@ -123,7 +125,7 @@ function successfulTypeScriptInstance( loaderOptions: LoaderOptions, loader: webpack.loader.LoaderContext, log: logger.Logger, - colors: Chalk, + colors: chalk.Chalk, compiler: typeof typescript, compilerCompatible: boolean, compilerDetailsLogMessage: string diff --git a/yarn.lock b/yarn.lock index 0edea0a02..ea6e337a9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -111,10 +111,10 @@ resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA== -"@types/semver@^6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-6.0.0.tgz#86ba89f02a414e39c68d02b351872e4ed31bd773" - integrity sha512-OO0srjOGH99a4LUN2its3+r6CBYcplhJ466yLqs+zvAWgphCpS8hYZEZ797tRDP/QKcqTdb/YCN6ifASoAWkrQ== +"@types/semver@^7.3.4": + version "7.3.4" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.4.tgz#43d7168fec6fa0988bb1a513a697b29296721afb" + integrity sha512-+nVsLKlcUCeMzD2ufHEYuJ9a2ovstb6Dp52A5VsoKxDXgvE051XgHI/33I1EymwkRGQkwnA0LkhnUzituGs4EQ== "@types/source-list-map@*": version "0.1.2" @@ -1616,7 +1616,7 @@ chalk@^1.0.0, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.0, chalk@^2.3.0: +chalk@^2.0.0: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -1634,7 +1634,7 @@ chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.4.1: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.0.0: +chalk@^4.0.0, chalk@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== @@ -3819,6 +3819,13 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" +json5@^2.1.2: + version "2.1.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.3.tgz#c9b0f7fa9233bfe5807fe66fcf3a5617ed597d43" + integrity sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA== + dependencies: + minimist "^1.2.5" + jsonfile@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" @@ -4064,6 +4071,15 @@ loader-utils@^1.1.0, loader-utils@^1.2.3: emojis-list "^3.0.0" json5 "^1.0.1" +loader-utils@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.0.tgz#e4cace5b816d425a166b5f097e10cd12b36064b0" + integrity sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ== + dependencies: + big.js "^5.2.2" + emojis-list "^3.0.0" + json5 "^2.1.2" + locate-path@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" @@ -4176,6 +4192,13 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + make-dir@^1.0.0: version "1.3.0" resolved "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" @@ -5554,20 +5577,17 @@ semver@^5.7.0: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b" integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA== -semver@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.0.0.tgz#05e359ee571e5ad7ed641a6eec1e547ba52dea65" - integrity sha512-0UewU+9rFapKFnlbirLi3byoOuhrSsli/z/ihNnvM24vgF+8sNBiI1LZPBSH9wJKUwaUbw+s3hToDLCXkrghrQ== - semver@^6.1.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@^7.2.1, semver@^7.3.2: - version "7.3.2" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" - integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== +semver@^7.2.1, semver@^7.3.2, semver@^7.3.4: + version "7.3.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97" + integrity sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw== + dependencies: + lru-cache "^6.0.0" serialize-javascript@^3.1.0: version "3.1.0" @@ -6636,6 +6656,11 @@ yallist@^3.0.2: resolved "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + yargs-parser@13.0.0, yargs-parser@^13.0.0: version "13.0.0" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.0.0.tgz#3fc44f3e76a8bdb1cc3602e860108602e5ccde8b" From 6816735404350ece29b9bce40b2addb396dcba8b Mon Sep 17 00:00:00 2001 From: Nick Excell Date: Wed, 3 Feb 2021 15:12:57 +0000 Subject: [PATCH 20/26] Add afterDeclarations to getCustomTransformers in README.md (#1248) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 65d4f2051..7b313efcb 100644 --- a/README.md +++ b/README.md @@ -344,7 +344,7 @@ These options should be functions which will be used to resolve the import state #### getCustomTransformers | Type | |------| -| ` (program: Program) => { before?: TransformerFactory[]; after?: TransformerFactory[]; } ` | +| ` (program: Program) => { before?: TransformerFactory[]; after?: TransformerFactory[]; afterDeclarations?: TransformerFactory[]; } ` | Provide custom transformers - only compatible with TypeScript 2.3+ (and 2.4 if using `transpileOnly` mode). For example usage take a look at [typescript-plugin-styled-components](https://github.com/Igorbek/typescript-plugin-styled-components) or our [test](test/comparison-tests/customTransformer). From b8a70f91aa4a450603342e62b8c03bdd09c7a979 Mon Sep 17 00:00:00 2001 From: Nick Excell Date: Thu, 4 Feb 2021 19:47:54 +0000 Subject: [PATCH 21/26] Update definition files in watch mode in webpack@5 (#1249) * Add afterDeclarations to getCustomTransformers in README.md * Emit d.ts file in subsequent runs in watch mode * Update package.json and changelog.md --- CHANGELOG.md | 5 +++++ package.json | 2 +- src/instances.ts | 38 +++++++++++++++++++++++++------------- 3 files changed, 31 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48adf5178..af8bb0446 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ # Changelog + +## v8.0.15 +* [Update definition files in watch mode in webpack@5](https://github.com/TypeStrong/ts-loader/pull/1249) - thanks @appzuka,@JonWallsten,@alexander-akait +* [Add afterDeclarations to getCustomTransformers in README.md](https://github.com/TypeStrong/ts-loader/pull/1248) - thanks @appzuka + ## v8.0.14 * [Upgrade `chalk`, `loader-utils`, and `semver` to latest stable versions](https://github.com/TypeStrong/ts-loader/pull/1237) - thanks Avi Vahl diff --git a/package.json b/package.json index ad688d5c6..90b5ff1f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.14", + "version": "8.0.15", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/instances.ts b/src/instances.ts index a670e4262..ad5ddf0a9 100644 --- a/src/instances.ts +++ b/src/instances.ts @@ -336,21 +336,33 @@ const addAssetHooks = !!webpack.version!.match(/^4.*/) makeAfterCompile(instance, false, true, instance.configFilePath) ); - // Emit the assets at the afterProcessAssets stage - loader._compilation.hooks.afterProcessAssets.tap( - 'ts-loader', - (_: any) => { - makeAfterCompile( - instance, - true, - false, - instance.configFilePath - )(loader._compilation, () => { - return null; - }); - } + // makeAfterCompile is a closure. It returns a function which closes over the variable checkAllFilesForErrors + // We need to get the function once and then reuse it, otherwise it will be recreated each time + // and all files will always be checked. + const cachedMakeAfterCompile = makeAfterCompile( + instance, + true, + false, + instance.configFilePath ); + // compilation is actually of type webpack.compilation.Compilation, but afterProcessAssets + // only exists in webpack5 and at the time of writing ts-loader is built using webpack4 + const makeAssetsCallback = (compilation: any) => { + compilation.hooks.afterProcessAssets.tap('ts-loader', () => + cachedMakeAfterCompile(compilation, () => { + return null; + }) + ); + }; + + // We need to add the hook above for each run. + // For the first run, we just need to add the hook to loader._compilation + makeAssetsCallback(loader._compilation); + + // For future calls in watch mode we need to watch for a new compilation and add the hook + loader._compiler.hooks.compilation.tap('ts-loader', makeAssetsCallback); + // It may be better to add assets at the processAssets stage (https://webpack.js.org/api/compilation-hooks/#processassets) // This requires Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL, which does not exist in webpack4 // Consider changing this when ts-loader is built using webpack5 From 91206c404b9b365c1b17df6fca094ab9f36a09ac Mon Sep 17 00:00:00 2001 From: Nick Excell Date: Mon, 8 Feb 2021 16:20:06 +0000 Subject: [PATCH 22/26] Re-fix Webpack 5 watch not failing on error (#1254) * Add afterDeclarations to getCustomTransformers in README.md * Emit d.ts file in subsequent runs in watch mode * Update package.json and changelog.md * Re-fixed missing errors in watch mode * Correct merge error --- CHANGELOG.md | 3 +++ package.json | 2 +- src/after-compile.ts | 54 ++++++++++++++++++-------------------------- src/instances.ts | 11 +-------- 4 files changed, 27 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af8bb0446..fe811fa87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v8.0.16 +* [Re-Fixed missing errors in watch mode in webpack5](https://github.com/TypeStrong/ts-loader/issues/1204) - thanks @appzuka + ## v8.0.15 * [Update definition files in watch mode in webpack@5](https://github.com/TypeStrong/ts-loader/pull/1249) - thanks @appzuka,@JonWallsten,@alexander-akait * [Add afterDeclarations to getCustomTransformers in README.md](https://github.com/TypeStrong/ts-loader/pull/1248) - thanks @appzuka diff --git a/package.json b/package.json index 90b5ff1f3..2b31163b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.15", + "version": "8.0.16", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/after-compile.ts b/src/after-compile.ts index 7cc284a08..03fa8543a 100644 --- a/src/after-compile.ts +++ b/src/after-compile.ts @@ -29,8 +29,6 @@ import { */ export function makeAfterCompile( instance: TSInstance, - addAssets: boolean, - provideErrors: boolean, configFilePath: string | undefined ) { let getCompilerOptionDiagnostics = true; @@ -47,22 +45,18 @@ export function makeAfterCompile( } if (instance.loaderOptions.transpileOnly) { - if (addAssets) { - provideAssetsFromSolutionBuilderHost(instance, compilation); - } + provideAssetsFromSolutionBuilderHost(instance, compilation); callback(); return; } removeCompilationTSLoaderErrors(compilation, instance.loaderOptions); - if (provideErrors) { - provideCompilerOptionDiagnosticErrorsToWebpack( - getCompilerOptionDiagnostics, - compilation, - instance, - configFilePath - ); - } + provideCompilerOptionDiagnosticErrorsToWebpack( + getCompilerOptionDiagnostics, + compilation, + instance, + configFilePath + ); getCompilerOptionDiagnostics = false; const modules = determineModules(compilation, instance); @@ -74,25 +68,21 @@ export function makeAfterCompile( checkAllFilesForErrors = false; const filesWithErrors: TSFiles = new Map(); - if (provideErrors) { - provideErrorsToWebpack( - filesToCheckForErrors, - filesWithErrors, - compilation, - modules, - instance - ); - provideSolutionErrorsToWebpack(compilation, modules, instance); - } - if (addAssets) { - provideDeclarationFilesToWebpack( - filesToCheckForErrors, - instance, - compilation - ); - provideTsBuildInfoFilesToWebpack(instance, compilation); - provideAssetsFromSolutionBuilderHost(instance, compilation); - } + provideErrorsToWebpack( + filesToCheckForErrors, + filesWithErrors, + compilation, + modules, + instance + ); + provideSolutionErrorsToWebpack(compilation, modules, instance); + provideDeclarationFilesToWebpack( + filesToCheckForErrors, + instance, + compilation + ); + provideTsBuildInfoFilesToWebpack(instance, compilation); + provideAssetsFromSolutionBuilderHost(instance, compilation); instance.filesWithErrors = filesWithErrors; instance.modifiedFiles = undefined; diff --git a/src/instances.ts b/src/instances.ts index ad5ddf0a9..3d7c299c5 100644 --- a/src/instances.ts +++ b/src/instances.ts @@ -323,26 +323,17 @@ const addAssetHooks = !!webpack.version!.match(/^4.*/) // add makeAfterCompile with addAssets = true to emit assets and report errors loader._compiler.hooks.afterCompile.tapAsync( 'ts-loader', - makeAfterCompile(instance, true, true, instance.configFilePath) + makeAfterCompile(instance, instance.configFilePath) ); } : (loader: webpack.loader.LoaderContext, instance: TSInstance) => { // We must be running under webpack 5+ - // Add makeAfterCompile with addAssets = false to suppress emitting assets - // during the afterCompile stage. Errors will be still be reported to webpack - loader._compiler.hooks.afterCompile.tapAsync( - 'ts-loader', - makeAfterCompile(instance, false, true, instance.configFilePath) - ); - // makeAfterCompile is a closure. It returns a function which closes over the variable checkAllFilesForErrors // We need to get the function once and then reuse it, otherwise it will be recreated each time // and all files will always be checked. const cachedMakeAfterCompile = makeAfterCompile( instance, - true, - false, instance.configFilePath ); From e9c2677a07f36a7449ca2e09fa8a684940f46566 Mon Sep 17 00:00:00 2001 From: Lorenzo Dalla Vecchia Date: Wed, 10 Feb 2021 17:34:44 +0100 Subject: [PATCH 23/26] Include standard webpack start/end locations in emitted errors (#1255) --- CHANGELOG.md | 3 + package.json | 2 +- src/interfaces.ts | 15 ++++- src/utils.ts | 64 +++++++++++++++---- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../colors/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 4 +- .../expectedOutput-4.1/output.txt | 4 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../errors/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-transpile-4.1/output.txt | 2 +- .../es3/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch1/output.txt | 2 +- .../nolib/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../production/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch3/output.txt | 2 +- .../expectedOutput-4.1/patch5/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/patch2/output.txt | 4 +- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../expectedOutput-4.1/patch2/output.txt | 4 +- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../expectedOutput-4.1/patch2/output.txt | 4 +- .../expectedOutput-4.1/patch4/output.txt | 2 +- .../reportFiles/expectedOutput-4.1/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- .../expectedOutput-4.1/patch0/output.txt | 2 +- 49 files changed, 121 insertions(+), 63 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe811fa87..96b67abfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v8.0.17 +* [Included correct webpack source location in emitted errors](https://github.com/TypeStrong/ts-loader/issues/1199) - thanks @lorenzodallavecchia + ## v8.0.16 * [Re-Fixed missing errors in watch mode in webpack5](https://github.com/TypeStrong/ts-loader/issues/1204) - thanks @appzuka diff --git a/package.json b/package.json index 2b31163b2..c13d40f41 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.16", + "version": "8.0.17", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/interfaces.ts b/src/interfaces.ts index 53c48423f..fb7643e44 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -13,12 +13,25 @@ export interface ErrorInfo { context: string; } -export type FileLocation = { line: number; character: number }; +export type FileLocation = { + /** 1-based */ + line: number; + /** 1-based */ + character: number; +}; +export type WebpackSourcePosition = { + /** 1-based */ + line: number; + /** 0-based */ + column?: number; +}; export interface WebpackError { module?: any; file?: string; message: string; + loc?: { start: WebpackSourcePosition; end?: WebpackSourcePosition }; + /* ts-loader extra properties */ location?: FileLocation; loaderSource: string; } diff --git a/src/utils.ts b/src/utils.ts index c1da3e0a2..4974619c0 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -7,6 +7,7 @@ import * as typescript from 'typescript'; import constants = require('./constants'); import { ErrorInfo, + FileLocation, FilePathKey, LoaderOptions, ResolvedModule, @@ -15,6 +16,7 @@ import { TSInstance, WebpackError, WebpackModule, + WebpackSourcePosition, } from './interfaces'; import { getInputFileNameFromOutput } from './instances'; /** @@ -75,10 +77,10 @@ export function formatErrors( }) .map(diagnostic => { const file = diagnostic.file; - const position = - file === undefined - ? undefined - : file.getLineAndCharacterOfPosition(diagnostic.start!); + const { start, end } = + file === undefined || diagnostic.start === undefined + ? { start: undefined, end: undefined } + : getFileLocations(file, diagnostic.start, diagnostic.length); const errorInfo: ErrorInfo = { code: diagnostic.code, severity: compiler.DiagnosticCategory[ @@ -89,8 +91,8 @@ export function formatErrors( constants.EOL ), file: file === undefined ? '' : path.normalize(file.fileName), - line: position === undefined ? 0 : position.line + 1, - character: position === undefined ? 0 : position.character + 1, + line: start === undefined ? 0 : start.line, + character: start === undefined ? 0 : start.character, context, }; @@ -103,15 +105,35 @@ export function formatErrors( loaderOptions, message, merge.file === undefined ? errorInfo.file : merge.file, - position === undefined - ? undefined - : { line: errorInfo.line, character: errorInfo.character } + start, + end ); return Object.assign(error, merge) as WebpackError; }); } +function getFileLocations( + file: typescript.SourceFile, + position: number, + length = 0 +) { + const startLC = file.getLineAndCharacterOfPosition(position); + const start: FileLocation = { + line: startLC.line + 1, + character: startLC.character + 1, + }; + const endLC = + length > 0 + ? file.getLineAndCharacterOfPosition(position + length) + : undefined; + const end: FileLocation | undefined = + endLC === undefined + ? undefined + : { line: endLC.line + 1, character: endLC.character + 1 }; + return { start, end }; +} + export function fsReadFile( fileName: string, encoding: string | undefined = 'utf8' @@ -128,16 +150,36 @@ export function makeError( loaderOptions: LoaderOptions, message: string, file: string | undefined, - location?: { line: number; character: number } + location?: FileLocation, + endLocation?: FileLocation ): WebpackError { return { message, - location, file, + loc: + location === undefined + ? undefined + : makeWebpackLocation(location, endLocation), + location, loaderSource: tsLoaderSource(loaderOptions), }; } +function makeWebpackLocation( + location: FileLocation, + endLocation?: FileLocation +) { + const start: WebpackSourcePosition = { + line: location.line, + column: location.character - 1, + }; + const end: WebpackSourcePosition | undefined = + endLocation === undefined + ? undefined + : { line: endLocation.line, column: endLocation.character - 1 }; + return { start, end }; +} + export function tsLoaderSource(loaderOptions: LoaderOptions) { return `ts-loader-${loaderOptions.instance}`; } diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt index c0da8c1a3..718fff194 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.1/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./common/components/myComponent.ts] 46 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 2:30-55 [tsl] ERROR in app.ts(2,31)  TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt index bf0ca3fd3..7c081f883 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.1/patch0/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./common/components/myComponent.ts] 45 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 2:30-55 [tsl] ERROR in app.ts(2,31)  TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. \ No newline at end of file diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt index c978f9feb..c65bff5ac 100644 --- a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.1/output.txt @@ -6,6 +6,6 @@ Entrypoint main = bundle.js [./src/index.js] 207 bytes {main} [built] ERROR in src/error2.js -./src/error2.js +./src/error2.js 4:9-12 [tsl] ERROR in src/error2.js(4,10)  TS2339: Property 'bar' does not exist on type 'Class2'. \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt index 9fac8da0d..a8db6db09 100644 --- a/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/basic/expectedOutput-4.1/patch0/output.txt @@ -6,6 +6,6 @@ Entrypoint main = bundle.js [./submodule/submodule.ts] 149 bytes {main} ERROR in app.ts -./app.ts +./app.ts 3:12-24 [tsl] ERROR in app.ts(3,13)  TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-4.1/output.txt b/test/comparison-tests/colors/expectedOutput-4.1/output.txt index 117027d85..613a362fe 100644 --- a/test/comparison-tests/colors/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/colors/expectedOutput-4.1/output.txt @@ -13,6 +13,6 @@ You may need an additional loader to handle the result of these loaders. | ERROR in app.ts -./app.ts +./app.ts 1:6-8 [tsl] ERROR in app.ts(1,7) TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt index 117027d85..613a362fe 100644 --- a/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/colors/expectedOutput-transpile-4.1/output.txt @@ -13,6 +13,6 @@ You may need an additional loader to handle the result of these loaders. | ERROR in app.ts -./app.ts +./app.ts 1:6-8 [tsl] ERROR in app.ts(1,7) TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt index 31af3d0b6..b8e99c377 100644 --- a/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/declarationDeps/expectedOutput-4.1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 41 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 2:6-11 [tsl] ERROR in app.ts(2,7)  TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt index f818ddc7c..b6e14df72 100644 --- a/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/declarationWatch/expectedOutput-4.1/patch0/output.txt @@ -5,11 +5,11 @@ Entrypoint main = bundle.js [./dep.ts] 59 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 5:6-17 [tsl] ERROR in app.ts(5,7)  TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. ERROR in dep.ts -./dep.ts +./dep.ts 1:6-17 [tsl] ERROR in dep.ts(1,7)  TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt index 9bf366413..ca6be6cde 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/output.txt @@ -6,11 +6,11 @@ Entrypoint main = bundle.js [./dep2.ts] 76 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 4:5-7 [tsl] ERROR in app.ts(4,6)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. ERROR in app.ts -./app.ts +./app.ts 5:5-7 [tsl] ERROR in app.ts(5,6)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt index f4ea07b34..82b969098 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.1/patch0/output.txt @@ -6,6 +6,6 @@ Entrypoint main = bundle.js [./dep2.ts] 76 bytes {main} ERROR in app.ts -./app.ts +./app.ts 5:5-7 [tsl] ERROR in app.ts(5,6)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt index ce9b05006..d023ac4c6 100644 --- a/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/errorFormatter/expectedOutput-4.1/output.txt @@ -5,5 +5,5 @@ Entrypoint main = bundle.js [./common/components/myComponent.ts] 46 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 2:30-55 Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2' or its corresponding type declarations.,file: app.ts,line: 2,character: 31,context: .test/errorFormatter \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-4.1/output.txt b/test/comparison-tests/errors/expectedOutput-4.1/output.txt index c48ec99d2..07aed0162 100644 --- a/test/comparison-tests/errors/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/errors/expectedOutput-4.1/output.txt @@ -13,6 +13,6 @@ You may need an additional loader to handle the result of these loaders. | ERROR in app.ts -./app.ts +./app.ts 1:6-8 [tsl] ERROR in app.ts(1,7)  TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt b/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt index ffab7fca9..96bc80dea 100644 --- a/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt +++ b/test/comparison-tests/errors/expectedOutput-transpile-4.1/output.txt @@ -4,7 +4,7 @@ Entrypoint main = bundle.js [./app.ts] 220 bytes {main} [built] [failed] [2 errors] ERROR in app.ts -./app.ts +./app.ts 1:6-8 [tsl] ERROR in app.ts(1,7)  TS1005: ',' expected. diff --git a/test/comparison-tests/es3/expectedOutput-4.1/output.txt b/test/comparison-tests/es3/expectedOutput-4.1/output.txt index 12a3418dd..fe96190e5 100644 --- a/test/comparison-tests/es3/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/es3/expectedOutput-4.1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 29 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 1:6-7 [tsl] ERROR in app.ts(1,7)  TS1056: Accessors are only available when targeting ECMAScript 5 and higher. \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt index bcc531083..b42812bf2 100644 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 278 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 9:4-5 [tsl] ERROR in app.ts(9,5)  TS2322: Type 'string' is not assignable to type 'Number'. \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt index 5773b734b..3e3ae7492 100644 --- a/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt +++ b/test/comparison-tests/importsWatch/expectedOutput-4.1/patch1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 70 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 4:0-7 [tsl] ERROR in app.ts(4,1)  TS2322: Type 'string' is not assignable to type 'boolean'. \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-4.1/output.txt b/test/comparison-tests/nolib/expectedOutput-4.1/output.txt index 8c8e530d0..3dd528d24 100644 --- a/test/comparison-tests/nolib/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/nolib/expectedOutput-4.1/output.txt @@ -32,6 +32,6 @@ ERROR in tsconfig.json  TS2318: Cannot find global type 'RegExp'. ERROR in app.ts -./app.ts +./app.ts 1:0-8 [tsl] ERROR in app.ts(1,1)  TS2304: Cannot find name 'parseInt'. \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt index 9fac8da0d..a8db6db09 100644 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.1/patch0/output.txt @@ -6,6 +6,6 @@ Entrypoint main = bundle.js [./submodule/submodule.ts] 149 bytes {main} ERROR in app.ts -./app.ts +./app.ts 3:12-24 [tsl] ERROR in app.ts(3,13)  TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-4.1/output.txt b/test/comparison-tests/production/expectedOutput-4.1/output.txt index 63923ad42..22ce36262 100644 --- a/test/comparison-tests/production/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/production/expectedOutput-4.1/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [0] ./app.ts 27 bytes {0} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 4:0-1 [tsl] ERROR in app.ts(4,1)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt index cbffd9cda..476620833 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch3/output.txt @@ -8,6 +8,6 @@ Entrypoint main = bundle.js [./app.ts] 202 bytes {main} [built] ERROR in common/index.ts -../common/index.ts +../common/index.ts 2:2-12 [tsl] ERROR in common/index.ts(2,3)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt index 47669f95b..e43aa5737 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.1/patch5/output.txt @@ -8,6 +8,6 @@ Entrypoint main = bundle.js [./app.ts] 202 bytes {main} [built] ERROR in utils/index.ts -../utils/index.ts +../utils/index.ts 5:35-50 [tsl] ERROR in utils/index.ts(5,36)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt index 67bf67e8a..a599e9eaa 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.1/output.txt @@ -9,6 +9,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:45-49 [tsl] ERROR in app.ts(3,46)  TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt index 7d6aa5942..45a0fb029 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -11,6 +11,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:45-49 [tsl] ERROR in app.ts(3,46)  TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt index 67bf67e8a..a599e9eaa 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.1/output.txt @@ -9,6 +9,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 119 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:45-49 [tsl] ERROR in app.ts(3,46)  TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt index c74544a53..a3e0228f2 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.1/output.txt @@ -14,6 +14,6 @@ Error: TypeScript emitted no output for lib/index.ts. The most common cause for @ ./app.ts 3:12-28 ERROR in lib/index.ts -./lib/index.ts +./lib/index.ts 6:6-7 [tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt index 5eb8fe6c7..d38f63610 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -16,6 +16,6 @@ Error: TypeScript emitted no output for lib/index.ts. The most common cause for @ ./app.ts 3:12-28 ERROR in lib/index.ts -./lib/index.ts +./lib/index.ts 6:6-7 [tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt index 1d22977b8..3537c6c2d 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.1/output.txt @@ -14,6 +14,6 @@ Error: TypeScript emitted no output for lib/index.ts. The most common cause for @ ./app.ts 3:12-28 ERROR in lib/index.ts -./lib/index.ts +./lib/index.ts 6:6-7 [tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt index f190e2fea..c0a20cfc7 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.1/output.txt @@ -13,6 +13,6 @@ Error: TypeScript emitted no output for lib/index.ts. The most common cause for @ ./app.ts 3:12-28 ERROR in lib/index.ts -./lib/index.ts +./lib/index.ts 4:11-12 [tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt index 98fa4b8a7..d457d4f0d 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.1/output.txt @@ -15,6 +15,6 @@ Error: TypeScript emitted no output for lib/index.ts. The most common cause for @ ./app.ts 3:12-28 ERROR in lib/index.ts -./lib/index.ts +./lib/index.ts 4:11-12 [tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt index aaf4f848a..56edf71ed 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.1/output.txt @@ -13,6 +13,6 @@ Error: TypeScript emitted no output for lib/index.ts. The most common cause for @ ./app.ts 3:12-28 ERROR in lib/index.ts -./lib/index.ts +./lib/index.ts 4:11-12 [tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt index 2d914655a..6797170be 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.1/patch4/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./lib/out/index.js] 178 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt index 2d914655a..6797170be 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.1/patch4/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./lib/out/index.js] 178 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt index aa1e397cc..86ba1eac3 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.1/patch0/output.txt @@ -9,6 +9,6 @@ Entrypoint main = index.js [./src/index.ts] 108 bytes {main} [built] [1 error] ERROR in app/src/index.ts -./src/index.ts +./src/index.ts 1:9-25 [tsl] ERROR in app/src/index.ts(1,10)  TS2724: '"../../lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt index ce861ab73..c538b1de1 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.1/patch0/output.txt @@ -9,6 +9,6 @@ Entrypoint main = index.js [./src/index.ts] 108 bytes {main} [built] [1 error] ERROR in app/src/index.ts -./src/index.ts +./src/index.ts 1:9-25 [tsl] ERROR in app/src/index.ts(1,10)  TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt index ce861ab73..c538b1de1 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -9,6 +9,6 @@ Entrypoint main = index.js [./src/index.ts] 108 bytes {main} [built] [1 error] ERROR in app/src/index.ts -./src/index.ts +./src/index.ts 1:9-25 [tsl] ERROR in app/src/index.ts(1,10)  TS2724: '"../../node_modules/lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt index aa1e397cc..86ba1eac3 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.1/patch0/output.txt @@ -9,6 +9,6 @@ Entrypoint main = index.js [./src/index.ts] 108 bytes {main} [built] [1 error] ERROR in app/src/index.ts -./src/index.ts +./src/index.ts 1:9-25 [tsl] ERROR in app/src/index.ts(1,10)  TS2724: '"../../lib/dist"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt index cdf7bfbc0..469ab45a1 100644 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch2/output.txt @@ -5,11 +5,11 @@ Entrypoint main = bundle.js [./lib/index.ts] 150 bytes {main} [built] [2 errors] ERROR in lib/index.ts -./lib/index.ts +./lib/index.ts 6:2-3 [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. ERROR in lib/index.ts -./lib/index.ts +./lib/index.ts 7:0-1 [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt index e5095f9ca..47da79ac4 100644 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.1/patch4/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 145 bytes {main} ERROR in app.ts -./app.ts +./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt index 6eff0cd61..ba040527a 100644 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch2/output.txt @@ -6,11 +6,11 @@ Entrypoint main = bundle.js [./lib/index.ts] 150 bytes {main} [built] [2 errors] ERROR in lib/index.ts -./lib/index.ts +./lib/index.ts 6:2-3 [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. ERROR in lib/index.ts -./lib/index.ts +./lib/index.ts 7:0-1 [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt index 5367b0c7d..785c12da5 100644 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.1/patch4/output.txt @@ -7,6 +7,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 145 bytes {main} ERROR in app.ts -./app.ts +./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt index cdf7bfbc0..469ab45a1 100644 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch2/output.txt @@ -5,11 +5,11 @@ Entrypoint main = bundle.js [./lib/index.ts] 150 bytes {main} [built] [2 errors] ERROR in lib/index.ts -./lib/index.ts +./lib/index.ts 6:2-3 [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. ERROR in lib/index.ts -./lib/index.ts +./lib/index.ts 7:0-1 [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt index e5095f9ca..47da79ac4 100644 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.1/patch4/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./lib/index.ts] 145 bytes {main} ERROR in app.ts -./app.ts +./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt b/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt index 5211bb195..3214b5189 100644 --- a/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt +++ b/test/comparison-tests/reportFiles/expectedOutput-4.1/output.txt @@ -5,6 +5,6 @@ Entrypoint main = bundle.js [./skip.ts] 79 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:0-1 [tsl] ERROR in app.ts(3,1)  TS2322: Type 'string' is not assignable to type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt index 0f981418b..584de80f1 100644 --- a/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/simpleDependency/expectedOutput-4.1/patch0/output.txt @@ -6,6 +6,6 @@ Entrypoint main = bundle.js [./dep.ts] 70 bytes {main} [built] ERROR in app.ts -./app.ts +./app.ts 3:4-6 [tsl] ERROR in app.ts(3,5)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt index 3de8aa6e6..f2675eeee 100644 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.1/patch0/output.txt @@ -4,6 +4,6 @@ Entrypoint main = bundle.js [./app.ts] 212 bytes {main} [built] [1 error] ERROR in app.ts -./app.ts +./app.ts 11:4-5 [tsl] ERROR in app.ts(11,5)  TS2741: Property 'b' is missing in type 'AType' but required in type 'BType'. \ No newline at end of file From 591bd109cd1a7e02cd3bf9e2988edf9a6217deae Mon Sep 17 00:00:00 2001 From: Eric Dai <31838316+e56@users.noreply.github.com> Date: Wed, 10 Feb 2021 13:54:52 -0500 Subject: [PATCH 24/26] update docs for latest webpack 5 syntax (#1244) Co-authored-by: John Reilly --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 7b313efcb..cf83d6caf 100644 --- a/README.md +++ b/README.md @@ -729,12 +729,22 @@ In order to make use of this option your project needs to be correctly configure Because TS will generate .js and .d.ts files, you should ignore these files, otherwise watchers may go into an infinite watch loop. For example, when using webpack, you may wish to add this to your webpack.conf.js file: ```javascript +// for webpack 4 plugins: [ new webpack.WatchIgnorePlugin([ /\.js$/, /\.d\.ts$/ ]) ], + +// for webpack 5 +plugins: [ + new webpack.WatchIgnorePlugin( + paths:{[ + /\.js$/, + /\.d\.ts$/ + ]}) +], ``` It's worth noting that use of the `LoaderOptionsPlugin` is [only supposed to be a stopgap measure](https://webpack.js.org/plugins/loader-options-plugin/). You may want to look at removing it entirely. From 953358eb1b090dd9add0824c4746220b0ebe56c1 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Thu, 18 Feb 2021 21:30:09 +0000 Subject: [PATCH 25/26] Stop testing TypeScript 3.6 and 3.7 --- .github/workflows/push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3dceefbac..519904eb7 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -6,7 +6,7 @@ jobs: comparison_test: name: Ubuntu Comparison Tests runs-on: ubuntu-latest - timeout-minutes: 15 + timeout-minutes: 25 steps: - uses: actions/checkout@v2 @@ -57,7 +57,7 @@ jobs: matrix: os: [ubuntu, windows] node: [10, 12, 14] - ts: [3.6.5, 3.7.5, 3.8.3, 3.9.3, 4.0.3, 4.1.2, next] + ts: [3.8.3, 3.9.3, 4.0.3, 4.1.2, next] runs-on: ${{ matrix.os }}-latest steps: - uses: actions/checkout@v2 From c2c1aef70bb2adb8f2b97ed31e8317ac062772b0 Mon Sep 17 00:00:00 2001 From: Brent Erickson Date: Thu, 11 Mar 2021 00:59:12 -0800 Subject: [PATCH 26/26] Optimize fileExists callback path (#1266) * Optimize fileExists callback path Instead of looking up filePathKey twice, cache in in the local scope. This isn't a hugely expensive lookup path, but is a hot path on large project recompiles (especially after caches are blown away). Profiling shows that even the Map lookup shows non-trivial cache lookup aggregate time * Update Changelog & package.json --- CHANGELOG.md | 3 +++ package.json | 2 +- src/servicesHost.ts | 12 ++++++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96b67abfa..96a3e42a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v8.0.18 +* [Perf: Optimize fileExists callback path](https://github.com/TypeStrong/ts-loader/issues/1266) - thanks @berickson1 + ## v8.0.17 * [Included correct webpack source location in emitted errors](https://github.com/TypeStrong/ts-loader/issues/1199) - thanks @lorenzodallavecchia diff --git a/package.json b/package.json index c13d40f41..b9760fb33 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "8.0.17", + "version": "8.0.18", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/servicesHost.ts b/src/servicesHost.ts index 170d03918..2447ba419 100644 --- a/src/servicesHost.ts +++ b/src/servicesHost.ts @@ -683,10 +683,14 @@ export function makeSolutionBuilderHost( scriptRegex, loader, instance, - fileName => - !!instance.files.has(filePathKeyMapper(fileName)) || - !!instance.otherFiles.get(filePathKeyMapper(fileName)) || - compiler.sys.fileExists(fileName), + fileName => { + const filePathKey = filePathKeyMapper(fileName); + return ( + instance.files.has(filePathKey) || + instance.otherFiles.has(filePathKey) || + compiler.sys.fileExists(fileName) + ); + }, /*enableFileCaching*/ true );